import type { Metadata } from "next"; import { PageHeader } from "@/components/PageHeader"; import { Section } from "@/components/Section"; import { ImagePlaceholder } from "@/components/ImagePlaceholder"; import { RichText } from "@/components/RichText"; import { CTA } from "@/components/CTA"; import { Reveal } from "@/components/Reveal"; import { OrganicBlob } from "@/components/OrganicBlob"; import { getAboutGlobal } from "@/lib/payload/globals"; import { mediaAlt, mediaUrl } from "@/lib/payload/media"; export const dynamic = "force-dynamic"; export async function generateMetadata(): Promise { const about = await getAboutGlobal(); return { title: about.title || "Über mich", description: "Mein Weg, meine Werte und was mich bewegt.", }; } export default async function UeberMichPage() { const about = await getAboutGlobal(); const hasClosing = about.closingHighlight || about.closingParagraph; return ( <>
{hasClosing && (
{about.closingLead && (

{about.closingLead}

)} {about.closingHighlight && (

„{about.closingHighlight}“

)} {about.closingParagraph && (

{about.closingParagraph}

)}
)} ); }