@@ -12,9 +12,7 @@ import Callout from "@/components/Callout"
12
12
import Card from "@/components/Card"
13
13
import CardList from "@/components/CardList"
14
14
import FeedbackCard from "@/components/FeedbackCard"
15
- import HorizontalCard , {
16
- HorizontalCardProps ,
17
- } from "@/components/HorizontalCard"
15
+ import HorizontalCard from "@/components/HorizontalCard"
18
16
import { Image } from "@/components/Image"
19
17
import MainArticle from "@/components/MainArticle"
20
18
import Text from "@/components/OldText"
@@ -48,13 +46,6 @@ export const StyledCard = (props: ComponentPropsWithRef<typeof Card>) => (
48
46
{ ...props }
49
47
/>
50
48
)
51
- const ChecklistItem = ( props : HorizontalCardProps ) => (
52
- < HorizontalCard
53
- emojiClassName = "text-2xl"
54
- className = "items-start"
55
- { ...props }
56
- />
57
- )
58
49
59
50
export const getStaticProps = ( async ( { locale } ) => {
60
51
const lastDeployDate = getLastDeployDate ( )
@@ -379,17 +370,21 @@ const WalletsPage = () => {
379
370
< Translation id = "page-wallets:page-wallets-stay-safe-desc" />
380
371
</ Box >
381
372
< Flex direction = "column" gap = { 4 } >
382
- < ChecklistItem
373
+ < HorizontalCard
383
374
key = "0"
384
375
emoji = ":white_check_mark:"
385
376
title = { t ( "page-wallets-take-responsibility" ) }
386
377
description = { t ( "page-wallets-take-responsibility-desc" ) }
378
+ emojiClassName = "text-2xl"
379
+ className = "items-start"
387
380
/>
388
- < ChecklistItem
381
+ < HorizontalCard
389
382
key = "1"
390
383
emoji = ":white_check_mark:"
391
384
title = { < Translation id = "page-wallets:page-wallets-seed-phrase" /> }
392
385
description = { t ( "page-wallets-seed-phrase-desc" ) }
386
+ emojiClassName = "text-2xl"
387
+ className = "items-start"
393
388
>
394
389
< Text > { t ( "page-wallets-seed-phrase-example" ) } </ Text >
395
390
< Box bg = "black" p = { 2 } mb = { 4 } borderRadius = "base" >
@@ -398,18 +393,22 @@ const WalletsPage = () => {
398
393
</ Text >
399
394
</ Box >
400
395
< Text > { t ( "page-wallets-seed-phrase-write-down" ) } </ Text >
401
- </ ChecklistItem >
402
- < ChecklistItem
396
+ </ HorizontalCard >
397
+ < HorizontalCard
403
398
key = "2"
404
399
emoji = ":white_check_mark:"
405
400
title = { t ( "page-wallets-bookmarking" ) }
406
401
description = { t ( "page-wallets-bookmarking-desc" ) }
402
+ emojiClassName = "text-2xl"
403
+ className = "items-start"
407
404
/>
408
- < ChecklistItem
405
+ < HorizontalCard
409
406
key = "3"
410
407
emoji = ":white_check_mark:"
411
408
title = { t ( "page-wallets-triple-check" ) }
412
409
description = { t ( "page-wallets-triple-check-desc" ) }
410
+ emojiClassName = "text-2xl"
411
+ className = "items-start"
413
412
/>
414
413
</ Flex >
415
414
</ div >
0 commit comments