diff --git a/src/components/Translatathon/TranslatathonCalendar.tsx b/src/components/Translatathon/TranslatathonCalendar.tsx index 5580264f235..c9d3719e013 100644 --- a/src/components/Translatathon/TranslatathonCalendar.tsx +++ b/src/components/Translatathon/TranslatathonCalendar.tsx @@ -1,18 +1,16 @@ import { useRouter } from "next/router" import { FaDiscord } from "react-icons/fa" -import { Heading, Icon, Text } from "@chakra-ui/react" import type { Lang } from "@/lib/types" -import { ButtonLink } from "@/components/Buttons" -import InlineLink from "@/components/Link" +import { ButtonLink } from "@/components/ui/buttons/Button" +import { Flex } from "@/components/ui/flex" +import InlineLink from "@/components/ui/Link" import { cn } from "@/lib/utils/cn" import { trackCustomEvent } from "@/lib/utils/matomo" import { getLocaleTimestamp } from "@/lib/utils/time" -import { Flex } from "../ui/flex" - const matomoEvent = (buttonType: string) => { trackCustomEvent({ eventCategory: "TranslatathonCalender", @@ -65,31 +63,23 @@ export const TranslatathonCalendar = () => { "bg-gradient-to-r from-accent-a/10 to-accent-c/10 dark:from-accent-a/20 dark:to-accent-c-hover/20" )} > - - Translatathon calls - - +

Translatathon calls

+

Join us on the ethereum.org Discord for a series of onboarding calls and workshops where we’ll cover everything you need to know about the Translatathon, walk through using Crowdin and answer any questions you might have. - - matomoEvent("discord")} - > - +

+ matomoEvent("discord")}> + Join Discord - - Translatathon calls - +

Translatathon calls

{events.map((event, index) => ( - {getLocaleTimestamp(locale! as Lang, event.date)} +

{getLocaleTimestamp(locale! as Lang, event.date)}

{event.title}
))}