Create code of conduct
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
96d2a95e20
commit
02521fb509
|
@ -1 +0,0 @@
|
|||
# Code of Conduct page
|
|
@ -0,0 +1,14 @@
|
|||
import path from "path";
|
||||
|
||||
import { createReadAllPage } from "@/components/OrganizedContent/ReadAll";
|
||||
import { createReadAllGetStaticProps } from "@/components/OrganizedContent/static";
|
||||
|
||||
export const CODE_OF_CONDUCT_PAGE = path.join("about", "code-of-conduct");
|
||||
|
||||
export default createReadAllPage({
|
||||
title: "Code of Conduct",
|
||||
image: "images/code-of-conduct.svg",
|
||||
pagePath: CODE_OF_CONDUCT_PAGE,
|
||||
});
|
||||
|
||||
export const getStaticProps = createReadAllGetStaticProps(CODE_OF_CONDUCT_PAGE);
|
|
@ -0,0 +1,16 @@
|
|||
import { createSectionPage } from "@/components/OrganizedContent/Section";
|
||||
import {
|
||||
createSectionGetStaticPaths,
|
||||
createSectionGetStaticProps,
|
||||
} from "@/components/OrganizedContent/static";
|
||||
|
||||
import { CODE_OF_CONDUCT_PAGE } from "../code-of-conduct";
|
||||
|
||||
export default createSectionPage({
|
||||
title: "Code of Conduct",
|
||||
image: "images/code-of-conduct.svg",
|
||||
pagePath: CODE_OF_CONDUCT_PAGE,
|
||||
});
|
||||
|
||||
export const getStaticProps = createSectionGetStaticProps(CODE_OF_CONDUCT_PAGE);
|
||||
export const getStaticPaths = createSectionGetStaticPaths(CODE_OF_CONDUCT_PAGE);
|
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 62 KiB |
Loading…
Reference in New Issue