From 0ee0b669b51869fc2ed8459673b519376f38dbdb Mon Sep 17 00:00:00 2001
From: Peppa
Date: Tue, 17 Nov 2026 17:39:45 +0500
Subject: [PATCH 1/2] =?UTF-8?q?QLFW-18:=20=D0=BF=D1=80=D0=BE=D0=B2=D0=B5?=
=?UTF-8?q?=D1=80=D0=B5=D0=BD=D0=BE,=20=D1=87=D1=82=D0=BE=20QLFW-31=20?=
=?UTF-8?q?=D0=B7=D0=B0=D0=BA=D1=80=D1=8B=D0=B2=D0=B0=D0=B5=D1=82=20=D1=82?=
=?UTF-8?q?=D1=80=D0=B5=D0=B1=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F;=20?=
=?UTF-8?q?=D0=B7=D0=B0=D0=BF=D0=B8=D1=81=D1=8C=20=D0=B2=20=D0=BF=D0=B0?=
=?UTF-8?q?=D0=BC=D1=8F=D1=82=D1=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-Authored-By: Claude Sonnet 5.5
---
.peppa/memory.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/.peppa/memory.md b/.peppa/memory.md
index f0c7dbc..5b15627 100644
--- a/.peppa/memory.md
+++ b/.peppa/memory.md
@@ -26,3 +26,4 @@
- QLFW-28: блок «Где купить книгу» — компонент BookWhere, текст в book.buy (ru); в kk/en buy=null → пометка «Нужно уточнить». Кнопка-ссылка на Flip и getNote убраны.
- QLFW-31: isLegalPublished проверяет текст текущего языка без пометок и валидную updated (дату вступления в силу); неполный документ скрыт, прямой адрес 404. loadLegal кэшируется только в рамках запроса.
+- QLFW-18 — дубль QLFW-31: ссылки (подвал, согласие) и страницы политики/условий скрыты без полного текста; в Header юр. ссылок нет. Ветка стоит поверх task/qlfw-31.
From 62987ce4b8ba956f8ac7068ec6e4becf8ad546e6 Mon Sep 17 00:00:00 2001
From: Peppa
Date: Tue, 17 Nov 2026 17:45:51 +0500
Subject: [PATCH 2/2] =?UTF-8?q?QLFW-18:=20=D1=81=D1=81=D1=8B=D0=BB=D0=BA?=
=?UTF-8?q?=D0=B0=20=D0=BD=D0=B0=20=D0=BF=D0=BE=D0=BB=D0=B8=D1=82=D0=B8?=
=?UTF-8?q?=D0=BA=D1=83=20=D0=B2=20=D1=81=D0=BE=D0=B3=D0=BB=D0=B0=D1=81?=
=?UTF-8?q?=D0=B8=D0=B8=20=D1=83=20=D1=84=D0=BE=D1=80=D0=BC=20=D1=82=D0=BE?=
=?UTF-8?q?=D0=BB=D1=8C=D0=BA=D0=BE=20=D0=BF=D1=80=D0=B8=20=D0=BF=D0=BE?=
=?UTF-8?q?=D0=BB=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 | 6 ++++--
src/app/(site)/[locale]/page.tsx | 7 ++++---
src/components/ContactForm.tsx | 6 ++++--
3 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/src/app/(site)/[locale]/contacts/page.tsx b/src/app/(site)/[locale]/contacts/page.tsx
index ae4580e..3dcf800 100644
--- a/src/app/(site)/[locale]/contacts/page.tsx
+++ b/src/app/(site)/[locale]/contacts/page.tsx
@@ -6,6 +6,7 @@ import { Footer } from '@/components/Footer'
import { Header } from '@/components/Header'
import { getDict, isLocale, locales } from '@/i18n'
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}
-
+
-
+
>
)
}
diff --git a/src/app/(site)/[locale]/page.tsx b/src/app/(site)/[locale]/page.tsx
index f6df718..9a667cc 100644
--- a/src/app/(site)/[locale]/page.tsx
+++ b/src/app/(site)/[locale]/page.tsx
@@ -1,5 +1,5 @@
-import { isLegalPublished } from '@/lib/legal-model'
import { loadLegal } from '@/lib/content'
+import { isLegalPublished } from '@/lib/legal-model'
import Image from 'next/image'
import { notFound } from 'next/navigation'
import { BookWhere } from '@/components/BookWhere'
@@ -41,6 +41,7 @@ export default async function Home({ params }: { params: Promise<{ locale: strin
const { home, news } = await loadContent(locale)
const m = buildHomeModel(home, news, t)
const email = m.collaboration.email ?? FALLBACK_EMAIL
+ const legal = await loadLegal(locale)
const fmt = new Intl.DateTimeFormat(locale, { day: 'numeric', month: 'long', year: 'numeric' })
return (
@@ -119,7 +120,7 @@ export default async function Home({ params }: { params: Promise<{ locale: strin
{t.collaboration.title}
{m.collaboration.text}
-
+