import { AppLayout } from "components/AppLayout"; import { ReturnButton, ReturnButtonType, } from "components/PanelComponents/ReturnButton"; import { ContentPanel } from "components/Panels/ContentPanel"; import { AppStaticProps, getAppStaticProps } from "graphql/getAppStaticProps"; import { Immutable } from "helpers/types"; import { GetStaticPropsContext } from "next"; interface Props extends AppStaticProps {} export default function FourOhFour(props: Immutable): JSX.Element { const { langui } = props; const contentPanel = (

404 - {langui.page_not_found}

); return ; } export async function getStaticProps( context: GetStaticPropsContext ): Promise<{ notFound: boolean } | { props: Props }> { const props: Props = { ...(await getAppStaticProps(context)), }; return { props: props, }; }