From 1bb31b298cab4552446aca9957f9592a34b2134f Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Mon, 10 Oct 2022 00:37:14 +0800
Subject: refactor: Don't render /book in prod

---
 code/app/src/routes/book/+layout.svelte | 28 ++++------------------------
 1 file changed, 4 insertions(+), 24 deletions(-)

(limited to 'code/app/src/routes/book/+layout.svelte')

diff --git a/code/app/src/routes/book/+layout.svelte b/code/app/src/routes/book/+layout.svelte
index aeed0d4..f5287e0 100644
--- a/code/app/src/routes/book/+layout.svelte
+++ b/code/app/src/routes/book/+layout.svelte
@@ -5,30 +5,10 @@
 
 <div id="wrapper">
     <nav>
-        <a
-            href="/book/alerts"
-            class="link"
-            class:active={$page.url.pathname.startsWith("/book/alerts")}
-            >Alerts</a
-        >
-        <a
-            href="/book/buttons"
-            class="link"
-            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
-        >
-        <a
-            href="/book/inputs"
-            class="link"
-            class:active={$page.url.pathname.startsWith("/book/inputs")}
-            >Inputs</a
-        >
+        <a href="/book/alerts" class="link" class:active={$page.url.pathname.startsWith("/book/alerts")}>Alerts</a>
+        <a href="/book/buttons" class="link" 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>
+        <a href="/book/inputs" class="link" class:active={$page.url.pathname.startsWith("/book/inputs")}>Inputs</a>
     </nav>
     <main>
         <slot />
-- 
cgit v1.3

