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 (
{news && !news?.data?.dontShow && ( )}

{t("FOOTER.COPYRIGHT")} {new Date().getFullYear()} -{" "} {t("TITLE")}

{t("FOOTER.TITLE")} {t("FOOTER.LINK_TITLE")}

); } export default Footer;