Skip to content

Commit 160656a

Browse files
committed
migrate links and buttonlinks
1 parent f643201 commit 160656a

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/pages/stablecoins.tsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { MdHelpOutline } from "react-icons/md"
66

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

9-
import ButtonLink from "@/components/Buttons/ButtonLink"
109
import CalloutBanner from "@/components/CalloutBanner"
1110
import DataProductCard from "@/components/DataProductCard"
1211
import Emoji from "@/components/Emoji"
@@ -15,7 +14,6 @@ import GhostCard from "@/components/GhostCard"
1514
import HorizontalCard from "@/components/HorizontalCard"
1615
import { TwImage } from "@/components/Image"
1716
import InfoBanner from "@/components/InfoBanner"
18-
import InlineLink from "@/components/Link"
1917
import MainArticle from "@/components/MainArticle"
2018
import PageHero from "@/components/PageHero"
2119
import PageMetadata from "@/components/PageMetadata"
@@ -26,8 +24,10 @@ import StablecoinBoxGrid from "@/components/StablecoinBoxGrid"
2624
import StablecoinsTable from "@/components/StablecoinsTable"
2725
import Tooltip from "@/components/Tooltip"
2826
import Translation from "@/components/Translation"
27+
import { ButtonLink } from "@/components/ui/buttons/Button"
2928
import { Divider } from "@/components/ui/divider"
3029
import { Flex, FlexProps } from "@/components/ui/flex"
30+
import InlineLink from "@/components/ui/Link"
3131

3232
import { cn } from "@/lib/utils/cn"
3333
import { dataLoader } from "@/lib/utils/data/dataLoader"
@@ -446,7 +446,7 @@ const StablecoinsPage = ({ markets, marketsHasError }) => {
446446
>
447447
<div className="-mb-8 w-full px-8 py-4">
448448
<H2 className="mt-0">{t("page-stablecoins-find-stablecoin")}</H2>
449-
<Flex className="me-auto ms-auto w-full flex-col justify-center lg:me-8 lg:ms-0 lg:w-1/2">
449+
<Flex className="me-auto ms-auto w-full flex-col justify-center lg:me-2 lg:ms-0 lg:w-1/2">
450450
<p className="mb-6">
451451
{t("page-stablecoins-find-stablecoin-intro")}
452452
</p>
@@ -480,8 +480,7 @@ const StablecoinsPage = ({ markets, marketsHasError }) => {
480480
<Flex className="flex-col">
481481
<div>
482482
<ButtonLink
483-
mb={4}
484-
me={4}
483+
className="mb-4 me-4"
485484
href="https://matcha.xyz/tokens/ethereum/0x6b175474e89094c44da98b954eedeac495271d0f?sellChain=1&sellAddress=0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"
486485
>
487486
{t("page-stablecoins-dai-banner-swap-button")}
@@ -517,8 +516,7 @@ const StablecoinsPage = ({ markets, marketsHasError }) => {
517516
<Flex className="flex-col">
518517
<div>
519518
<ButtonLink
520-
mb={4}
521-
me={4}
519+
className="mb-4 me-4"
522520
href="https://matcha.xyz/tokens/ethereum/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48?sellChain=1&sellAddress=0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"
523521
>
524522
{t("page-stablecoins-usdc-banner-swap-button")}
@@ -589,7 +587,7 @@ const StablecoinsPage = ({ markets, marketsHasError }) => {
589587
<ButtonLink
590588
variant="outline"
591589
href="/defi/"
592-
whiteSpace="normal"
590+
className="whitespace-normal"
593591
isSecondary
594592
>
595593
{t("page-stablecoins-more-defi-button")}

0 commit comments

Comments
 (0)