From 3a9975ce230a892a8af0286ffa81776d03a8361b Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Wed, 28 Sep 2022 21:31:41 +0800
Subject: feat: Add switch component

---
 apps/kit/src/routes/book/+layout.svelte | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'apps/kit/src/routes/book/+layout.svelte')

diff --git a/apps/kit/src/routes/book/+layout.svelte b/apps/kit/src/routes/book/+layout.svelte
index fc55d9d..02d03b6 100644
--- a/apps/kit/src/routes/book/+layout.svelte
+++ b/apps/kit/src/routes/book/+layout.svelte
@@ -17,6 +17,12 @@
             class:active={$page.url.pathname.startsWith("/book/buttons")}
             >Buttons</a
         >
+        <a
+            href="/book/toggles"
+            class="link"
+            class:active={$page.url.pathname.startsWith("/book/toggles")}
+            >Toggles</a
+        >
     </nav>
     <main>
         <slot />
-- 
cgit v1.3

