Files
sorsfonalak/services/frontend/src/components/PublicFooter.tsx
T
fecoandClaude Opus 5.5 699ce2abbd
CI / test (push) Successful in 2m6s
CI / build (push) Skipped
CI / deploy (push) Skipped
Moon and retrograde calendars, "today in the sky" on the own chart
New public pages: /holdnaptar (new and full moons, quarters, eclipses and
the Moon's sign changes, month by month, with the Moon of today) and
/retrograd (the retrograde periods of Mercury to Pluto with their shadows,
and which planets are retrograde now), each with a page per year around
the current one. The own chart gets a "Ma az égen" card: the Moon's sign,
phase and natal house, the tightest transits to the chart in fixed
sentences, and the retrograde planets. No AI, nothing stored.

The events come from astro-engine (sampling and bisection, checked against
swetest and the 2026 eclipses) through horoscope-api GET /v1/sky and
/v1/sky/events; the backend serves them at /v1/public/sky… and keeps them
in memory (the sky now for five minutes, a year's events for good). Links
in the mobile menu, the footer, the sitemap and the free tools on the home
page; the desktop header is unchanged (it is full at 1280 px).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-23 17:21:36 +00:00

34 lines
1.3 KiB
TypeScript

import Link from "next/link";
import { Logo } from "@/components/SiteHeader";
/** The footer of the public content pages (calculator, signs): their links help visitors and search engines. */
export function PublicFooter() {
return (
<footer className="lp-footer">
<div className="lp-wrap lp-footer-inner">
<Logo />
<nav aria-label="Lábléc" className="lp-footer-nav">
<Link href="/szuletesi-horoszkop">Születési horoszkóp</Link>
<Link href="/csillagjegyek">Csillagjegyek</Link>
<Link href="/hires-emberek">Híres emberek</Link>
<Link href="/holdnaptar">Holdnaptár</Link>
<Link href="/retrograd">Retrográd bolygók</Link>
<Link href="/pelda">Példaelemzés</Link>
<Link href="/kartyajoslas/pelda">Példajóslás</Link>
<Link href="/aszf">ÁSZF</Link>
<Link href="/adatvedelem">Adatvédelem</Link>
</nav>
<span className="hint">© {new Date().getFullYear()} Sorsfonalak</span>
</div>
</footer>
);
}
/** Structured data for search engines (JSON-LD). */
export function JsonLd({ data }: { data: object }) {
// "<" escaped, so the JSON cannot close the script element.
const json = JSON.stringify(data).replace(/</g, "\\u003c");
return <script type="application/ld+json" dangerouslySetInnerHTML={{ __html: json }} />;
}