import type { Metadata } from "next"; import { ArrowRight, Sparkles } from "lucide-react"; import Link from "next/link"; import { getTranslations } from "next-intl/server"; import { FloatingPreferences } from "@/components/layout/floating-preferences"; import { HeroMotionBackdrop } from "@/components/layout/hero-motion-backdrop"; import { MotionFade } from "@/components/motion-fade"; import { Button } from "@/components/ui/button"; import { getSiteSettings } from "@/lib/app-config"; import { buildLocalizedMetadata } from "@/lib/metadata"; import { getLocalizedPath, resolveLocale } from "@/lib/locale"; type ComingSoonPageProps = { params: { locale: string; }; }; export async function generateMetadata({ params: { locale }, }: ComingSoonPageProps): Promise { const localeKey = resolveLocale(locale); const t = await getTranslations({ locale: localeKey, namespace: "comingSoon" }); const siteSettings = await getSiteSettings(); return await buildLocalizedMetadata({ locale: localeKey, pathname: "/coming-soon", title: siteSettings.locales[localeKey].siteName, description: t("description"), applyTitleTemplate: false, }); } export default async function ComingSoonPage({ params: { locale }, }: ComingSoonPageProps) { const localeKey = resolveLocale(locale); const t = await getTranslations({ locale: localeKey, namespace: "comingSoon" }); return (

{t("badge")}

{t("kicker")}

{t("titleLineOne")} {t("titleLineTwo")} {t("titleLineThree")}

{t("description")}

{t("note")}

); }