"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { cn } from "@/lib/utils"; import { LayoutDashboard, FolderKanban, Bug, BriefcaseBusiness, Activity, } from "lucide-react"; import { ThemeToggle } from "./theme-toggle"; const routes = [ { label: "Dashboard", icon: LayoutDashboard, href: "/", exact: true, }, { label: "Projects", icon: FolderKanban, href: "/projects", }, { label: "Spiders", icon: Bug, href: "/spiders", }, { label: "Jobs", icon: BriefcaseBusiness, href: "/jobs", }, { label: "System", icon: Activity, href: "/system", }, ]; export function Sidebar() { const pathname = usePathname(); return (

Scrapy UI

Theme
); }