diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index d4caf01..f89ac51 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -3,13 +3,9 @@ let { children } = $props(); import { page } from '$app/stores'; const currentPath = $derived($page.url.pathname); - // import { goto } from '$app/navigation'; + import {selectedDate} from "$lib/stores/dateStore" + import UserIcon from '$lib/icons/UserIcon.svelte'; - // $effect(()=>{ - // if (!isAuthenticated && $page.url.pathname != "/login"){ - // // goto("/login") - // } - // }); const paths = [ { Path: "/ping", @@ -41,16 +37,25 @@ {#if $page.url.pathname != "/login"} {/if}