import { Box, Divider, Flex, Text, useColorMode } from "@chakra-ui/react"; import Image from "next/image"; import Link from "next/link"; import { useTranslation } from "next-i18next"; import { useMemo } from "react"; export function Footer() { const { t } = useTranslation(); const { colorMode } = useColorMode(); const backgroundColor = colorMode === "light" ? "white" : "gray.800"; const textColor = colorMode === "light" ? "black" : "gray.300"; return ( ); } const FooterLink = ({ href, label }: { href: string; label: string }) => useMemo( () => ( {label} ), [href, label] );