diff --git a/backend/templates/app_layout.templ b/backend/templates/app_layout.templ index eaaac7b..aac8659 100644 --- a/backend/templates/app_layout.templ +++ b/backend/templates/app_layout.templ @@ -45,6 +45,13 @@ templ SidebarNavIcon(kind string) { + case "team": + default: } diff --git a/backend/templates/app_layout_helpers.go b/backend/templates/app_layout_helpers.go index 3abcb25..f07c6d7 100644 --- a/backend/templates/app_layout_helpers.go +++ b/backend/templates/app_layout_helpers.go @@ -50,13 +50,14 @@ func sidebarNavItemID(href string) string { // sidebarPrimaryNavItems returns the ordered list of primary nav items with // active state computed from activePath. // -// Per D-N01/D-N02: Tasks, Chat, and Files are visual-only (no Href) in Phase 15. +// Per D-08 (Phase 18): GENERAL section items — Home, My Tasks, Projects, Events, Team Members. +// Chat and Files are removed from primary nav (accessible within tablo detail pages). func sidebarPrimaryNavItems(activePath string) []sidebarNavItem { return []sidebarNavItem{ - {Href: "/", Label: "Dashboard", Icon: "panels", Active: isActivePath(activePath, "/"), DividerAfter: true}, - {Href: "", Label: "Tasks", Icon: "tasks", Active: false}, - {Href: "/planning", Label: "Planning", Icon: "planning", Active: isActivePath(activePath, "/planning")}, - {Href: "", Label: "Chat", Icon: "chat", Active: false}, - {Href: "", Label: "Files", Icon: "files", Active: false}, + {Href: "/", Label: "Home", Icon: "panels", Active: isActivePath(activePath, "/")}, + {Href: "#", Label: "My Tasks", Icon: "tasks", Active: false}, + {Href: "/", Label: "Projects", Icon: "layers", Active: false}, + {Href: "/planning", Label: "Events", Icon: "planning", Active: isActivePath(activePath, "/planning")}, + {Href: "#", Label: "Team Members", Icon: "team", Active: false}, } }