From a8b44b09a404aee477e735501b828d1b14aad311 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Tue, 7 Jun 2022 01:33:52 +0200
Subject: feat: Add inital translation support

---
 apps/portal/src/app/pages/_layout@loggedin.svelte | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

(limited to 'apps/portal/src/app/pages/_layout@loggedin.svelte')

diff --git a/apps/portal/src/app/pages/_layout@loggedin.svelte b/apps/portal/src/app/pages/_layout@loggedin.svelte
index eb092a1..ea56f73 100644
--- a/apps/portal/src/app/pages/_layout@loggedin.svelte
+++ b/apps/portal/src/app/pages/_layout@loggedin.svelte
@@ -1,5 +1,5 @@
 <script>
-	import ThemeSwitcher from "$shared/components/theme-switcher.svelte";
+	import BlowoutToolbelt from "$shared/components/blowout-toolbelt.svelte";
 	import UserMenu from "$app/components/user-menu.svelte";
 	import {get_session_data} from "$shared/lib/session";
 
@@ -30,18 +30,19 @@
         height: auto;
     }
 </style>
-                                                                                                                                                                                                                                                            
+
+<BlowoutToolbelt/>
 <main class="container max-width-xl padding-x-xs padding-x-xxl@xs padding-y-md padding-y-lg@md">
     <div class="z-index-2 position-relative">
         <slot/>
     </div>
-    
+
     <div class="flex flex-row gap-xs position-fixed right-0 top-0 margin-md z-index-2">
-        <UserMenu name="{session.profile?.username}"/>
-        <ThemeSwitcher/>
+        <UserMenu name="{session?.profile?.username}"/>
     </div>
 
     <figure id="decoration"
+            class="z-index-1"
             aria-hidden="true">
         <svg class="color-contrast-higher opacity-10%"
              viewBox="0 0 1920 450"
-- 
cgit v1.3

