diff --git a/src/components/BeaconChainActions.tsx b/src/components/BeaconChainActions.tsx index 75ba2f769e6..05277f79dfe 100644 --- a/src/components/BeaconChainActions.tsx +++ b/src/components/BeaconChainActions.tsx @@ -1,27 +1,19 @@ import { useTranslation } from "next-i18next" -import { Box, Flex } from "@chakra-ui/react" import { ChildOnlyProp } from "@/lib/types" -import { ButtonLink } from "@/components/Buttons" import Card from "@/components/Card" import CardList, { type CardListItem } from "@/components/CardList" -import OldHeading from "@/components/OldHeading" import Translation from "@/components/Translation" +import { ButtonLink } from "./ui/buttons/Button" +import { Flex } from "./ui/flex" + import beaconchain from "@/public/images/upgrades/beaconchainemoji.png" import beaconscan from "@/public/images/upgrades/etherscan.png" const H3 = ({ children }: ChildOnlyProp) => ( - - {children} - +

{children}

) const BeaconChainActions = () => { @@ -29,18 +21,18 @@ const BeaconChainActions = () => { const datapoints: CardListItem[] = [ { - title: t("consensus-beaconscan-title"), + title: t("page-upgrades:consensus-beaconscan-title"), image: beaconscan, alt: "", link: "https://beaconscan.com", - description: t("consensus-beaconscan-desc"), + description: t("page-upgrades:consensus-beaconscan-desc"), }, { - title: t("consensus-beaconscan-in-title"), + title: t("page-upgrades:consensus-beaconscan-in-title"), image: beaconchain, alt: "", link: "https://beaconcha.in", - description: t("consensus-beaconcha-in-desc"), + description: t("page-upgrades:consensus-beaconcha-in-desc"), }, ] @@ -64,35 +56,35 @@ const BeaconChainActions = () => { ] return ( - - +
+ - + - +

- +

- +

- +
) }