aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/+page.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-03 13:37:47 -0800
committerAdam Soltys <[email protected]>2026-03-03 13:37:47 -0800
commit35f15ebc061076709293bbe4e3e2ace78ac79445 (patch)
tree19ba2d5b8d6a927372a16a86c55218f81ef4db35 /src/routes/+page.svelte
parentc6ed33aa9d1d0cdd65aa8d81aa9a05551e975822 (diff)
downloadcoinos-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/+page.svelte')
-rw-r--r--src/routes/+page.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 5fa7da3b..13cbd011 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -11,7 +11,7 @@
import { t } from "$lib/translations";
let { data } = $props();
- let { faqs, locations, user } = $derived(data as any);
+ let { faqs, locations } = $derived(data as any);
let howItWorks = $state();
let faq = $state();
@@ -28,7 +28,7 @@
<link rel="preload" href="/images/hero-image.webp" as="image" type="image/webp" />
</svelte:head>
-<LandingHeader {howItWorks} {faq} {about} {user} />
+<LandingHeader {howItWorks} {faq} {about} />
<main class="space-y-20 md:space-y-40 py-20 md:py-32 lg:py-36 xl:py-40 px-5 md:px-0 pt-20">
<LandingHero />