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} />