From a8afef1191fab159d19387896d23af229d1e3e12 Mon Sep 17 00:00:00 2001 From: shats Date: Wed, 27 Aug 2025 18:19:03 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D0=BA=D0=BE=D0=BC=D0=BF=D0=BE=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D1=82=20PageHeader,=20=D1=83=D0=BB=D1=83=D1=87=D1=88=D0=B8?= =?UTF-8?q?=D0=B2=20=D1=81=D1=82=D0=B8=D0=BB=D0=B8=D0=B7=D0=B0=D1=86=D0=B8?= =?UTF-8?q?=D1=8E=20=D0=B7=D0=B0=D0=B3=D0=BE=D0=BB=D0=BE=D0=B2=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=B8=20=D0=B4=D0=B5=D0=B9=D1=81=D1=82=D0=B2=D0=B8=D0=B9=20?= =?UTF-8?q?=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D1=8B,=20=D0=B0=20?= =?UTF-8?q?=D1=82=D0=B0=D0=BA=D0=B6=D0=B5=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D0=B2=20=D0=BA=D0=BE=D0=BC=D0=BC=D0=B5=D0=BD=D1=82=D0=B0?= =?UTF-8?q?=D1=80=D0=B8=D0=B8=20=D0=B4=D0=BB=D1=8F=20=D0=BB=D1=83=D1=87?= =?UTF-8?q?=D1=88=D0=B5=D0=B3=D0=BE=20=D0=BF=D0=BE=D0=BD=D0=B8=D0=BC=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F=20=D1=81=D1=82=D1=80=D1=83=D0=BA=D1=82=D1=83?= =?UTF-8?q?=D1=80=D1=8B=20=D0=BA=D0=BE=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/PageHeader.jsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/PageHeader.jsx b/frontend/src/components/PageHeader.jsx index 0affaa7..abd2523 100644 --- a/frontend/src/components/PageHeader.jsx +++ b/frontend/src/components/PageHeader.jsx @@ -3,22 +3,24 @@ import React from 'react' function PageHeader({ title, pretitle, actions, meta }) { return (
+ {/* Верхняя строка: только заголовок */}
- {pretitle && ( -
{pretitle}
- )}

{title}

+ {pretitle && ( +
{pretitle}
+ )} {meta && (
{meta}
)}
- {actions && ( -
- {actions} -
- )}
+ {/* Отдельная строка под заголовком: действия страницы */} + {actions && ( +
+ {actions} +
+ )}
) }