import { loadLegal } from '@/lib/content' import { BookLink } from '@/components/BookLink' import { BookWhere } from '@/components/BookWhere' import Image from 'next/image' import Link from 'next/link' import { notFound } from 'next/navigation' import { Header } from '@/components/Header' import { Footer } from '@/components/Footer' import { getDict, isLocale } from '@/i18n' import { loadContent } from '@/lib/content' import { bookUrl } from '@/lib/home-model' export const dynamic = 'force-dynamic' const path = '/projects/ermek-serkebayev' export async function generateMetadata({ params }: { params: Promise<{ locale: string }> }) { const { locale } = await params if (!isLocale(locale)) notFound() const t = getDict(locale) return { title: `${t.book.title} — ${t.siteName}`, description: t.book.paragraphs.join(' ') } } export default async function BookProject({ params }: { params: Promise<{ locale: string }> }) { const { locale } = await params if (!isLocale(locale)) notFound() const t = getDict(locale) const { news } = await loadContent(locale) return <>
0} path={path} />
{t.projects.title}
{t.book.cover}

{t.book.author}

{t.book.title}

{t.book.translationReview &&

{t.book.translationReview}

} {[...t.book.paragraphs, ...t.book.additions].map(text =>

{text}

)}

{t.book.organiser}

{t.book.gallery}

{[1, 2, 3, 4].map(n => {`${t.book.photo})}