From 33fc6c1245529e48b14c8503d10d5eb3da4334eb Mon Sep 17 00:00:00 2001 From: SAINT Date: Tue, 13 Oct 2026 20:50:52 -0700 Subject: [PATCH] fix: mark unavailable sidebar items as coming soon --- src/components/app-sidebar.tsx | 3 --- src/components/nav-secondary.tsx | 35 +++++++++++++++++++++++--------- 2 files changed, 25 insertions(+), 13 deletions(-) diff --git a/src/components/app-sidebar.tsx b/src/components/app-sidebar.tsx index 2f8c4f5..b68633b 100644 --- a/src/components/app-sidebar.tsx +++ b/src/components/app-sidebar.tsx @@ -63,17 +63,14 @@ const data = { navSecondary: [ { title: "Settings", - url: "#", icon: SettingsIcon, }, { title: "Help", - url: "#", icon: HelpCircleIcon, }, { title: "Search", - url: "#", icon: SearchIcon, }, ], diff --git a/src/components/nav-secondary.tsx b/src/components/nav-secondary.tsx index 831ad91..72fec97 100644 --- a/src/components/nav-secondary.tsx +++ b/src/components/nav-secondary.tsx @@ -18,7 +18,7 @@ export function NavSecondary({ }: { items: { title: string; - url: string; + url?: string; icon: LucideIcon; }[]; } & React.ComponentPropsWithoutRef) { @@ -35,15 +35,30 @@ export function NavSecondary({ {items.map((item) => ( - - - - {item.title} - - + {item.url ? ( + + + + {item.title} + + + ) : ( + + + )} ))}