diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelte index ad34d9be..11f31185 100644 --- a/frontend/src/routes/+layout.svelte +++ b/frontend/src/routes/+layout.svelte @@ -24,6 +24,10 @@ onMount(() => { hydrated = true; }); +const isAuthPage = $derived( + ['/login', '/forgot-password', '/reset-password'].some((p) => page.url.pathname.startsWith(p)) +); + let userMenuOpen = $state(false); const userInitials = $derived.by(() => { @@ -47,7 +51,7 @@ function clickOutside(node: HTMLElement) {