From 9dd25faf8a76801a8f71525f7dd0af5b6d4c34f9 Mon Sep 17 00:00:00 2001 From: anibilag Date: Thu, 6 Nov 2025 00:33:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=B5=D1=80=D1=81=D0=B8=D1=8F=201.2.10?= =?UTF-8?q?=20=D0=A0=D0=B5=D0=B0=D0=BA=D1=86=D0=B8=D1=8F=20=D0=BD=D0=B0=20?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D1=82=D1=8C=D1=8E=20=D0=BF=D0=BE=D0=B4=D0=BD?= =?UTF-8?q?=D1=8F=D1=82=D0=B0=20=D0=B4=D0=BE=20-=20=D0=B3=D0=B0=D0=BB?= =?UTF-8?q?=D0=B5=D1=80=D0=B5=D0=B8.=20=D0=A3=D0=B1=D1=80=D0=B0=D0=BD?= =?UTF-8?q?=D0=B0=20=D0=BD=D0=B0=D0=B4=D0=BF=D0=B8=D1=81=D1=8C=20=D0=93?= =?UTF-8?q?=D0=B0=D0=BB=D0=B5=D1=80=D0=B5=D1=8F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/pages/ArticlePage.tsx | 25 ++++++++++++------------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index 2d05e69..fb971cc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vite-react-typescript-starter", "private": true, - "version": "1.2.8", + "version": "1.2.10", "type": "module", "scripts": { "dev": "vite", diff --git a/src/pages/ArticlePage.tsx b/src/pages/ArticlePage.tsx index d3f0d35..2898a3c 100644 --- a/src/pages/ArticlePage.tsx +++ b/src/pages/ArticlePage.tsx @@ -206,7 +206,7 @@ export function ArticlePage() { {/* Авторы */} -
+
{(() => { const photographer = articleData.authors?.find(a => a.role === 'PHOTOGRAPHER'); @@ -233,14 +233,6 @@ export function ArticlePage() { })()}
- {/* Photo Gallery */} - {articleData.gallery && articleData.gallery.length > 0 && ( -
-

Фото галерея

- -
- )} - {/* Article Footer */}
{error && ( @@ -250,12 +242,19 @@ export function ArticlePage() { )}
+ + {/* Photo Gallery */} + {articleData.gallery && articleData.gallery.length > 0 && ( +
+ +
+ )}