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 -8
View File
@@ -5,7 +5,7 @@ import { notFound } from "next/navigation";
import { ChartWheel, WheelLegend } from "@/components/ChartWheel";
import { Rich } from "@/components/Rich";
import { ShareVisit } from "@/components/ShareVisit";
import { Logo } from "@/components/SiteHeader";
import { PublicHeader } from "@/components/SiteHeader";
import { SIGNS, signName } from "@/lib/astro";
import { getMe } from "@/lib/server";
import { bigThree, imageVersion, loadShare, plain, shorten, siteUrl } from "@/lib/share";
@@ -48,13 +48,7 @@ export default async function SharedChartPage({ params }: Props) {
<>
<ShareVisit slug={slug} />
{!me && (
<header className="site-header">
<Logo />
<span style={{ flex: 1 }} />
<Link href="/belepes" className="btn btn-sm">
Belépés
</Link>
</header>
<PublicHeader />
)}
<main className="page" style={{ maxWidth: 1180 }}>
<div className="page-head">