import type { Metadata } from "next"; import { Container, SectionHeading } from "@/components/ui"; import { HoneycombPattern, HexMark } from "@/components/honeycomb"; import { ScrollReveal } from "@/components/scroll-reveal"; import { getCompanyInfo } from "@/lib/company-info"; import { getLocale } from "@/i18n/locale"; import { getDictionary } from "@/i18n/get-dictionary"; export async function generateMetadata(): Promise { const t = getDictionary(await getLocale()); return { title: t.kontaktPage.eyebrow, description: t.kontaktPage.title, alternates: { canonical: "/kontakt" }, }; } export default async function KontaktPage() { const t = getDictionary(await getLocale()); const company = await getCompanyInfo(); return (
{/* Kontaktkarte auf Wabenraster: die E-Mail ist der Hauptweg und steht deshalb gross in Serifenschrift. */}
{company.email} {/* Ohne gepflegte Nummer entfaellt die Zeile ganz. Eine Platzhalternummer waere schlimmer als keine: sie sieht nach einem Kontaktweg aus, an dessen Ende niemand abnimmt. */} {company.phone ?

{company.phone}

: null}
{company.name} {company.address.street}
{company.address.zip} {company.address.city}

{t.kontaktPage.pickupHeading}

{t.kontaktPage.pickupText}

); }