2021-08-23 09:27:59 -04:00
|
|
|
import path from "path";
|
|
|
|
|
|
|
|
import { createReadAllPage } from "@/components/OrganizedContent/ReadAll";
|
|
|
|
import { createReadAllGetStaticProps } from "@/components/OrganizedContent/static";
|
2021-08-23 16:28:25 -04:00
|
|
|
import {
|
|
|
|
mobileShapesConfig,
|
|
|
|
aboutShapesConfig,
|
|
|
|
} from "@/components/ShapesBackground";
|
2021-08-23 09:27:59 -04:00
|
|
|
|
2021-08-25 15:12:09 -04:00
|
|
|
export const options = {
|
2021-08-25 19:44:07 -04:00
|
|
|
pagePath: path.join("about", "constitution"),
|
2021-08-23 09:27:59 -04:00
|
|
|
title: "Constitution",
|
|
|
|
image: "images/constitution.svg",
|
2021-08-23 16:28:25 -04:00
|
|
|
getShapesConfig: () =>
|
|
|
|
window.innerWidth <= 768 ? mobileShapesConfig : aboutShapesConfig,
|
2021-08-25 15:12:09 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
export default createReadAllPage(options);
|
2021-08-23 09:27:59 -04:00
|
|
|
|
2021-08-25 15:12:09 -04:00
|
|
|
export const getStaticProps = createReadAllGetStaticProps(options.pagePath);
|