'use client'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; import { BoltIcon, ComponentIcon, LanguagesIcon, LayoutDashboardIcon, MailIcon, } from 'lucide-react'; import { Sidebar, SidebarGroup, SidebarGroupLabel, SidebarHeader, SidebarMenu, SidebarMenuButton, SidebarMenuItem, } from '@kit/ui/shadcn-sidebar'; import { isRouteActive } from '@kit/ui/utils'; const routes = [ { label: 'Dashboard', path: '/', Icon: LayoutDashboardIcon, }, { label: 'Environment Variables', path: '/variables', Icon: BoltIcon, }, { label: 'Components', path: '/components', Icon: ComponentIcon, }, { label: 'Emails', path: '/emails', Icon: MailIcon, }, { label: 'Translations', path: '/translations', Icon: LanguagesIcon, }, ]; export function DevToolSidebar({ ...props }: React.ComponentProps) { const pathname = usePathname(); return ( Makerkit Dev Tool Dev Tools {routes.map((route) => ( {route.label} ))} ); }