feat: implement collapsible sidebar navigation with icons and active item detection

This commit is contained in:
mlogclub
2026-05-30 20:00:44 +08:00
parent 86ff71596d
commit 9cabee4d6d
6 changed files with 168 additions and 30 deletions
+1
View File
@@ -65,6 +65,7 @@ export function AppSidebar({ ...props }: ComponentProps<typeof Sidebar>) {
{navSections.map((section) => (
<NavMain
key={section.titleKey}
icon={section.icon}
title={t(section.titleKey)}
items={section.items.map((item) => ({
...item,