Add services page
This commit is contained in:
parent
bf0341852c
commit
fc7a31cc57
|
@ -1 +0,0 @@
|
||||||
# Services Page
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
import path from "path";
|
||||||
|
|
||||||
|
import {
|
||||||
|
createReadAllPage,
|
||||||
|
Options,
|
||||||
|
} from "@/components/OrganizedContent/ReadAll";
|
||||||
|
import { createReadAllGetStaticProps } from "@/components/OrganizedContent/static";
|
||||||
|
|
||||||
|
export const options: Options = {
|
||||||
|
title: "Services",
|
||||||
|
image: "images/services.svg",
|
||||||
|
pagePath: path.join("resources", "services"),
|
||||||
|
description:
|
||||||
|
"Here you can find all the links and instructions to the different resources available to all CSC members!",
|
||||||
|
imagePosition: "right",
|
||||||
|
};
|
||||||
|
|
||||||
|
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 "../services";
|
||||||
|
|
||||||
|
export default createSectionPage(options);
|
||||||
|
|
||||||
|
export const getStaticProps = createSectionGetStaticProps(options.pagePath);
|
||||||
|
export const getStaticPaths = createSectionGetStaticPaths(options.pagePath);
|
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 26 KiB |
Loading…
Reference in New Issue