import { useContext } from "react"; import Menu from "../components/Menu"; import { TranslateContext } from "../Modules/context"; import { GetStaticProps } from "next"; import { getData } from "./api/theme"; export default function Home() { const t = useContext(TranslateContext); return ( <>

404

{t("Page not Found")}

); } export const getStaticProps: GetStaticProps = async (context) => { return { props: { t: await getData(context) }, }; };