import { GetStaticProps } from "next"; import { useMemo } from "react"; import { AppLayout } from "components/AppLayout"; import { PanelHeader } from "components/PanelComponents/PanelHeader"; import { SubPanel } from "components/Panels/SubPanel"; import { AppStaticProps, getAppStaticProps } from "graphql/getAppStaticProps"; import { Icon } from "components/Ico"; /* * ╭────────╮ * ──────────────────────────────────────────╯ PAGE ╰───────────────────────────────────────────── */ interface Props extends AppStaticProps {} const Chronicles = ({ langui, ...otherProps }: Props): JSX.Element => { const subPanel = useMemo( () => ( ), [langui] ); return ( ); }; export default Chronicles; /* * ╭──────────────────────╮ * ───────────────────────────────────╯ NEXT DATA FETCHING ╰────────────────────────────────────── */ export const getStaticProps: GetStaticProps = async (context) => { const props: Props = { ...(await getAppStaticProps(context)), }; return { props: props, }; };