Версия 1.2.10 Реакция на статью поднята до - галереи. Убрана надпись Галерея.
This commit is contained in:
parent
1abdd57f8f
commit
9dd25faf8a
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "vite-react-typescript-starter",
|
"name": "vite-react-typescript-starter",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.2.8",
|
"version": "1.2.10",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@ -206,7 +206,7 @@ export function ArticlePage() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Авторы */}
|
{/* Авторы */}
|
||||||
<div className="text-sm text-gray-600 text-right">
|
<div className="text-sm text-gray-600 text-right mb-4">
|
||||||
{(() => {
|
{(() => {
|
||||||
const photographer = articleData.authors?.find(a => a.role === 'PHOTOGRAPHER');
|
const photographer = articleData.authors?.find(a => a.role === 'PHOTOGRAPHER');
|
||||||
|
|
||||||
@ -233,14 +233,6 @@ export function ArticlePage() {
|
|||||||
})()}
|
})()}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Photo Gallery */}
|
|
||||||
{articleData.gallery && articleData.gallery.length > 0 && (
|
|
||||||
<div className="mb-8">
|
|
||||||
<h2 className="text-2xl font-bold text-gray-900 mb-4">Фото галерея</h2>
|
|
||||||
<PhotoGallery images={articleData.gallery} />
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
|
|
||||||
{/* Article Footer */}
|
{/* Article Footer */}
|
||||||
<div className="border-t pt-4">
|
<div className="border-t pt-4">
|
||||||
{error && (
|
{error && (
|
||||||
@ -256,6 +248,13 @@ export function ArticlePage() {
|
|||||||
onReact={handleReaction}
|
onReact={handleReaction}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{/* Photo Gallery */}
|
||||||
|
{articleData.gallery && articleData.gallery.length > 0 && (
|
||||||
|
<div className="mb-8">
|
||||||
|
<PhotoGallery images={articleData.gallery} />
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<div className="pt-8"/>
|
<div className="pt-8"/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user