www-new/pages/about/code-of-conduct/[section].tsx

13 lines
439 B
TypeScript

import { createSectionPage } from "@/components/OrganizedContent/Section";
import {
createSectionGetStaticPaths,
createSectionGetStaticProps,
} from "@/components/OrganizedContent/static";
import { options } from "../code-of-conduct";
export default createSectionPage(options);
export const getStaticProps = createSectionGetStaticProps(options.pagePath);
export const getStaticPaths = createSectionGetStaticPaths(options.pagePath);