feat: Refactor settings navigation and enhance profile reference values display
Deploy Development / deploy (push) Successful in 47s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 15s

- Introduced a new SettingsShell layout for improved navigation within the settings section.
- Updated ProfileReferenceValuesPage to display the latest entry with enhanced styling and information.
- Removed the direct link to settings from ProfileReferenceValuesPage for a cleaner UI.
- Adjusted SettingsPage to streamline the layout and focus on essential settings options.
This commit is contained in:
Lars committed 2026-04-07 06:24:47 +02:00
1 parent 296e79c3b3
commit c152721fe8
6 files changed
+95 -29

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
import { Outlet, NavLink } from 'react-router-dom'
import { SETTINGS_SHELL_NAV_ITEMS } from '../config/settingsNav'
/**
* Wie Admin / KI-Analyse: Chips horizontal (mobil) bzw. Seitenleiste (Desktop).
*/
export default function SettingsShell() {
return (
<div className="settings-shell">
<div className="analysis-split">
<div className="analysis-split__nav-wrap">
<nav className="analysis-split__nav" aria-label="Einstellungen">
{SETTINGS_SHELL_NAV_ITEMS.map((item) => (
<NavLink
key={item.id}
to={item.to}
end={!!item.end}
className={({ isActive }) =>
'analysis-split__nav-item' + (isActive ? ' analysis-split__nav-item--active' : '')
}
>
{item.label}
</NavLink>
))}
</nav>
</div>
<div className="analysis-split__main">
<Outlet />
</div>
</div>
</div>
)
}