import Menu from "../../components/Menu"; import Head from "next/head"; import BugReport from "../../components/BugReport"; 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("No League Types Exist")}

{t("No League Types Exist")}

{t("What is Wrong")}

{t("There are no league plugins enabled. ")}

{t("How to Fix")}

{t("Login as the admin user and enable a league plugin. ")}

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