@@ -4,6 +4,7 @@ import { type GetStaticProps } from "next"
4
4
import { useRouter } from "next/router"
5
5
import { useTranslation } from "next-i18next"
6
6
import { serverSideTranslations } from "next-i18next/serverSideTranslations"
7
+ import { Checkbox } from "@chakra-ui/react"
7
8
8
9
import type {
9
10
BasePageProps ,
@@ -38,8 +39,6 @@ import { getRequiredNamespacesForPage } from "@/lib/utils/translations"
38
39
39
40
import { DEPOSIT_CONTRACT_ADDRESS } from "@/data/addresses"
40
41
41
- import Checkbox from "../../../tailwind/ui/Checkbox"
42
-
43
42
import consensys from "@/public/images/projects/consensys.png"
44
43
import etherscan from "@/public/images/projects/etherscan-logo-circle.png"
45
44
import ef from "@/public/images/staking/ef-blog-logo.png"
@@ -335,46 +334,43 @@ const DepositContractPage = () => {
335
334
{ t ( "page-staking-deposit-contract-confirm-address" ) }
336
335
</ CardTitle >
337
336
</ Row >
338
- < Flex className = "flex-col" >
339
- < label className = "mb-2 flex items-center gap-2" >
340
- < Checkbox
341
- checked = { state . userHasUsedLaunchpad }
342
- onCheckedChange = { ( ) =>
343
- setState ( {
344
- ...state ,
345
- userHasUsedLaunchpad : ! state . userHasUsedLaunchpad ,
346
- } )
347
- }
348
- />
349
- { t ( "page-staking-deposit-contract-checkbox1" ) }
350
- </ label >
351
- < label className = "mb-2 flex items-center gap-2" >
352
- < Checkbox
353
- checked = { state . userUnderstandsStaking }
354
- onCheckedChange = { ( ) =>
355
- setState ( {
356
- ...state ,
357
- userUnderstandsStaking :
358
- ! state . userUnderstandsStaking ,
359
- } )
360
- }
361
- />
362
- { t ( "page-staking-deposit-contract-checkbox2" ) }
363
- </ label >
364
- < label className = "mb-2 flex items-center gap-2" >
365
- < Checkbox
366
- checked = { state . userWillCheckOtherSources }
367
- onCheckedChange = { ( ) =>
368
- setState ( {
369
- ...state ,
370
- userWillCheckOtherSources :
371
- ! state . userWillCheckOtherSources ,
372
- } )
373
- }
374
- />
375
- { t ( "page-staking-deposit-contract-checkbox3" ) }
376
- </ label >
377
- </ Flex >
337
+ < Checkbox
338
+ mb = { 2 }
339
+ isChecked = { state . userHasUsedLaunchpad }
340
+ onChange = { ( ) =>
341
+ setState ( {
342
+ ...state ,
343
+ userHasUsedLaunchpad : ! state . userHasUsedLaunchpad ,
344
+ } )
345
+ }
346
+ >
347
+ { t ( "page-staking-deposit-contract-checkbox1" ) }
348
+ </ Checkbox >
349
+ < Checkbox
350
+ mb = { 2 }
351
+ isChecked = { state . userUnderstandsStaking }
352
+ onChange = { ( ) =>
353
+ setState ( {
354
+ ...state ,
355
+ userUnderstandsStaking : ! state . userUnderstandsStaking ,
356
+ } )
357
+ }
358
+ >
359
+ { t ( "page-staking-deposit-contract-checkbox2" ) }
360
+ </ Checkbox >
361
+ < Checkbox
362
+ mb = { 2 }
363
+ isChecked = { state . userWillCheckOtherSources }
364
+ onChange = { ( ) =>
365
+ setState ( {
366
+ ...state ,
367
+ userWillCheckOtherSources :
368
+ ! state . userWillCheckOtherSources ,
369
+ } )
370
+ }
371
+ >
372
+ { t ( "page-staking-deposit-contract-checkbox3" ) }
373
+ </ Checkbox >
378
374
< CopyButton
379
375
disabled = { ! isButtonEnabled }
380
376
onClick = { ( ) =>
0 commit comments