From afbe98090a90ae7770c3a319b8a30c1d23cfbbc3 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Tue, 11 Oct 2022 12:56:55 +0800
Subject: refactor: Only show LocaleSwitcher on public layout

---
 code/app/src/routes/(main)/(public)/+layout.svelte | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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

diff --git a/code/app/src/routes/(main)/(public)/+layout.svelte b/code/app/src/routes/(main)/(public)/+layout.svelte
index 69c29c5..0f1940a 100644
--- a/code/app/src/routes/(main)/(public)/+layout.svelte
+++ b/code/app/src/routes/(main)/(public)/+layout.svelte
@@ -1,11 +1,11 @@
 <script>
+    import { LocaleSwitcher } from "$lib/components";
     import LL from "$lib/i18n/i18n-svelte";
 </script>
 
+<LocaleSwitcher />
 <slot />
-<footer
-    class="grid sm:gap-5 grid-flow-row sm:justify-center px-2 sm:grid-flow-col"
->
+<footer class="grid sm:gap-5 grid-flow-row sm:justify-center px-2 sm:grid-flow-col">
     <a href="https://greatoffice.life/privacy" class="link">
         {$LL.privacyPolicy()}
     </a>
-- 
cgit v1.3

