The visitor header on every public page
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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user