import type { Metadata } from "next"; import { Mail, MapPin, Phone } from "lucide-react"; import Link from "next/link"; import { getTranslations } from "next-intl/server"; import { Container } from "@/components/layout/container"; import { MotionFade } from "@/components/motion-fade"; import { buildLocalizedMetadata } from "@/lib/metadata"; import { getLocalizedPath, resolveLocale } from "@/lib/locale"; import { AppCard } from "@/components/ui/app-card"; import { Button } from "@/components/ui/button"; import { CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { Textarea } from "@/components/ui/textarea"; type ContactPageProps = { params: { locale: string; }; }; export async function generateMetadata({ params: { locale }, }: ContactPageProps): Promise { const localeKey = resolveLocale(locale); const t = await getTranslations({ locale: localeKey, namespace: "contactPage" }); return buildLocalizedMetadata({ locale: localeKey, pathname: "/contact", title: t("title"), description: t("intro"), }); } export default async function ContactPage({ params: { locale } }: ContactPageProps) { const localeKey = resolveLocale(locale); const t = await getTranslations({ locale: localeKey, namespace: "contactPage" }); return ( {t("title")}

{t("intro")}

  • +49 30 123456
  • hello@moh-sass.dev
  • {t("city")}