Moon and retrograde calendars, "today in the sky" on the own chart
CI / test (push) Successful in 2m6s
CI / build (push) Skipped
CI / deploy (push) Skipped

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
This commit is contained in:
feco
2026-11-23 17:21:36 +00:00
co-authored by Claude Opus 5.5
parent 3255e939c4
commit 699ce2abbd
30 changed files with 2230 additions and 5 deletions
+6
View File
@@ -2,6 +2,7 @@ import type { MetadataRoute } from "next";
import { ZODIAC } from "@/content/zodiac";
import { loadCelebrities } from "@/lib/celebrities";
import { currentYear } from "@/lib/sky";
import { siteUrl } from "@/lib/share";
/** The public pages for search engines; everything else needs a login. */
@@ -10,6 +11,7 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
const privacy = { languages: { hu: `${base}/adatvedelem`, en: `${base}/privacy` } };
// The sitemap still works when the backend does not answer.
const people = await loadCelebrities().catch(() => []);
const next = currentYear() + 1;
return [
{ url: `${base}/`, changeFrequency: "weekly", priority: 1 },
{ url: `${base}/pelda`, changeFrequency: "monthly", priority: 0.8 },
@@ -17,6 +19,10 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
{ url: `${base}/szuletesi-horoszkop`, changeFrequency: "monthly", priority: 0.9 },
{ url: `${base}/csillagjegyek`, changeFrequency: "monthly", priority: 0.8 },
...ZODIAC.map((z) => ({ url: `${base}/csillagjegyek/${z.slug}`, changeFrequency: "monthly" as const, priority: 0.7 })),
{ url: `${base}/holdnaptar`, changeFrequency: "daily", priority: 0.8 },
{ url: `${base}/holdnaptar/${next}`, changeFrequency: "monthly", priority: 0.6 },
{ url: `${base}/retrograd`, changeFrequency: "daily", priority: 0.8 },
{ url: `${base}/retrograd/${next}`, changeFrequency: "monthly", priority: 0.6 },
{ url: `${base}/hires-emberek`, changeFrequency: "weekly", priority: 0.7 },
...people.map((p) => ({
url: `${base}/hires-emberek/${p.slug}`,