Skip to content

Commit bdecf72

Browse files
committed
use LinkBox
1 parent 3dc4266 commit bdecf72

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/components/StartWithEthereumFlow/DownloadAWallet/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { Wallet } from "@/lib/types"
55
import { Image } from "@/components/Image"
66
import { Button, ButtonLink } from "@/components/ui/buttons/Button"
77
import Checkbox from "@/components/ui/checkbox"
8+
import { LinkBox } from "@/components/ui/link-box"
89
import { Tag } from "@/components/ui/tag"
910

1011
import { trackCustomEvent } from "@/lib/utils/matomo"
@@ -71,7 +72,7 @@ const DownloadAWallet = ({
7172
<div className="flex w-full flex-1 flex-col gap-8">
7273
<div className="flex flex-col overflow-hidden rounded-2xl border shadow-window-box">
7374
{newToCryptoWallets.map((wallet) => (
74-
<div
75+
<LinkBox
7576
key={wallet.name}
7677
className="flex cursor-pointer flex-col gap-4 border-b border-body-light bg-background p-4 last:border-b-0 hover:bg-background-highlight sm:p-6"
7778
onClick={() => {
@@ -99,7 +100,7 @@ const DownloadAWallet = ({
99100
Get wallet
100101
</ButtonLink>
101102
</div>
102-
</div>
103+
</LinkBox>
103104
))}
104105
</div>
105106
<div className="flex flex-col gap-8 lg:hidden">

src/components/StartWithEthereumFlow/LetUseSomeApps/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Image } from "@/components/Image"
22
import { ButtonLink } from "@/components/ui/buttons/Button"
33
import Link from "@/components/ui/Link"
4+
import { LinkBox } from "@/components/ui/link-box"
45
import { Tag } from "@/components/ui/tag"
56

67
import { trackCustomEvent } from "@/lib/utils/matomo"
@@ -104,7 +105,7 @@ const LetUseSomeApps = ({
104105
<div className="flex flex-1 flex-col gap-8">
105106
<div>
106107
{dappsList.map((dapp) => (
107-
<div
108+
<LinkBox
108109
key={dapp.name}
109110
className="group flex cursor-pointer flex-col items-center justify-between gap-4 rounded-xl border-b border-background p-4 last:border-b-0 hover:bg-background-highlight sm:flex-row"
110111
onClick={() => {
@@ -142,7 +143,7 @@ const LetUseSomeApps = ({
142143
Go
143144
</ButtonLink>
144145
</div>
145-
</div>
146+
</LinkBox>
146147
))}
147148
</div>
148149
<div className="mb-4 flex justify-center lg:hidden">

0 commit comments

Comments
 (0)