Add /resources/machine-usage-agreement
This commit is contained in:
parent
28619842e7
commit
6abbe6f643
|
@ -1 +0,0 @@
|
|||
# Machine Usage Agreement
|
|
@ -0,0 +1,18 @@
|
|||
import path from "path";
|
||||
|
||||
import {
|
||||
createReadAllPage,
|
||||
Options,
|
||||
} from "@/components/OrganizedContent/ReadAll";
|
||||
import { createReadAllGetStaticProps } from "@/components/OrganizedContent/static";
|
||||
|
||||
export const options: Options = {
|
||||
title: "Machine Usage Agreement",
|
||||
// TODO: Different image for this?
|
||||
image: "images/services.svg",
|
||||
pagePath: path.join("resources", "machine-usage-agreement"),
|
||||
};
|
||||
|
||||
export default createReadAllPage(options);
|
||||
|
||||
export const getStaticProps = createReadAllGetStaticProps(options.pagePath);
|
|
@ -0,0 +1,12 @@
|
|||
import { createSectionPage } from "@/components/OrganizedContent/Section";
|
||||
import {
|
||||
createSectionGetStaticPaths,
|
||||
createSectionGetStaticProps,
|
||||
} from "@/components/OrganizedContent/static";
|
||||
|
||||
import { options } from "../machine-usage-agreement";
|
||||
|
||||
export default createSectionPage(options);
|
||||
|
||||
export const getStaticProps = createSectionGetStaticProps(options.pagePath);
|
||||
export const getStaticPaths = createSectionGetStaticPaths(options.pagePath);
|
Loading…
Reference in New Issue