From 35f15ebc061076709293bbe4e3e2ace78ac79445 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 3 Mar 2026 13:37:47 -0800 Subject: static landing page with single Start Now button Prerender the landing page, replace conditional auth header buttons with a single "Start Now" that checks the username cookie client-side. Set username cookie httpOnly: false in all login/register flows. Co-Authored-By: Claude Opus 4.6 --- src/routes/(static)/+layout.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/routes/(static)/+layout.svelte') diff --git a/src/routes/(static)/+layout.svelte b/src/routes/(static)/+layout.svelte index b204cd0e..f44bfcda 100644 --- a/src/routes/(static)/+layout.svelte +++ b/src/routes/(static)/+layout.svelte @@ -7,7 +7,6 @@ import { page } from "$app/stores"; let { data, children } = $props(); - let user = $derived(data.user); let theme = $state(); $effect(() => { theme = $themeStore; @@ -17,7 +16,7 @@ - +
{@render children?.()} -- cgit v1.2.3