@@ -20,11 +20,13 @@ import {
20
20
BannerGridCell ,
21
21
BannerImage ,
22
22
} from "@/components/BannerGrid"
23
+ import { Button , ButtonLink } from "@/components/Buttons"
23
24
import Callout from "@/components/Callout"
24
25
import Card from "@/components/Card"
25
26
import EnergyConsumptionChart from "@/components/EnergyConsumptionChart"
26
27
import FeedbackCard from "@/components/FeedbackCard"
27
28
import { Image , type ImageProps } from "@/components/Image"
29
+ import InlineLink from "@/components/Link"
28
30
import MainArticle from "@/components/MainArticle"
29
31
import PageMetadata from "@/components/PageMetadata"
30
32
import { StandaloneQuizWidget } from "@/components/Quiz/QuizWidget"
@@ -46,9 +48,6 @@ import {
46
48
getRequiredNamespacesForPage ,
47
49
} from "@/lib/utils/translations"
48
50
49
- import InlineLink from "../../tailwind/Link"
50
- import { Button , ButtonLink } from "../../tailwind/ui/buttons/Button"
51
-
52
51
import { fetchTxCount } from "@/lib/api/fetchTxCount"
53
52
import dogeComputerImg from "@/public/images/doge-computer.png"
54
53
import ethImg from "@/public/images/eth.png"
@@ -653,10 +652,7 @@ const WhatIsEthereumPage = ({
653
652
< ButtonLink href = "/smart-contracts/" >
654
653
{ t ( "page-what-is-ethereum-more-on-smart-contracts" ) }
655
654
</ ButtonLink >
656
- < ButtonLink
657
- href = "/dapps/"
658
- buttonProps = { { isSecondary : true , variant : "outline" } }
659
- >
655
+ < ButtonLink href = "/dapps/" variant = "outline" isSecondary >
660
656
{ t ( "page-what-is-ethereum-explore-dapps" ) }
661
657
</ ButtonLink >
662
658
</ ButtonRow >
@@ -679,10 +675,7 @@ const WhatIsEthereumPage = ({
679
675
< ButtonLink href = "/eth/" >
680
676
{ t ( "page-what-is-ethereum-what-is-ether" ) }
681
677
</ ButtonLink >
682
- < ButtonLink
683
- href = "/get-eth/"
684
- buttonProps = { { isSecondary : true , variant : "outline" } }
685
- >
678
+ < ButtonLink href = "/get-eth/" variant = "outline" isSecondary >
686
679
{ t ( "page-what-is-ethereum-get-eth" ) }
687
680
</ ButtonLink >
688
681
</ ButtonRow >
@@ -711,7 +704,8 @@ const WhatIsEthereumPage = ({
711
704
</ ButtonLink >
712
705
< ButtonLink
713
706
href = "/roadmap/merge/"
714
- buttonProps = { { isSecondary : true , variant : "outline" } }
707
+ variant = "outline"
708
+ isSecondary
715
709
>
716
710
{ t ( "page-what-is-ethereum-the-merge-update" ) }
717
711
</ ButtonLink >
0 commit comments