2
2
3
3
import type { ChildOnlyProp , Wallet } from "@/lib/types"
4
4
5
- import BannerNotification from "@/components/Banners/BannerNotification"
6
5
import Breadcrumbs from "@/components/Breadcrumbs"
7
6
import FindWalletProductTable from "@/components/FindWalletProductTable"
8
- import { Image } from "@/components/Image"
9
7
import MainArticle from "@/components/MainArticle"
10
- import InlineLink from "@/components/ui/Link"
11
-
12
- import { cn } from "@/lib/utils/cn"
13
8
14
9
import { useTranslation } from "@/hooks/useTranslation"
15
10
import { usePathname } from "@/i18n/routing"
16
- import HeroImage from "@/public/images/wallets/wallet-hero.png"
17
11
18
12
const Subtitle = ( { children } : ChildOnlyProp ) => (
19
13
< p className = "mb-6 text-xl leading-[1.4] text-body-medium last:mb-8" >
@@ -31,41 +25,12 @@ const FindWalletPage = ({ wallets }: Props) => {
31
25
32
26
return (
33
27
< MainArticle className = "relative flex flex-col" >
34
- < BannerNotification shouldShow = { true } >
35
- { t ( "page-find-wallet-footnote-1" ) }
36
- </ BannerNotification >
37
-
38
- < div
39
- className = { cn (
40
- "relative mb-[44px] flex w-full flex-col p-12 md:flex-row" ,
41
- "bg-gradient-to-r from-accent-a/10 to-accent-c/10 dark:from-accent-a/20 dark:to-accent-c-hover/20"
42
- ) }
43
- >
44
- < div className = "mt-8 w-full sm:mt-0 md:w-1/2" >
45
- < Breadcrumbs slug = { pathname } />
46
- < h1 className = "mb-8 mt-8 text-[2.5rem] leading-[1.4] md:text-5xl" >
47
- { t ( "page-find-wallet-title" ) }
48
- </ h1 >
49
- < Subtitle > { t ( "page-find-wallet-description" ) } </ Subtitle >
50
- < Subtitle >
51
- { t ( "page-find-wallet-desc-2" ) } { " " }
52
- < InlineLink href = "/wallets" >
53
- { t ( "page-find-wallet-desc-2-wallets-link" ) }
54
- </ InlineLink >
55
- </ Subtitle >
56
- </ div >
57
- < div className = "flex w-full items-center justify-center md:w-1/2" >
58
- < Image
59
- src = { HeroImage }
60
- // TODO: adjust value when the old theme breakpoints are removed (src/theme.ts)
61
- sizes = "(max-width: 480px) 100vw, 500px"
62
- alt = ""
63
- priority
64
- style = { {
65
- objectFit : "contain" ,
66
- } }
67
- />
68
- </ div >
28
+ < div className = "flex w-full flex-col gap-8 px-4 pb-4 pt-11 md:w-1/2" >
29
+ < Breadcrumbs slug = { pathname } />
30
+ < h1 className = "text-[2.5rem] leading-[1.4] md:text-5xl" >
31
+ { t ( "page-find-wallet-title" ) }
32
+ </ h1 >
33
+ < Subtitle > { t ( "page-find-wallet-description" ) } </ Subtitle >
69
34
</ div >
70
35
71
36
< FindWalletProductTable wallets = { wallets } />
0 commit comments