import { useTranslations } from "next-intl"; import { getTranslations } from "next-intl/server"; import { Mail, Phone, MapPin } from "lucide-react"; export async function generateMetadata({ params: { locale }, }: { params: { locale: string }; }) { const t = await getTranslations({ locale, namespace: "contact" }); return { title: t("title"), description: t("description"), }; } export default function ContactPage({ params: { locale }, }: { params: { locale: string }; }) { const t = useTranslations("contact"); return (
{t("description")}
{t("email")}
info@bb-apartment.de{t("phone")}
+49 (0) 7031 7631132
{locale === "de" ? "Adresse" : "Address"}
BB-Apartment
Böblingen
Deutschland