Free birth chart instead of the sign calculator; free tools in the header
/szuletesi-horoszkop (was /aszcendens-kalkulator) shows the whole natal chart without an account: the wheel, Sun/Moon/Ascendant with links to the sign pages, the positions, houses, aspect grid and aspect list, the same views as the chart pages but without the AI parts. A calculation only, nothing saved, still 30 an hour per address (POST /v1/public/chart). The typed birth data are offered on the profile after sign-up. The visitors' header gets a separate 'Ingyenes' group (birth chart, signs) next to the paid sections, on phones in its own row; the home page links them under the hero buttons and in an 'Ingyenes' band. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -31,11 +31,19 @@ export function Logo() {
|
||||
}
|
||||
|
||||
/**
|
||||
* The header for visitors (not logged in): the home page sections, the
|
||||
* example and the login. `onHome`: the section links stay on the page.
|
||||
* The header for visitors (not logged in): the home page sections and the
|
||||
* example, then, set apart, the free tools, and the login. `onHome`: the
|
||||
* section links stay on the page.
|
||||
*/
|
||||
export function PublicHeader({ onHome = false, current }: { onHome?: boolean; current?: "pelda" }) {
|
||||
export function PublicHeader({
|
||||
onHome = false,
|
||||
current,
|
||||
}: {
|
||||
onHome?: boolean;
|
||||
current?: "pelda" | "horoszkop" | "csillagjegyek";
|
||||
}) {
|
||||
const home = onHome ? "" : "/";
|
||||
const here = (page: typeof current) => (current === page ? "page" : undefined);
|
||||
return (
|
||||
<header className="site-header lp-header">
|
||||
<Logo />
|
||||
@@ -43,10 +51,19 @@ export function PublicHeader({ onHome = false, current }: { onHome?: boolean; cu
|
||||
<a href={`${home}#elemzes`}>Elemzés</a>
|
||||
<a href={`${home}#elorejelzes`}>Előrejelzés</a>
|
||||
<a href={`${home}#osszevetes`}>Összevetés</a>
|
||||
<Link href="/pelda" aria-current={current === "pelda" ? "page" : undefined}>
|
||||
<Link href="/pelda" aria-current={here("pelda")}>
|
||||
Példa
|
||||
</Link>
|
||||
</nav>
|
||||
<nav className="lp-free" aria-label="Ingyenes, belépés nélkül">
|
||||
<span className="lp-free-label">Ingyenes</span>
|
||||
<Link href="/szuletesi-horoszkop" aria-current={here("horoszkop")}>
|
||||
Születési horoszkóp
|
||||
</Link>
|
||||
<Link href="/csillagjegyek" aria-current={here("csillagjegyek")}>
|
||||
Csillagjegyek
|
||||
</Link>
|
||||
</nav>
|
||||
<Link href="/belepes" className="btn btn-sm">
|
||||
Belépés
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user