Skip to content
Snippets Groups Projects
Commit 60b8f8db authored by Liliana Sanfilippo's avatar Liliana Sanfilippo
Browse files

igem Bielefeld

parent 1fb0595b
No related branches found
No related tags found
No related merge requests found
Pipeline #425926 failed
......@@ -2,7 +2,7 @@ import { useEffect } from "react";
import { useLocation } from "react-router-dom";
import { openFromOtherPage } from "../utils/openFromOtherpAge";
export function Collaborations() {
export function igemBielefeld() {
const location = useLocation();
useEffect(() => {
......
......@@ -67,6 +67,6 @@ export * from "../sidebars/none.tsx"
export * from "./collaborations.tsx";
export * from "../headers/coll-h.tsx"
export * from "./igem-bielefeld.tsx";
export * from "../headers/ibie-h.tsx"
export function COLLH() {
export function IBIE() {
return (
<HeaderBox title="Collaborations">
<HeaderBox title="iGem Bielefeld">
</HeaderBox>
);
......
......@@ -17,11 +17,11 @@
Team,
Impressum,
Example,
Collaborations
igemBielefeld
} from "./contents";
import { DescSidebar, SafetySidebar, NoSidebar, EngSide } from "./contents";
import { COLLH, JUDGEH, PRODESC, SUPH, PARTH, ENGH, HOMEH, HPH, SPONH, RESH, ATTH, CONTH, DESCH, EXPH, IMPH, NOTEH, SAFEH, TEAMH } from "./contents";
import { IBIE, JUDGEH, PRODESC, SUPH, PARTH, ENGH, HOMEH, HPH, SPONH, RESH, ATTH, CONTH, DESCH, EXPH, IMPH, NOTEH, SAFEH, TEAMH } from "./contents";
interface Base {
name: string | undefined;
......@@ -59,14 +59,6 @@ const Pages: (Page | Folder)[] = [
header: ATTH,
navlist: NoSidebar,
},
{
name: "Collaborations",
title: "Collaborations",
path: "/collaborations",
component: Collaborations,
header: COLLH,
navlist: NoSidebar,
},
{
name: "Contribution",
title: "Contribution",
......@@ -133,6 +125,14 @@ const Pages: (Page | Folder)[] = [
header: HOMEH,
navlist: NoSidebar
},
{
name: "iGem Bielefeld",
title: "iGem Bielefeld",
path: "/igem-bielefeld",
component: igemBielefeld,
header: IBIE,
navlist: NoSidebar,
},
{
name: "Impressum",
title: undefined,
......@@ -254,8 +254,10 @@ export const NavPages: (Page | PageRef | Folder)[] = [
{
name: "iGem Bielefeld",
title: "iGem Bielefeld",
path: "/",
path: "/igem-bielefeld",
component: igemBielefeld,
header: IBIE,
navlist: NoSidebar,
},
],
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment