import { newsAtom, showNewsModalAtom } from "@/atoms/news-atom"; import { translationAtom } from "@/atoms/translations-atom"; import { useAtomValue, useSetAtom } from "jotai"; import React from "react"; function Footer() { const setShowNewsModal = useSetAtom(showNewsModalAtom); const news = useAtomValue(newsAtom); const t = useAtomValue(translationAtom); return (
{t("FOOTER.COPYRIGHT")} {new Date().getFullYear()} -{" "} {t("TITLE")}
{t("FOOTER.TITLE")} {t("FOOTER.LINK_TITLE")}