diff --git a/src/components/shared/Sidebar.tsx b/src/components/shared/Sidebar.tsx index 6e4c0e2..f7d2493 100644 --- a/src/components/shared/Sidebar.tsx +++ b/src/components/shared/Sidebar.tsx @@ -48,6 +48,11 @@ export default function Sidebar() { > {nav.icon} {nav.title} + {nav.badge && ( + + {nav.badge} + + )} ))} diff --git a/src/config/constants/sidebarNavs.tsx b/src/config/constants/sidebarNavs.tsx index 6f66082..b511a7e 100644 --- a/src/config/constants/sidebarNavs.tsx +++ b/src/config/constants/sidebarNavs.tsx @@ -4,6 +4,7 @@ interface SidebarNav { title: string; link: string; icon: React.ReactNode; + badge?: string; } interface SidebarGroup { @@ -34,7 +35,7 @@ export const sidebarGroups: SidebarGroup[] = [ { label: "Automation", items: [ - { title: "Workflows", link: "/workflows", icon: }, + { title: "Workflows", link: "/workflows", icon: , badge: "Beta" }, ], }, {