copy: Referrals -> Refer a friend

This commit is contained in:
Sinclair Chen 2022-10-09 16:09:21 -07:00
parent 4b8d381da5
commit 60f2552139
2 changed files with 7 additions and 6 deletions

View File

@ -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<MenuItem>(
{ 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' },

View File

@ -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 (
<Page>
<SEO
title="Referrals"
description={`Manifold's referral program. Invite new users to Manifold and get M${REFERRAL_AMOUNT} if they
title="Refer a friend"
description={`Invite new users to Manifold and get ${formatMoney(REFERRAL_AMOUNT)} if they
sign up!`}
url="/referrals"
/>
<Col className="items-center">
<Col className="h-full rounded bg-white p-4 py-8 sm:p-8 sm:shadow-md">
<Title className="!mt-0" text="Referrals" />
<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>