From dfba8fe32616c270ae8966cb74914fdc0fd3ad29 Mon Sep 17 00:00:00 2001 From: Peppa Date: Tue, 17 Nov 2026 22:59:42 +0500 Subject: [PATCH] =?UTF-8?q?QLFW-66:=20=D0=BF=D0=BE=D0=BD=D1=8F=D1=82=D0=BD?= =?UTF-8?q?=D0=BE=D0=B5=20=D0=BE=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B8=D0=B5?= =?UTF-8?q?=20=D0=BE=D0=B1=D0=BB=D0=BE=D0=B6=D0=BA=D0=B8=20=D1=81=20=D0=BD?= =?UTF-8?q?=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=D0=BC=20=D0=BA=D0=BD?= =?UTF-8?q?=D0=B8=D0=B3=D0=B8?= 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]/page.tsx | 2 +- src/app/(site)/[locale]/projects/page.tsx | 2 +- src/lib/book-cover.test.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/(site)/[locale]/page.tsx b/src/app/(site)/[locale]/page.tsx index a2e9ed9..9a5cbaa 100644 --- a/src/app/(site)/[locale]/page.tsx +++ b/src/app/(site)/[locale]/page.tsx @@ -79,7 +79,7 @@ export default async function Home({ params }: { params: Promise<{ locale: strin
- {t.book.cover} + {`${t.book.cover}:
diff --git a/src/app/(site)/[locale]/projects/page.tsx b/src/app/(site)/[locale]/projects/page.tsx index f84a0f8..8b4e9c9 100644 --- a/src/app/(site)/[locale]/projects/page.tsx +++ b/src/app/(site)/[locale]/projects/page.tsx @@ -21,7 +21,7 @@ export default async function Page({ params }: { params: Promise<{ locale: strin const m = buildHomeModel(home, news, t) return 0}>
- {t.book.cover} + {`${t.book.cover}:

{t.book.author}

{t.book.title}

{t.book.paragraphs.map(text =>

{text}

)}{t.projects.more}
diff --git a/src/lib/book-cover.test.ts b/src/lib/book-cover.test.ts index 20adb7d..7a1e9b4 100644 --- a/src/lib/book-cover.test.ts +++ b/src/lib/book-cover.test.ts @@ -25,7 +25,7 @@ describe('Настоящая обложка в карточках книги', ( const t = getDict(locale) const image = html.match(/]*>/g)?.find((tag) => tag.includes('cover.jpg')) expect(image).toBeDefined() - expect(image).toContain(`alt="${t.book.cover}"`) + expect(image).toContain(`alt="${t.book.cover}: ${t.book.title}"`) expect(image).toContain('width="677"') expect(image).toContain('height="1000"') expect(html).not.toContain(`>${t.book.cover}<`)