Skip to content

Commit 9764a37

Browse files
committed
how to stay safe section migrated
1 parent 95b4c8c commit 9764a37

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

src/pages/wallets/index.tsx

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { GetStaticProps } from "next"
33
import { useRouter } from "next/router"
44
import { useTranslation } from "next-i18next"
55
import { serverSideTranslations } from "next-i18next/serverSideTranslations"
6-
import { Box, Flex } from "@chakra-ui/react"
6+
import { Box } from "@chakra-ui/react"
77

88
import { BasePageProps, Lang } from "@/lib/types"
99

@@ -15,7 +15,6 @@ import FeedbackCard from "@/components/FeedbackCard"
1515
import HorizontalCard from "@/components/HorizontalCard"
1616
import { TwImage } from "@/components/Image"
1717
import MainArticle from "@/components/MainArticle"
18-
import Text from "@/components/OldText"
1918
import PageHero from "@/components/PageHero"
2019
import PageMetadata from "@/components/PageMetadata"
2120
import { StandaloneQuizWidget } from "@/components/Quiz/QuizWidget"
@@ -348,10 +347,10 @@ const WalletsPage = () => {
348347
<h2 className="mb-8 mt-12 text-2xl leading-[1.4] md:text-[2rem]">
349348
{t("page-wallets-stay-safe")}
350349
</h2>
351-
<Box lineHeight={1.4} mb={6} color="text300">
350+
<p className="mb-6 leading-xs">
352351
<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">
355354
<HorizontalCard
356355
key="0"
357356
emoji=":white_check_mark:"
@@ -368,13 +367,17 @@ const WalletsPage = () => {
368367
emojiClassName="text-2xl"
369368
className="items-start"
370369
>
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">
374375
{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>
378381
</HorizontalCard>
379382
<HorizontalCard
380383
key="2"
@@ -392,15 +395,13 @@ const WalletsPage = () => {
392395
emojiClassName="text-2xl"
393396
className="items-start"
394397
/>
395-
</Flex>
398+
</div>
396399
</div>
397400
<div className="mt-12 max-w-full flex-[0_1_50%] lg:ms-8 lg:mt-0">
398401
<h2 className="mb-8 mt-12 text-2xl leading-[1.4] md:text-[2rem]">
399402
{t("page-wallets-tips")}
400403
</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>
404405
<CardList items={articles} />
405406
</div>
406407
</div>

0 commit comments

Comments
 (0)