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

iGemBielefeldSidebar

parent ae4b5b37
No related branches found
No related tags found
No related merge requests found
Pipeline #437845 passed
...@@ -25,6 +25,7 @@ import { DescSidebar, NoSidebar, EngSide } from "./contents"; ...@@ -25,6 +25,7 @@ import { DescSidebar, NoSidebar, EngSide } from "./contents";
import { IBIE, 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";
import { Methods } from "./contents/methods"; import { Methods } from "./contents/methods";
import { METHH } from "./headers/meth-h"; import { METHH } from "./headers/meth-h";
import { iGemBielefeldSidebar } from "./sidebars/igbS";
import { PartSidebar } from "./sidebars/prtS"; import { PartSidebar } from "./sidebars/prtS";
interface Base { interface Base {
...@@ -135,7 +136,7 @@ const Pages: (Page | Folder)[] = [ ...@@ -135,7 +136,7 @@ const Pages: (Page | Folder)[] = [
path: "/igem-bielefeld", path: "/igem-bielefeld",
component: igemBielefeld, component: igemBielefeld,
header: IBIE, header: IBIE,
navlist: NoSidebar, navlist: iGemBielefeldSidebar,
}, },
{ {
name: "Impressum", name: "Impressum",
...@@ -269,7 +270,7 @@ export const NavPages: (Page | PageRef | Folder)[] = [ ...@@ -269,7 +270,7 @@ export const NavPages: (Page | PageRef | Folder)[] = [
path: "/igem-bielefeld", path: "/igem-bielefeld",
component: igemBielefeld, component: igemBielefeld,
header: IBIE, header: IBIE,
navlist: NoSidebar, navlist: iGemBielefeldSidebar,
}, },
], ],
}, },
......
import { createSidebar } from "../utils/createSidebar";
export function iGemBielefeldSidebar(){
let sidebar = createSidebar(tabs);
return(
<div className="col-2 d-none d-lg-block">
{sidebar}
</div>
)
}
const tabs = [
{ tab: "History" },
{ tab: "Steering Commitee", subtabs: ["Jörn"]},
{tab: "Former Teams"},
{tab: "Future"}
];
\ No newline at end of file
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