diff --git a/frontend/src/SettingsPage.jsx b/frontend/src/SettingsPage.jsx index 603415e..ca2538f 100644 --- a/frontend/src/SettingsPage.jsx +++ b/frontend/src/SettingsPage.jsx @@ -293,58 +293,54 @@ export default function SettingsPage() { } /> -
- {/* Сайдбар навигации — как блок в общем стиле страниц */} -
-
+ {/* Вёрстка как на https://preview.tabler.io/settings.html: одна card, row g-0, col-md-3 border-end + col-md-9 */} +
+
+
-
- - - - setSidebarSearch(e.target.value)} - aria-label="Поиск разделов" - /> +
+ + + + setSidebarSearch(e.target.value)} + aria-label="Поиск разделов" + /> +
+ {sidebarGroupsFiltered.map((group, idx) => ( +
0 ? 'mt-4' : ''}> +

{group.title}

+
+ {group.items.map((section) => { + const Icon = section.icon; + const isActive = activeSection === section.id; + return ( + + ); + })}
- {sidebarGroupsFiltered.map((group, idx) => ( -
0 ? 'mt-4' : ''}> -

{group.title}

-
- {group.items.map((section) => { - const Icon = section.icon; - const isActive = activeSection === section.id; - return ( - - ); - })} -
-
- ))} - {sidebarGroupsFiltered.length === 0 && ( -

Нет подходящих разделов

- )} +
+ ))} + {sidebarGroupsFiltered.length === 0 && ( +

Нет подходящих разделов

+ )}
-
- - {/* Контент раздела — карточка как на других страницах */} -
-
+
{activeSection === 'live-doh' && ( <>