aboutsummaryrefslogtreecommitdiffstats
path: root/apps/portal/src/app/pages/_layout@loggedin.svelte
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-06-07 01:33:52 +0200
committerivarlovlie <git@ivarlovlie.no>2022-06-07 01:34:48 +0200
commita8b44b09a404aee477e735501b828d1b14aad311 (patch)
tree41b8e21f7484a3f93867a137826da255081fb0ab /apps/portal/src/app/pages/_layout@loggedin.svelte
parent591f1c5fd81bd2b92e91a90847ea06438211078d (diff)
downloadgreatoffice-a8b44b09a404aee477e735501b828d1b14aad311.tar.xz
greatoffice-a8b44b09a404aee477e735501b828d1b14aad311.zip
feat: Add inital translation support
Diffstat (limited to 'apps/portal/src/app/pages/_layout@loggedin.svelte')
-rw-r--r--apps/portal/src/app/pages/_layout@loggedin.svelte11
1 files changed, 6 insertions, 5 deletions
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"