import AppLayout from "components/AppLayout"; import PanelHeader from "components/PanelComponents/PanelHeader"; import SubPanel from "components/Panels/SubPanel"; import { AppStaticProps, getAppStaticProps } from "graphql/getAppStaticProps"; import { Immutable } from "helpers/types"; import { GetStaticPropsContext } from "next"; interface Props extends AppStaticProps {} export default function Chronicles(props: Immutable): JSX.Element { const { langui } = props; const subPanel = ( ); return ( ); } export async function getStaticProps( context: GetStaticPropsContext ): Promise<{ notFound: boolean } | { props: Props }> { const props: Props = { ...(await getAppStaticProps(context)), }; return { props: props, }; }