feat: enhance Security menu with sub-items for better navigation

This commit is contained in:
GitHub Actions
2025-11-30 22:21:03 +00:00
parent 7391da62bc
commit 90d85def7c

View File

@@ -54,7 +54,13 @@ export default function Layout({ children }: LayoutProps) {
{ name: 'Remote Servers', path: '/remote-servers', icon: '🖥️' },
{ name: 'Domains', path: '/domains', icon: '🌍' },
{ name: 'Certificates', path: '/certificates', icon: '🔒' },
{ name: 'Security', path: '/security', icon: '🛡️' },
{ name: 'Security', path: '/security', icon: '🛡️', children: [
{ name: 'Overview', path: '/security', icon: '🛡️' },
{ name: 'CrowdSec', path: '/security/crowdsec', icon: '🛡️' },
{ name: 'Access Lists', path: '/security/access-lists', icon: '🔒' },
{ name: 'Rate Limiting', path: '/security/rate-limiting', icon: '⚡' },
{ name: 'WAF (Coraza)', path: '/security/waf', icon: '🛡️' },
]},
{ name: 'Uptime', path: '/uptime', icon: '📈' },
{ name: 'Notifications', path: '/notifications', icon: '🔔' },
// Import group moved under Tasks
@@ -64,7 +70,6 @@ export default function Layout({ children }: LayoutProps) {
icon: '⚙️',
children: [
{ name: 'System', path: '/settings/system', icon: '⚙️' },
{ name: 'CrowdSec', path: '/settings/crowdsec', icon: '🛡️' },
{ name: 'Account', path: '/settings/account', icon: '🛡️' },
]
},