From c548d8760a1ad6f744517cb1056da0dc0f20d011 Mon Sep 17 00:00:00 2001
From: Liliana Sanfilippo <liliana.sanfilippo@uni-bielefeld.de>
Date: Thu, 26 Sep 2024 20:02:38 +0200
Subject: [PATCH] Methods

---
 src/contents/methods.tsx | 18 ++++++++++--------
 src/pages.ts             |  5 +++--
 src/sidebars/methS.tsx   | 17 +++++++++++++++++
 3 files changed, 30 insertions(+), 10 deletions(-)
 create mode 100644 src/sidebars/methS.tsx

diff --git a/src/contents/methods.tsx b/src/contents/methods.tsx
index 31d0c8b9..51337503 100644
--- a/src/contents/methods.tsx
+++ b/src/contents/methods.tsx
@@ -1,17 +1,19 @@
+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>
       </>
     );
   }
diff --git a/src/pages.ts b/src/pages.ts
index 62163b50..695bbeef 100644
--- a/src/pages.ts
+++ b/src/pages.ts
@@ -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",
diff --git a/src/sidebars/methS.tsx b/src/sidebars/methS.tsx
new file mode 100644
index 00000000..abc5b60e
--- /dev/null
+++ b/src/sidebars/methS.tsx
@@ -0,0 +1,17 @@
+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"},
+  ];
-- 
GitLab