2024-03-20 00:37:31 +00:00
|
|
|
import Layout from '@/components/layout'
|
|
|
|
import styles from '@/styles/wallet.module.css'
|
|
|
|
import { WalletCard } from '@/components/wallet-card'
|
2024-04-27 02:22:30 +00:00
|
|
|
import Link from 'next/link'
|
2024-06-03 22:41:15 +00:00
|
|
|
import { WALLET_DEFS } from '@/components/wallet'
|
2024-06-24 11:21:12 +00:00
|
|
|
import { getGetServerSideProps } from '@/api/ssrApollo'
|
2024-01-07 17:00:24 +00:00
|
|
|
|
2024-06-24 11:21:12 +00:00
|
|
|
export const getServerSideProps = getGetServerSideProps({ authRequired: true })
|
2024-02-13 19:17:56 +00:00
|
|
|
|
2024-06-24 11:21:12 +00:00
|
|
|
export default function Wallet () {
|
2024-01-07 17:00:24 +00:00
|
|
|
return (
|
|
|
|
<Layout>
|
|
|
|
<div className='py-5 w-100'>
|
|
|
|
<h2 className='mb-2 text-center'>attach wallets</h2>
|
|
|
|
<h6 className='text-muted text-center'>attach wallets to supplement your SN wallet</h6>
|
2024-04-27 02:22:30 +00:00
|
|
|
<div className='text-center'>
|
|
|
|
<Link href='/wallet/logs' className='text-muted fw-bold text-underline'>
|
|
|
|
wallet logs
|
|
|
|
</Link>
|
|
|
|
</div>
|
2024-01-07 17:00:24 +00:00
|
|
|
<div className={styles.walletGrid}>
|
2024-06-03 22:41:15 +00:00
|
|
|
{WALLET_DEFS.map((def, i) =>
|
|
|
|
<WalletCard key={i} name={def.name} {...def.card} />
|
|
|
|
)}
|
2024-01-07 17:00:24 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</Layout>
|
|
|
|
)
|
|
|
|
}
|