@@ -28,7 +28,6 @@ import { WalletAddressesTable } from '@/components/WalletAddressesTable'
2828import { Link } from '@/ui/Link'
2929import { DepositDialog } from '@/components/dialogs/DepositDialog'
3030import { FEATURES_ENABLED } from '@/utils/constants'
31- import { Card } from '@/components/icons/CardButtons'
3231
3332type AccountPageProps = InferGetServerSidePropsType < typeof getServerSideProps >
3433
@@ -69,8 +68,8 @@ const AccountPage: NextPageWithLayout<AccountPageProps> = ({
6968 < h2 className = "mb-2 text-xl" > Balance</ h2 >
7069 < div className = "text-3xl font-bold" > { formattedAmount . amount } </ div >
7170 </ div >
72- < div className = "my-12 flex md:max-w-lg md:items-center gap-4 flex-col sm:flex-row" >
73- < div className = "flex gap-4 " >
71+ < div className = "my-12 flex md:max-w-lg md:items-center gap-2 flex-col sm:flex-row" >
72+ < div className = "flex" >
7473 < button
7574 id = "walletAddress"
7675 onClick = { ( ) => {
@@ -91,6 +90,8 @@ const AccountPage: NextPageWithLayout<AccountPageProps> = ({
9190 Add wallet address
9291 </ span >
9392 </ button >
93+ </ div >
94+ < div className = "flex gap-4" >
9495 < Link
9596 id = "fund"
9697 href = { FEATURES_ENABLED ? '/deposit' : undefined }
@@ -114,31 +115,17 @@ const AccountPage: NextPageWithLayout<AccountPageProps> = ({
114115 Deposit
115116 </ span >
116117 </ Link >
118+ < Link
119+ id = "withdraw"
120+ href = "/withdraw"
121+ className = "group flex aspect-square min-w-28 flex-shrink-0 flex-grow-0 basis-1/4 flex-col items-center justify-center rounded-lg border-2 text-center transition-[box-shadow] duration-200 dark:hover:shadow-glow-button dark:focus:shadow-glow-button"
122+ >
123+ < Withdraw className = "mb-1 h-8 w-8 transition-[filter] duration-200 group-hover:dark:drop-shadow-glow-svg group-focus:dark:drop-shadow-glow-svg" />
124+ < span className = "text-center text-[smaller] leading-4 underline-offset-2 transition-transform group-hover:scale-110 group-hover:underline group-focus:scale-110 group-focus:underline group-focus:underline-offset-2 dark:group-hover:decoration-transparent" >
125+ Withdraw
126+ </ span >
127+ </ Link >
117128 </ div >
118- { FEATURES_ENABLED ? (
119- < div className = "flex gap-4" >
120- < Link
121- id = "withdraw"
122- href = "/withdraw"
123- className = "group flex aspect-square min-w-28 flex-shrink-0 flex-grow-0 basis-1/4 flex-col items-center justify-center rounded-lg border-2 text-center transition-[box-shadow] duration-200 dark:hover:shadow-glow-button dark:focus:shadow-glow-button"
124- >
125- < Withdraw className = "mb-1 h-8 w-8 transition-[filter] duration-200 group-hover:dark:drop-shadow-glow-svg group-focus:dark:drop-shadow-glow-svg" />
126- < span className = "text-center text-[smaller] leading-4 underline-offset-2 transition-transform group-hover:scale-110 group-hover:underline group-focus:scale-110 group-focus:underline group-focus:underline-offset-2 dark:group-hover:decoration-transparent" >
127- Withdraw
128- </ span >
129- </ Link >
130- < Link
131- id = "cards"
132- href = "/card"
133- className = "group flex aspect-square min-w-28 flex-shrink-0 flex-grow-0 basis-1/4 flex-col items-center justify-center rounded-lg border-2 text-center transition-[box-shadow] duration-200 dark:hover:shadow-glow-button dark:focus:shadow-glow-button"
134- >
135- < Card className = "mb-1 h-8 w-8 transition-[filter] duration-200 group-hover:dark:drop-shadow-glow-svg group-focus:dark:drop-shadow-glow-svg" />
136- < span className = "text-center text-[smaller] leading-4 underline-offset-2 transition-transform group-hover:scale-110 group-hover:underline group-focus:scale-110 group-focus:underline group-focus:underline-offset-2 dark:group-hover:decoration-transparent" >
137- Card
138- </ span >
139- </ Link >
140- </ div >
141- ) : null }
142129 </ div >
143130 < h2 className = "mb-2 text-xl sm:text-2xl font-bold" >
144131 Wallet Address list < div className = "text-sm" > (Payment Pointers)</ div >
0 commit comments