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

Methods

parent e5a1c5c4
No related branches found
No related tags found
No related merge requests found
Pipeline #447592 passed
import { Section } from "../components/sections";
import { useTabNavigation } from "../utils/TabNavigation";
export function Methods() {
useTabNavigation();
return (
<>
<div className="row">
<div className="col">
</div>
</div>
<div className="row">
</div>
<Section title="Introduction" id="Introduction">
...
</Section>
<Section title="Patch Clamp" id="Patch Clamp">
...
</Section>
<Section title="Cell Lines" id="Cell Lines">
...
</Section>
</>
);
}
......@@ -27,6 +27,7 @@ import { Methods } from "./contents/methods";
import { METHH } from "./headers/meth-h";
import { ConSidebar } from "./sidebars/conS";
import { iGemBielefeldSidebar } from "./sidebars/igbS";
import { MethSidebar } from "./sidebars/methS";
import { PartSidebar } from "./sidebars/prtS";
import { ResultSidebar } from "./sidebars/resS";
......@@ -162,7 +163,7 @@ const Pages: (Page | Folder)[] = [
path: "/materials-methods",
component: Methods,
header: METHH,
navlist: NoSidebar,
navlist: MethSidebar,
},
{
name: "Notebook",
......@@ -338,7 +339,7 @@ export const NavPages: (Page | PageRef | Folder)[] = [
path: "/materials-methods",
component: Methods,
header: METHH,
navlist: NoSidebar,
navlist: MethSidebar,
},
{
name: "Results",
......
import { createSidebar } from "../utils/createSidebar";
export function MethSidebar(){
let sidebar = createSidebar(tabs);
return(
<div className="col-2 d-lg-block">
{sidebar}
</div>
)
}
const tabs = [
{ tab: "Introduction"},
{ tab: "Patch Clamp"},
{tab: "Cell Lines"},
];
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