Newer
Older
import {
Contribution,
Description,
Notebook,
Results,
Safety,
Team,
import { BFHH, HOMEH, HPH, RESH, ATTH, CONTH, DESCH, EXPH, IMPH, NOTEH, SAFEH, TEAMH, WIKIH } from "./contents";
interface Base {
name: string | undefined;
}
class Folder implements Base {
name: string | undefined;
folder: Page[] | undefined;
}
class Page implements Base {
name: string | undefined;
title: string | undefined;
path: string | undefined;
component: React.FC | undefined;
navlist: Array<string> | undefined;
}
const Pages: (Page | Folder)[] = [
{
name: "Home",
title: "Bielefeld CeBiTec",
path: "/",
component: Home,
{
name: "Team",
folder: [
{
name: "Team",
title: "Team",
path: "/team",
component: Team,
navlist: [""],
},
{
name: "Attributions",
title: "Attributions",
path: "/attributions",
component: Attributions,
{
name: "Impressum",
title: "Impressum",
path: "/impressum",
component: Impressum,
],
},
{
name: "Project",
folder: [
{
name: "Contribution",
title: "Contribution",
path: "/contribution",
component: Contribution,
navlist: [""],
},
{
name: "Description",
title: "Project Description",
path: "/description",
component: Description,
navlist: ["Abstract", "Cystic Fibrosis", "Our motivation", "Approach", "Delivery", "Our vision", "References"]
},
name: "Engineering",
title: "Engineering Success",
path: "/engineering",
component: Engineering,
header: "Demonstrate engineering success in a technical aspect of your project by going through at least one iteration of the engineering design cycle. This achievement should be distinct from your Contribution for Bronze.",
{
name: "Experiments",
title: "Experiments",
path: "/experiments",
component: Experiments,
navlist: [""],
},
{
name: "Notebook",
title: "Notebook",
path: "/notebook",
component: Notebook,
navlist: [""],
},
{
name: "Results",
title: "Results",
path: "/results",
component: Results,
navlist: [""],
},
],
},
{
name: "Safety",
title: "Safety",
path: "/safety",
component: Safety,
navlist: [""],
},
{
name: "Human Practices",
title: "Human Practices",
path: "/human-practices",
component: HumanPractices,
name: "Awards",
folder: [
{
name: "Sustainable",
title: "Sustainable Development Goals",
path: "/sustainable",
component: Sustainable,
header: "Describe how you have evaluated your project ideas against one or more of the SDGs.",
navlist: [""],
},
],
{
name: "Contribution",
folder: [
{
name: "BFH",
title: "BFH European MeetUp",
path: "/bfh",
component: Bfh,
},
{
name: "Wiki",
title: "wiki",
path: "/wiki",
component: Wiki,
navlist: [""],
},
]
];
export default Pages;