From dc1829d00de895647847c3bb8fc7a4078f41ec52 Mon Sep 17 00:00:00 2001
From: Furkan Sahin <furkan-dev@proton.me>
Date: Fri, 3 Jun 2022 11:27:49 -0500
Subject: Load DarkMode component in Sidebar

---
 src/Sidebar.svelte | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

(limited to 'src/Sidebar.svelte')

diff --git a/src/Sidebar.svelte b/src/Sidebar.svelte
index b3fa352..c086452 100644
--- a/src/Sidebar.svelte
+++ b/src/Sidebar.svelte
@@ -1,3 +1,7 @@
+<script>
+    import DarkModeSwitch from "./DarkModeSwitch.svelte";
+</script>
+
 <!-- Entire Page -->
 <div class="flex flex-row h-screen">
     <!-- SIDEBAR -->
@@ -6,7 +10,11 @@
         <div
             class="font-serif flex-none text-center text-2xl text-neutral-900 p-4 border-b font-black"
         >
-            Peer Teacher Manager
+            <!-- Text -->
+            <div>Peer Teacher Manager</div>
+            <div>
+                <DarkModeSwitch/>
+            </div>
         </div>
 
         <!-- Sidebar sections -->
@@ -17,7 +25,6 @@
                 >
                     Selection {i + 1}
                 </div>
-                <button class="btn btn-primary">Button</button>
             {/each}
         </div>
     </div>
-- 
cgit v1.2.3

