diff options
| author | Adam Soltys <[email protected]> | 2026-03-03 13:37:47 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-03 13:37:47 -0800 |
| commit | 35f15ebc061076709293bbe4e3e2ace78ac79445 (patch) | |
| tree | 19ba2d5b8d6a927372a16a86c55218f81ef4db35 /src/routes/(app)/admin/+layout.svelte | |
| parent | c6ed33aa9d1d0cdd65aa8d81aa9a05551e975822 (diff) | |
| download | coinos-ui-35f15ebc061076709293bbe4e3e2ace78ac79445.tar.gz coinos-ui-35f15ebc061076709293bbe4e3e2ace78ac79445.zip | |
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 <[email protected]>
Diffstat (limited to 'src/routes/(app)/admin/+layout.svelte')
| -rw-r--r-- | src/routes/(app)/admin/+layout.svelte | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/routes/(app)/admin/+layout.svelte b/src/routes/(app)/admin/+layout.svelte index 28e8b7d0..3e1f6585 100644 --- a/src/routes/(app)/admin/+layout.svelte +++ b/src/routes/(app)/admin/+layout.svelte @@ -1,10 +1,9 @@ <script lang="ts"> import LandingHeader from "$comp/LandingHeader.svelte"; let { data, children } = $props(); - let user = $derived(data.user); </script> -<LandingHeader {user} /> +<LandingHeader /> <main class="container px-10 md:px-40 mx-auto min-h-[600px] pb-20"> {@render children?.()} </main> |
