import type { Metadata } from "next"; import { getTranslations } from "next-intl/server"; import { Container } from "@/components/layout/container"; import { PageHero } from "@/components/layout/page-hero"; import { AppCard } from "@/components/ui/app-card"; import { resolveLocale } from "@/lib/locale"; import { buildLocalizedMetadata } from "@/lib/metadata"; type AboutPageProps = { params: Promise<{ locale: string; }>; }; export const dynamic = "force-dynamic"; export async function generateMetadata({ params }: AboutPageProps): Promise { const { locale } = await params; const localeKey = resolveLocale(locale); const t = await getTranslations({ locale: localeKey, namespace: "aboutPage" }); return await buildLocalizedMetadata({ locale: localeKey, pathname: "/about", title: t("title"), description: t("description"), }); } export default async function AboutPage({ params }: AboutPageProps) { const { locale } = await params; const localeKey = resolveLocale(locale); const t = await getTranslations({ locale: localeKey, namespace: "aboutPage" }); return ( <>

{t("placeholder")}

); }