@@ -3,7 +3,7 @@ import { GetStaticProps } from "next"
3
3
import { useRouter } from "next/router"
4
4
import { useTranslation } from "next-i18next"
5
5
import { serverSideTranslations } from "next-i18next/serverSideTranslations"
6
- import { Box , Flex } from "@chakra-ui/react"
6
+ import { Box } from "@chakra-ui/react"
7
7
8
8
import { BasePageProps , Lang } from "@/lib/types"
9
9
@@ -15,7 +15,6 @@ import FeedbackCard from "@/components/FeedbackCard"
15
15
import HorizontalCard from "@/components/HorizontalCard"
16
16
import { TwImage } from "@/components/Image"
17
17
import MainArticle from "@/components/MainArticle"
18
- import Text from "@/components/OldText"
19
18
import PageHero from "@/components/PageHero"
20
19
import PageMetadata from "@/components/PageMetadata"
21
20
import { StandaloneQuizWidget } from "@/components/Quiz/QuizWidget"
@@ -348,10 +347,10 @@ const WalletsPage = () => {
348
347
< h2 className = "mb-8 mt-12 text-2xl leading-[1.4] md:text-[2rem]" >
349
348
{ t ( "page-wallets-stay-safe" ) }
350
349
</ h2 >
351
- < Box lineHeight = { 1.4 } mb = { 6 } color = "text300 ">
350
+ < p className = "mb-6 leading-xs ">
352
351
< Translation id = "page-wallets:page-wallets-stay-safe-desc" />
353
- </ Box >
354
- < Flex direction = "column" gap = { 4 } >
352
+ </ p >
353
+ < div className = "flex flex-col gap-4" >
355
354
< HorizontalCard
356
355
key = "0"
357
356
emoji = ":white_check_mark:"
@@ -368,13 +367,17 @@ const WalletsPage = () => {
368
367
emojiClassName = "text-2xl"
369
368
className = "items-start"
370
369
>
371
- < Text > { t ( "page-wallets-seed-phrase-example" ) } </ Text >
372
- < Box bg = "black" p = { 2 } mb = { 4 } borderRadius = "base" >
373
- < Text fontFamily = "monospace" fontSize = "sm" color = "white" mb = { 0 } >
370
+ < p className = "mb-[1.45rem] text-md leading-base" >
371
+ { t ( "page-wallets-seed-phrase-example" ) }
372
+ </ p >
373
+ < div className = "rounded-base mb-4 bg-black p-2" >
374
+ < p className = "font-mono text-sm text-white" >
374
375
{ t ( "page-wallets-seed-phrase-snippet" ) }
375
- </ Text >
376
- </ Box >
377
- < Text > { t ( "page-wallets-seed-phrase-write-down" ) } </ Text >
376
+ </ p >
377
+ </ div >
378
+ < p className = "mb-[1.45rem] text-md leading-base" >
379
+ { t ( "page-wallets-seed-phrase-write-down" ) }
380
+ </ p >
378
381
</ HorizontalCard >
379
382
< HorizontalCard
380
383
key = "2"
@@ -392,15 +395,13 @@ const WalletsPage = () => {
392
395
emojiClassName = "text-2xl"
393
396
className = "items-start"
394
397
/>
395
- </ Flex >
398
+ </ div >
396
399
</ div >
397
400
< div className = "mt-12 max-w-full flex-[0_1_50%] lg:ms-8 lg:mt-0" >
398
401
< h2 className = "mb-8 mt-12 text-2xl leading-[1.4] md:text-[2rem]" >
399
402
{ t ( "page-wallets-tips" ) }
400
403
</ h2 >
401
- < Box lineHeight = { 1.4 } color = "text300" mb = { 6 } >
402
- { t ( "page-wallets-tips-community" ) }
403
- </ Box >
404
+ < p className = "mb-6 leading-xs" > { t ( "page-wallets-tips-community" ) } </ p >
404
405
< CardList items = { articles } />
405
406
</ div >
406
407
</ div >
0 commit comments