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