From 3f0ba34d8581e42138a358394bac8454b4534f6e Mon Sep 17 00:00:00 2001 From: Peppa Date: Tue, 17 Nov 2026 17:45:51 +0500 Subject: [PATCH] =?UTF-8?q?QLFW-18:=20=D1=81=D1=81=D1=8B=D0=BB=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=BD=D0=B0=20=D0=BF=D0=BE=D0=BB=D0=B8=D1=82=D0=B8=D0=BA?= =?UTF-8?q?=D1=83=20=D0=B2=20=D1=81=D0=BE=D0=B3=D0=BB=D0=B0=D1=81=D0=B8?= =?UTF-8?q?=D0=B8=20=D1=83=20=D1=84=D0=BE=D1=80=D0=BC=20=D1=82=D0=BE=D0=BB?= =?UTF-8?q?=D1=8C=D0=BA=D0=BE=20=D0=BF=D1=80=D0=B8=20=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D0=BD=D0=BE=D0=BC=20=D1=82=D0=B5=D0=BA=D1=81=D1=82=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- src/app/(site)/[locale]/contacts/page.tsx | 8 +++++--- src/app/(site)/[locale]/page.tsx | 7 ++++--- src/components/ContactForm.tsx | 6 ++++-- 3 files changed, 13 insertions(+), 8 deletions(-) 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}

- +
-