style update

This commit is contained in:
Oliver Kieselbach
2026-03-23 05:36:04 +01:00
parent ec6eb2f273
commit d59ce5b574
3 changed files with 5 additions and 17 deletions
@@ -395,7 +395,8 @@ export function GlobalSidebar({ children }: { children: ReactNode }) {
<hr className="border-gray-200 dark:border-gray-700" />
</div>
)}
{(collapseState === "full" || isMobile) && (
{/* Title only for ungrouped sections (grouped sections have their own headers) */}
{!groupedSections && (collapseState === "full" || isMobile) && (
<p className="text-[11px] font-semibold uppercase tracking-wider mb-1 px-3 text-blue-500 dark:text-blue-400">
{pageSectionsTitle}
</p>
@@ -113,21 +113,8 @@ export const NAV_GROUPS: NavGroup[] = [
{ id: "health-check", label: "System Health", href: "/health-check", icon: <HeartIcon /> },
],
},
{
id: "galactic-admin",
label: "Galactic Admin",
visibility: "galacticAdmin",
style: "galactic",
items: [
{ id: "admin-tenants", label: "Tenants", href: "/admin/tenants", icon: <DocumentMagnifyingGlassIcon /> },
{ id: "admin-metrics", label: "Metrics", href: "/admin/metrics", icon: <ChartBarIcon /> },
{ id: "admin-reports", label: "Reports", href: "/admin/reports", icon: <ClipboardDocumentIcon /> },
{ id: "admin-security", label: "Security", href: "/admin/security", icon: <ShieldCheckIcon /> },
{ id: "admin-ops", label: "Ops", href: "/admin/ops", icon: <HeartIcon /> },
{ id: "admin-settings", label: "Settings", href: "/admin/settings", icon: <GearIcon /> },
{ id: "admin-software", label: "Software", href: "/admin/software", icon: <GlobeAltIcon /> },
],
},
// Galactic Admin items are registered dynamically via AdminPageSections
// when the user navigates to /admin/* routes.
];
// --- Regular user nav (minimal) ---
File diff suppressed because one or more lines are too long