@@ -95,7 +95,7 @@ function NavItem({ href, icon: Icon, label }: NavItemProps) {
|
||||
: "text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
||||
}`}
|
||||
>
|
||||
<Icon className={`h-5 w-5 ${collapsed ? "" : "flex-shrink-0"}`} />
|
||||
<Icon className={`h-5 w-5 ${collapsed ? "" : "shrink-0"}`} />
|
||||
{!collapsed && <span className="ml-3 font-medium text-sm">{label}</span>}
|
||||
</Link>
|
||||
)
|
||||
@@ -175,13 +175,13 @@ export default function Navigation() {
|
||||
<NavItem href="/statistics" icon={BarChart3} label="数据统计" />
|
||||
</NavGroup>
|
||||
|
||||
<NavSeparator />
|
||||
{/*<NavSeparator />*/}
|
||||
|
||||
{/* IP 资源 */}
|
||||
<NavGroup title="IP 资源">
|
||||
{/*<NavGroup title="IP 资源">
|
||||
<NavItem href="/proxy/nodes" icon={Globe} label="节点列表" />
|
||||
<NavItem href="/proxy/pools" icon={Server} label="IP池管理" />
|
||||
</NavGroup>
|
||||
</NavGroup>*/}
|
||||
|
||||
<NavSeparator />
|
||||
|
||||
@@ -205,9 +205,9 @@ export default function Navigation() {
|
||||
|
||||
{/* 系统 */}
|
||||
<NavGroup title="系统">
|
||||
<NavItem href="/settings" icon={Settings} label="系统设置" />
|
||||
<NavItem href="/security" icon={Shield} label="安全管理" />
|
||||
<NavItem href="/logs" icon={FileText} label="系统日志" />
|
||||
{/*<NavItem href="/settings" icon={Settings} label="系统设置" />*/}
|
||||
<NavItem href="/security" icon={Shield} label="管理员" />
|
||||
{/*<NavItem href="/logs" icon={FileText} label="系统日志" />*/}
|
||||
</NavGroup>
|
||||
</nav>
|
||||
</ScrollArea>
|
||||
|
||||
Reference in New Issue
Block a user