The visitor header on every public page
CI / test (push) Successful in 1m22s
CI / build (push) Successful in 4m46s
CI / deploy (push) Skipped

The example analysis, shared charts, the invitation page and the privacy
page showed visitors just the logo. They now get the home page's header:
the sections, the example and the login.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-19 11:42:02 +00:00
co-authored by Claude Opus 5.5
parent 2b7866d4c5
commit 1ab693175e
6 changed files with 34 additions and 33 deletions
+2 -13
View File
@@ -2,7 +2,7 @@ import Link from "next/link";
import { ChartWheel } from "@/components/ChartWheel";
import { Rich } from "@/components/Rich";
import { Logo } from "@/components/SiteHeader";
import { Logo, PublicHeader } from "@/components/SiteHeader";
import { Waitlist } from "@/components/Waitlist";
import example from "@/content/pelda.json";
import type { AnalysisContent, ChartResult } from "@/lib/types";
@@ -60,18 +60,7 @@ export function Landing({ inviteOnly }: { inviteOnly: boolean }) {
return (
<div className="lp">
<header className="site-header lp-header">
<Logo />
<nav className="nav lp-nav" aria-label="Fő navigáció">
<a href="#elemzes">Elemzés</a>
<a href="#elorejelzes">Előrejelzés</a>
<a href="#osszevetes">Összevetés</a>
<Link href="/pelda">Példa</Link>
</nav>
<Link href="/belepes" className="btn btn-sm">
Belépés
</Link>
</header>
<PublicHeader onHome />
<section className="lp-hero">
<svg className="lp-stars" aria-hidden="true" viewBox="0 0 1000 600" preserveAspectRatio="xMidYMid slice">