add qr code to referrals
This commit is contained in:
parent
914fc476ce
commit
1e3c5cb936
|
@ -9,6 +9,7 @@ import { REFERRAL_AMOUNT } from 'common/user'
|
||||||
import { CopyLinkButton } from 'web/components/copy-link-button'
|
import { CopyLinkButton } from 'web/components/copy-link-button'
|
||||||
import { ENV_CONFIG } from 'common/envs/constants'
|
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'
|
||||||
|
|
||||||
export const getServerSideProps = redirectIfLoggedOut('/')
|
export const getServerSideProps = redirectIfLoggedOut('/')
|
||||||
|
|
||||||
|
@ -50,6 +51,8 @@ export default function ReferralsPage() {
|
||||||
toastClassName={'-left-28 mt-1'}
|
toastClassName={'-left-28 mt-1'}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<QRCode url={url} className="mt-4 self-center" />
|
||||||
|
|
||||||
<InfoBox
|
<InfoBox
|
||||||
title="FYI"
|
title="FYI"
|
||||||
className="mt-4 max-w-md"
|
className="mt-4 max-w-md"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user