@@ -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 , Heading , Text as ChakraText } from "@chakra-ui/react"
6
+ import { Box , Flex } from "@chakra-ui/react"
7
7
8
8
import { BasePageProps , Lang } from "@/lib/types"
9
9
@@ -13,7 +13,7 @@ import Card from "@/components/Card"
13
13
import CardList from "@/components/CardList"
14
14
import FeedbackCard from "@/components/FeedbackCard"
15
15
import HorizontalCard from "@/components/HorizontalCard"
16
- import { Image } from "@/components/Image"
16
+ import { TwImage } from "@/components/Image"
17
17
import MainArticle from "@/components/MainArticle"
18
18
import Text from "@/components/OldText"
19
19
import PageHero from "@/components/PageHero"
@@ -305,41 +305,24 @@ const WalletsPage = () => {
305
305
{ locale === "en" ? (
306
306
< div className = "my-20 w-full px-0 py-4" >
307
307
< Simulator data = { walletOnboardingSimData } >
308
- < ChakraText
309
- fontSize = { { base : "lg" , md : "xl" , lg : "2xl" } }
310
- fontStyle = "italic"
311
- color = "body.medium"
312
- mb = { 2 }
313
- >
308
+ < p className = "mb-2 text-lg italic leading-base text-body-medium md:text-xl lg:text-2xl" >
314
309
Interactive tutorial
315
- </ ChakraText >
316
- < Heading
317
- as = "h2"
318
- size = { { base : "xl" , lg : "2xl" } }
319
- lineHeight = "115%"
320
- fontWeight = "bold"
321
- m = { 0 }
322
- >
310
+ </ p >
311
+ < h2 className = "m-0 text-3xl font-bold leading-[115%] lg:text-5xl" >
323
312
How to use a wallet
324
- </ Heading >
313
+ </ h2 >
325
314
</ Simulator >
326
315
</ div >
327
316
) : (
328
317
< div className = "my-12 mt-4 w-full bg-[linear-gradient(49deg,rgba(127,127,213,0.2)_0%,rgba(134,168,231,0.2)_50%,rgba(145,234,228,0.2)_100%)] px-0 py-16 shadow-[inset_0px_1px_0px_var(--eth-colors-tableItemBoxShadow)] lg:mt-8" >
329
318
< div className = "w-full px-8 py-4" >
330
- < Flex flexDirection = "column" alignItems = "center" mb = "8 ">
319
+ < div className = "mb-8 flex flex-col items-center ">
331
320
< h2 className = "mb-8 mt-12 text-2xl leading-[1.4] md:text-[2rem]" >
332
321
{ t ( "page-wallets-features-title" ) }
333
322
</ h2 >
334
- < Box
335
- fontSize = "xl"
336
- lineHeight = { 1.4 }
337
- color = "text"
338
- textAlign = "center"
339
- mb = { 6 }
340
- >
323
+ < div className = "mb-6 text-center text-xl leading-base" >
341
324
{ t ( "page-wallets-features-desc" ) }
342
- </ Box >
325
+ </ div >
343
326
< ButtonLink
344
327
href = "/wallets/find-wallet/"
345
328
customEventOptions = { {
@@ -350,16 +333,12 @@ const WalletsPage = () => {
350
333
>
351
334
{ t ( "page-wallets-find-wallet-btn" ) }
352
335
</ ButtonLink >
353
- < Image
336
+ < TwImage
354
337
src = { FindWalletImage }
355
338
alt = ""
356
- mt = { 8 }
357
- maxW = "800px"
358
- backgroundSize = "cover"
359
- backgroundRepeat = "no-repeat"
360
- w = "full"
339
+ className = "mt-8 w-full max-w-[800px] bg-cover bg-no-repeat"
361
340
/>
362
- </ Flex >
341
+ </ div >
363
342
</ div >
364
343
</ div >
365
344
) }
0 commit comments