diff --git a/src/app/(site)/[locale]/contacts/page.tsx b/src/app/(site)/[locale]/contacts/page.tsx index f48849f..3dcf800 100644 --- a/src/app/(site)/[locale]/contacts/page.tsx +++ b/src/app/(site)/[locale]/contacts/page.tsx @@ -5,7 +5,8 @@ import { ContactForm } from '@/components/ContactForm' import { Footer } from '@/components/Footer' import { Header } from '@/components/Header' import { getDict, isLocale, locales } from '@/i18n' -import { loadContent } from '@/lib/content' +import { loadContent, loadLegal } from '@/lib/content' +import { isLegalPublished } from '@/lib/legal-model' import { FALLBACK_EMAIL } from '@/lib/inquiry' export const dynamic = 'force-dynamic' @@ -30,6 +31,7 @@ export default async function ContactsPage({ params }: Props) { if (!isLocale(locale)) notFound() const t = getDict(locale) const { home } = await loadContent(locale) + const legal = await loadLegal(locale) const email = home?.contactEmail?.trim() || FALLBACK_EMAIL return ( <> @@ -43,10 +45,10 @@ export default async function ContactsPage({ params }: Props) { {t.contacts.emailLabel}: {email}

- +
-