diff --git a/src/pages/what-is-ethereum.tsx b/src/pages/what-is-ethereum.tsx index e0d175188db..d901b63b548 100644 --- a/src/pages/what-is-ethereum.tsx +++ b/src/pages/what-is-ethereum.tsx @@ -1,4 +1,5 @@ import { GetStaticProps, InferGetStaticPropsType } from "next" +import type { ImageProps } from "next/image" import { useRouter } from "next/router" import { useTranslation } from "next-i18next" import { serverSideTranslations } from "next-i18next/serverSideTranslations" @@ -20,13 +21,11 @@ import { BannerGridCell, BannerImage, } from "@/components/BannerGrid" -import { Button, ButtonLink } from "@/components/Buttons" import Callout from "@/components/Callout" import Card from "@/components/Card" import EnergyConsumptionChart from "@/components/EnergyConsumptionChart" import FeedbackCard from "@/components/FeedbackCard" -import { Image, type ImageProps } from "@/components/Image" -import InlineLink from "@/components/Link" +import { TwImage } from "@/components/Image" import MainArticle from "@/components/MainArticle" import PageMetadata from "@/components/PageMetadata" import { StandaloneQuizWidget } from "@/components/Quiz/QuizWidget" @@ -35,7 +34,9 @@ import StatErrorMessage from "@/components/StatErrorMessage" import Tabs from "@/components/Tabs" import Tooltip from "@/components/Tooltip" import Translation from "@/components/Translation" +import { Button, ButtonLink } from "@/components/ui/buttons/Button" import { Center, Flex, HStack, Stack, VStack } from "@/components/ui/flex" +import InlineLink from "@/components/ui/Link" import { cn } from "@/lib/utils/cn" import { existsNamespace } from "@/lib/utils/existsNamespace" @@ -156,7 +157,7 @@ const NoWrapText = (props: ChildOnlyProp) => ( ) const Image400 = ({ src }: Pick) => ( - + ) const cachedFetchTxCount = runOnlyOnce(fetchTxCount) @@ -318,7 +319,7 @@ const WhatIsEthereumPage = ({ - {t("page-what-is-ethereum-alt-img-bazaar")} {t("page-what-is-ethereum-more-on-smart-contracts")} - + {t("page-what-is-ethereum-explore-dapps")} @@ -675,7 +682,13 @@ const WhatIsEthereumPage = ({ {t("page-what-is-ethereum-what-is-ether")} - + {t("page-what-is-ethereum-get-eth")} @@ -704,8 +717,10 @@ const WhatIsEthereumPage = ({ {t("page-what-is-ethereum-the-merge-update")}