import Menu from "../../components/Menu"; import Head from "next/head"; import BugReport from "../../components/BugReport"; import Link from "../../components/Link"; import { useContext } from "react"; import { TranslateContext } from "../../Modules/context"; import { GetStaticProps } from "next"; import { getData } from "../api/theme"; export default function Home() { const t = useContext(TranslateContext); return ( <> {t("Failure to get Version Data")}

{t("Failure to get Version Data")}

{t("What is Wrong")}

{t( "The server cannot contact update server to check if this is the latest version of the software. ", )}

{t("How to Fix")}

{t( "This error is not critical and just means that this website can not check if this is actually the latest version. ", )} {t( "You can manually check the releases here to see if this is the latest release. ", )}

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