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 -4
View File
@@ -4,7 +4,7 @@ import Link from "next/link";
import { AnalysisView } from "@/components/AnalysisView";
import { ChartWheel, WheelLegend } from "@/components/ChartWheel";
import { Rich } from "@/components/Rich";
import { Logo } from "@/components/SiteHeader";
import { PublicHeader } from "@/components/SiteHeader";
import example from "@/content/pelda.json";
import { getMe } from "@/lib/server";
import type { AnalysisContent, ChartResult } from "@/lib/types";
@@ -21,9 +21,7 @@ export default async function ExamplePage() {
return (
<>
{!me && (
<header className="site-header">
<Logo />
</header>
<PublicHeader current="pelda" />
)}
<main className="page" style={{ maxWidth: 1180 }}>
<div className="page-head">