manalinks: mention referral bonus
This commit is contained in:
parent
53d89fa4ac
commit
164d9ef079
|
@ -1,4 +1,9 @@
|
||||||
import { useState } from 'react'
|
import { useState } from 'react'
|
||||||
|
|
||||||
|
import dayjs from 'dayjs'
|
||||||
|
import customParseFormat from 'dayjs/plugin/customParseFormat'
|
||||||
|
dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
import { formatMoney } from 'common/util/format'
|
import { formatMoney } from 'common/util/format'
|
||||||
import { Col } from 'web/components/layout/col'
|
import { Col } from 'web/components/layout/col'
|
||||||
import { Row } from 'web/components/layout/row'
|
import { Row } from 'web/components/layout/row'
|
||||||
|
@ -16,12 +21,10 @@ import { UserLink } from 'web/components/user-page'
|
||||||
import { CreateLinksButton } from 'web/components/manalinks/create-links-button'
|
import { CreateLinksButton } from 'web/components/manalinks/create-links-button'
|
||||||
import { redirectIfLoggedOut } from 'web/lib/firebase/server-auth'
|
import { redirectIfLoggedOut } from 'web/lib/firebase/server-auth'
|
||||||
|
|
||||||
import dayjs from 'dayjs'
|
|
||||||
import customParseFormat from 'dayjs/plugin/customParseFormat'
|
|
||||||
import { ManalinkCardFromView } from 'web/components/manalink-card'
|
import { ManalinkCardFromView } from 'web/components/manalink-card'
|
||||||
import { Pagination } from 'web/components/pagination'
|
import { Pagination } from 'web/components/pagination'
|
||||||
import { Manalink } from 'common/manalink'
|
import { Manalink } from 'common/manalink'
|
||||||
dayjs.extend(customParseFormat)
|
import { REFERRAL_AMOUNT } from 'common/user'
|
||||||
|
|
||||||
const LINKS_PER_PAGE = 24
|
const LINKS_PER_PAGE = 24
|
||||||
export const getServerSideProps = redirectIfLoggedOut('/')
|
export const getServerSideProps = redirectIfLoggedOut('/')
|
||||||
|
@ -64,8 +67,10 @@ export default function LinkPage() {
|
||||||
)}
|
)}
|
||||||
</Row>
|
</Row>
|
||||||
<p>
|
<p>
|
||||||
You can use manalinks to send mana to other people, even if they
|
You can use manalinks to send mana (M$) to other people, even if they
|
||||||
don't yet have a Manifold account.
|
don't yet have a Manifold account. Manalinks are also eligible
|
||||||
|
for the referral bonus. Invite a new user to Manifold and get M$
|
||||||
|
{REFERRAL_AMOUNT} if they sign up!
|
||||||
</p>
|
</p>
|
||||||
<Subtitle text="Your Manalinks" />
|
<Subtitle text="Your Manalinks" />
|
||||||
<ManalinksDisplay
|
<ManalinksDisplay
|
||||||
|
|
Loading…
Reference in New Issue
Block a user