@@ -14,10 +14,10 @@ import Emoji from "@/components/Emoji"
14
14
import EthPriceCard from "@/components/EthPriceCard"
15
15
import FeedbackCard from "@/components/FeedbackCard"
16
16
import { TwImage as Image } from "@/components/Image"
17
- import InfoBanner from "@/components/InfoBanner"
18
17
import MainArticle from "@/components/MainArticle"
19
18
import PageMetadata from "@/components/PageMetadata"
20
19
import Translation from "@/components/Translation"
20
+ import { Alert , AlertContent , AlertDescription } from "@/components/ui/alert"
21
21
import { ButtonLink } from "@/components/ui/buttons/Button"
22
22
import {
23
23
Card ,
@@ -246,7 +246,7 @@ const GetEthPage = ({
246
246
</ StyledCard >
247
247
</ div >
248
248
249
- < div className = "mb-8 " >
249
+ < Stack className = "gap-16 " >
250
250
< p >
251
251
< em >
252
252
{ t ( "common:listing-policy-disclaimer" ) } { " " }
@@ -255,13 +255,18 @@ const GetEthPage = ({
255
255
</ InlineLink >
256
256
</ em >
257
257
</ p >
258
- < InfoBanner emoji = ":wave:" shouldCenter mt = { 8 } >
259
- { t ( "page-get-eth-new-to-eth" ) } { " " }
260
- < InlineLink href = "/eth/" >
261
- { t ( "page-get-eth-whats-eth-link" ) }
262
- </ InlineLink >
263
- </ InfoBanner >
264
- </ div >
258
+ < Alert className = "mx-auto w-fit" variant = "update" >
259
+ < AlertContent className = "flex flex-row items-center gap-4" >
260
+ < Emoji className = "text-4xl" text = ":wave:" />
261
+ < AlertDescription >
262
+ { t ( "page-get-eth-new-to-eth" ) } { " " }
263
+ < InlineLink href = "/eth/" >
264
+ { t ( "page-get-eth-whats-eth-link" ) }
265
+ </ InlineLink >
266
+ </ AlertDescription >
267
+ </ AlertContent >
268
+ </ Alert >
269
+ </ Stack >
265
270
266
271
< div
267
272
id = "country-picker"
@@ -291,9 +296,13 @@ const GetEthPage = ({
291
296
< ButtonLink href = "/wallets/find-wallet/" className = "w-fit" >
292
297
{ t ( "page-get-eth-get-wallet-btn" ) }
293
298
</ ButtonLink >
294
- < InfoBanner isWarning >
295
- < Translation id = "page-get-eth:page-get-eth-dexs-desc-4" />
296
- </ InfoBanner >
299
+ < Alert variant = "warning" >
300
+ < AlertContent >
301
+ < AlertDescription >
302
+ < Translation id = "page-get-eth:page-get-eth-dexs-desc-4" />
303
+ </ AlertDescription >
304
+ </ AlertContent >
305
+ </ Alert >
297
306
</ Stack >
298
307
299
308
< Stack className = "gap-4" >
@@ -302,7 +311,13 @@ const GetEthPage = ({
302
311
</ h3 >
303
312
< p > { t ( "page-get-eth-swapping" ) } </ p >
304
313
< CardList items = { tokenSwaps } />
305
- < InfoBanner isWarning > { t ( "page-get-eth-warning" ) } </ InfoBanner >
314
+ < Alert variant = "warning" >
315
+ < AlertContent >
316
+ < AlertDescription >
317
+ < Translation id = "page-get-eth:page-get-eth-warning" />
318
+ </ AlertDescription >
319
+ </ AlertContent >
320
+ </ Alert >
306
321
</ Stack >
307
322
</ TwoColumnContent >
308
323
</ Stack >
0 commit comments