From 52f2000e20fbd9c110729579ac60427e88da34ae Mon Sep 17 00:00:00 2001 From: Peppa Date: Wed, 18 Nov 2026 17:15:56 +0500 Subject: [PATCH] =?UTF-8?q?QLFW-72:=20=D0=BE=D0=B4=D0=B8=D0=BD=D0=B0=D0=BA?= =?UTF-8?q?=D0=BE=D0=B2=D1=8B=D0=B5=20=D0=BF=D1=80=D0=B5=D0=B2=D1=8C=D1=8E?= =?UTF-8?q?=20=D1=84=D0=BE=D1=82=D0=BE=20=D0=BA=D0=BD=D0=B8=D0=B3=D0=B8=20?= =?UTF-8?q?=D1=81=20=D0=BF=D1=80=D0=BE=D1=81=D0=BC=D0=BE=D1=82=D1=80=D0=BE?= =?UTF-8?q?=D0=BC=20=D0=BF=D0=BE=20=D0=BD=D0=B0=D0=B6=D0=B0=D1=82=D0=B8?= =?UTF-8?q?=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- .../projects/ermek-serkebayev/page.tsx | 6 +-- src/components/PhotoGallery.tsx | 41 +++++++++++++++++++ src/i18n/en.ts | 3 ++ src/i18n/kk.ts | 3 ++ src/i18n/ru.ts | 3 ++ src/i18n/types.ts | 2 +- 6 files changed, 54 insertions(+), 4 deletions(-) create mode 100644 src/components/PhotoGallery.tsx diff --git a/src/app/(site)/[locale]/projects/ermek-serkebayev/page.tsx b/src/app/(site)/[locale]/projects/ermek-serkebayev/page.tsx index 253d144..f2fabb2 100644 --- a/src/app/(site)/[locale]/projects/ermek-serkebayev/page.tsx +++ b/src/app/(site)/[locale]/projects/ermek-serkebayev/page.tsx @@ -1,6 +1,7 @@ import { loadLegal } from '@/lib/content' import { BookLink } from '@/components/BookLink' import { BookWhere } from '@/components/BookWhere' +import { PhotoGallery } from '@/components/PhotoGallery' import Image from 'next/image' import Link from 'next/link' import { notFound } from 'next/navigation' @@ -12,6 +13,7 @@ import { bookUrl } from '@/lib/home-model' export const dynamic = 'force-dynamic' +const photos = [1, 2, 3, 4].map(n => ({ src: `/books/serkebayev/photo-${n}.jpg`, alt: `PHOTO ${n}` })) const path = '/projects/ermek-serkebayev' export async function generateMetadata({ params }: { params: Promise<{ locale: string }> }) { @@ -43,9 +45,7 @@ export default async function BookProject({ params }: { params: Promise<{ locale

{t.book.gallery}

-
- {[1, 2, 3, 4].map(n => {`${t.book.photo})} -
+ ({ ...p, alt: p.alt.replace("PHOTO", t.book.photo) }))} t={t.book} />