import type { Metadata } from "next"; import { getMe } from "@/lib/server"; import { currentYear, loadSky, loadSkyEvents } from "@/lib/sky"; import { RetrogradeCalendar } from "./RetrogradeCalendar"; export async function generateMetadata(): Promise { const year = currentYear(); return { title: `Merkúr retrográd ${year}: mikor retrográd a Merkúr és a többi bolygó?`, description: `Merkúr retrográd ${year}: a retrográd időszakok pontos kezdete és vége magyar idő szerint, árnyékszakaszokkal, a Vénusztól a Plútóig. Melyik bolygó retrográd most?`, alternates: { canonical: "/retrograd" }, }; } /** The retrograde periods of the current year, with the planets retrograde now. */ export default async function RetrogradePage() { const year = currentYear(); const [me, events, sky] = await Promise.all([getMe(), loadSkyEvents(year), loadSky()]); return ; }