copy: Referrals -> Refer a friend
This commit is contained in:
parent
4b8d381da5
commit
60f2552139
|
@ -156,7 +156,7 @@ function getMoreDesktopNavigation(user?: User | null) {
|
||||||
return buildArray(
|
return buildArray(
|
||||||
{ name: 'Leaderboards', href: '/leaderboards' },
|
{ name: 'Leaderboards', href: '/leaderboards' },
|
||||||
{ name: 'Groups', href: '/groups' },
|
{ name: 'Groups', href: '/groups' },
|
||||||
{ name: 'Referrals', href: '/referrals' },
|
{ name: 'Refer a friend', href: '/referrals' },
|
||||||
{ name: 'Charity', href: '/charity' },
|
{ name: 'Charity', href: '/charity' },
|
||||||
{ name: 'Labs', href: '/labs' },
|
{ name: 'Labs', href: '/labs' },
|
||||||
{ name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' },
|
{ name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' },
|
||||||
|
@ -215,7 +215,7 @@ function getMoreMobileNav() {
|
||||||
|
|
||||||
return buildArray<MenuItem>(
|
return buildArray<MenuItem>(
|
||||||
{ name: 'Groups', href: '/groups' },
|
{ name: 'Groups', href: '/groups' },
|
||||||
{ name: 'Referrals', href: '/referrals' },
|
{ name: 'Refer a friend', href: '/referrals' },
|
||||||
{ name: 'Charity', href: '/charity' },
|
{ name: 'Charity', href: '/charity' },
|
||||||
{ name: 'Labs', href: '/labs' },
|
{ name: 'Labs', href: '/labs' },
|
||||||
{ name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' },
|
{ name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' },
|
||||||
|
|
|
@ -10,6 +10,7 @@ import { ENV_CONFIG } from 'common/envs/constants'
|
||||||
import { InfoBox } from 'web/components/info-box'
|
import { InfoBox } from 'web/components/info-box'
|
||||||
import { QRCode } from 'web/components/qr-code'
|
import { QRCode } from 'web/components/qr-code'
|
||||||
import { REFERRAL_AMOUNT } from 'common/economy'
|
import { REFERRAL_AMOUNT } from 'common/economy'
|
||||||
|
import { formatMoney } from 'common/util/format'
|
||||||
|
|
||||||
export const getServerSideProps = redirectIfLoggedOut('/')
|
export const getServerSideProps = redirectIfLoggedOut('/')
|
||||||
|
|
||||||
|
@ -23,15 +24,15 @@ export default function ReferralsPage() {
|
||||||
return (
|
return (
|
||||||
<Page>
|
<Page>
|
||||||
<SEO
|
<SEO
|
||||||
title="Referrals"
|
title="Refer a friend"
|
||||||
description={`Manifold's referral program. Invite new users to Manifold and get M${REFERRAL_AMOUNT} if they
|
description={`Invite new users to Manifold and get ${formatMoney(REFERRAL_AMOUNT)} if they
|
||||||
sign up!`}
|
sign up!`}
|
||||||
url="/referrals"
|
url="/referrals"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Col className="items-center">
|
<Col className="items-center">
|
||||||
<Col className="h-full rounded bg-white p-4 py-8 sm:p-8 sm:shadow-md">
|
<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
|
<img
|
||||||
className="mb-6 block -scale-x-100 self-center"
|
className="mb-6 block -scale-x-100 self-center"
|
||||||
src="/logo-flapping-with-money.gif"
|
src="/logo-flapping-with-money.gif"
|
||||||
|
@ -40,7 +41,7 @@ export default function ReferralsPage() {
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div className={'mb-4'}>
|
<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!
|
sign up!
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user