From 60f2552139e7d9ac8268130bd34a9cad1a475e9c Mon Sep 17 00:00:00 2001 From: Sinclair Chen Date: Sun, 9 Oct 2022 16:09:21 -0700 Subject: [PATCH] copy: Referrals -> Refer a friend --- web/components/nav/sidebar.tsx | 4 ++-- web/pages/referrals.tsx | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/web/components/nav/sidebar.tsx b/web/components/nav/sidebar.tsx index 23b1115c..c8c4cd80 100644 --- a/web/components/nav/sidebar.tsx +++ b/web/components/nav/sidebar.tsx @@ -156,7 +156,7 @@ function getMoreDesktopNavigation(user?: User | null) { return buildArray( { name: 'Leaderboards', href: '/leaderboards' }, { name: 'Groups', href: '/groups' }, - { name: 'Referrals', href: '/referrals' }, + { name: 'Refer a friend', href: '/referrals' }, { name: 'Charity', href: '/charity' }, { name: 'Labs', href: '/labs' }, { name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' }, @@ -215,7 +215,7 @@ function getMoreMobileNav() { return buildArray( { name: 'Groups', href: '/groups' }, - { name: 'Referrals', href: '/referrals' }, + { name: 'Refer a friend', href: '/referrals' }, { name: 'Charity', href: '/charity' }, { name: 'Labs', href: '/labs' }, { name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' }, diff --git a/web/pages/referrals.tsx b/web/pages/referrals.tsx index 2e330980..15f75ff4 100644 --- a/web/pages/referrals.tsx +++ b/web/pages/referrals.tsx @@ -10,6 +10,7 @@ import { ENV_CONFIG } from 'common/envs/constants' import { InfoBox } from 'web/components/info-box' import { QRCode } from 'web/components/qr-code' import { REFERRAL_AMOUNT } from 'common/economy' +import { formatMoney } from 'common/util/format' export const getServerSideProps = redirectIfLoggedOut('/') @@ -23,15 +24,15 @@ export default function ReferralsPage() { return ( - + <Title className="!mt-0" text="Refer a friend" /> <img className="mb-6 block -scale-x-100 self-center" src="/logo-flapping-with-money.gif" @@ -40,7 +41,7 @@ export default function ReferralsPage() { /> <div className={'mb-4'}> - Invite new users to Manifold and get M${REFERRAL_AMOUNT} if they + Invite new users to Manifold and get {formatMoney(REFERRAL_AMOUNT)} if they sign up! </div>