Landingsside via iframe til /landing for uautentiserte
Unngår å duplisere landingssiden i SvelteKit — iframe loader den statiske filen fra Caddy /landing-ruten. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7233488c71
commit
daf9660353
1 changed files with 3 additions and 17 deletions
|
|
@ -294,23 +294,9 @@
|
|||
</script>
|
||||
|
||||
{#if !$page.data.session?.user}
|
||||
<!-- Landingsside for uautentiserte -->
|
||||
<div class="min-h-screen" style="background: #0a0a0b; color: #e8e8ec; font-family: Inter, -apple-system, sans-serif;">
|
||||
<div style="max-width: 800px; margin: 0 auto; padding: 0 24px;">
|
||||
<header style="display: flex; justify-content: space-between; align-items: center; padding: 32px 0;">
|
||||
<div style="font-size: 1.25rem; font-weight: 700;">synops<span style="color: #6366f1;">.</span></div>
|
||||
<a href="/auth/signin" style="padding: 10px 24px; background: #6366f1; color: white; border-radius: 8px; text-decoration: none; font-size: 0.9rem; font-weight: 500;">Logg inn</a>
|
||||
</header>
|
||||
<section style="padding: 80px 0 60px; text-align: center;">
|
||||
<h1 style="font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 24px;">
|
||||
Stappfull av <em style="font-style: normal; background: linear-gradient(135deg, #6366f1, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">features</em><br>(hvorav et fåtall virker som forutsatt)
|
||||
</h1>
|
||||
<p style="font-family: Literata, Georgia, serif; font-style: italic; font-size: 1.15rem; color: #8a8a96; max-width: 560px; margin: 0 auto 48px;">
|
||||
En useriøs plattform for kommunikasjon, redaksjonelt arbeid, podcastproduksjon og egentlig alt du vil. Bygget med uvitenhet, overmot og en urimelig mengde AI-assistanse.
|
||||
</p>
|
||||
<a href="/auth/signin" style="padding: 14px 32px; background: #6366f1; color: white; border-radius: 10px; font-size: 1rem; font-weight: 600; text-decoration: none; box-shadow: 0 0 40px rgba(99,102,241,0.15);">Kom i gang →</a>
|
||||
</section>
|
||||
</div>
|
||||
<!-- Landingsside for uautentiserte — servert fra statisk fil via iframe -->
|
||||
<div style="position: fixed; inset: 0; margin: 0; overflow: hidden;">
|
||||
<iframe src="/landing" title="Synops" style="width: 100%; height: 100%; border: none;"></iframe>
|
||||
</div>
|
||||
{:else}
|
||||
<div class="min-h-screen bg-gray-50">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue