33 lines
1.3 KiB
TypeScript
33 lines
1.3 KiB
TypeScript
import { PostPage } from "components/PostPage";
|
|
import {
|
|
getPostStaticProps,
|
|
PostStaticProps,
|
|
} from "graphql/getPostStaticProps";
|
|
import { useAppLayout } from "contexts/AppLayoutContext";
|
|
|
|
/*
|
|
* ╭────────╮
|
|
* ──────────────────────────────────────────╯ PAGE ╰─────────────────────────────────────────────
|
|
*/
|
|
|
|
const AccordsHandbook = (props: PostStaticProps): JSX.Element => {
|
|
const { langui } = useAppLayout();
|
|
return (
|
|
<PostPage
|
|
{...props}
|
|
returnHref="/about-us/"
|
|
returnTitle={langui.about_us}
|
|
displayToc
|
|
displayLanguageSwitcher
|
|
/>
|
|
);
|
|
};
|
|
export default AccordsHandbook;
|
|
|
|
/*
|
|
* ╭──────────────────────╮
|
|
* ───────────────────────────────────╯ NEXT DATA FETCHING ╰──────────────────────────────────────
|
|
*/
|
|
|
|
export const getStaticProps = getPostStaticProps("accords-handbook");
|