import { getTranslations } from "next-intl/server"; import { CheckCircle } from "lucide-react"; import Link from "next/link"; export async function generateMetadata({ params: { locale }, }: { params: { locale: string }; }) { const t = await getTranslations({ locale, namespace: "metadata" }); return { title: `${t("title")} - Buchung erfolgreich`, description: t("description"), }; } export default function BookingSuccessPage({ params: { locale }, }: { params: { locale: string }; }) { const isDe = locale === "de"; return (

{isDe ? "Anzahlung erfolgreich!" : "Deposit successful!"}

{isDe ? "Vielen Dank für Ihre Buchung. Sie erhalten in Kürze eine Bestätigungs-E-Mail. Die monatlichen Rechnungen werden Ihnen über das Kundenportal zur Verfügung gestellt." : "Thank you for your booking. You will receive a confirmation email shortly. Monthly invoices will be available through the customer portal."}

{isDe ? "Zurück zur Startseite" : "Back to home"}
); }