"use client"; import Image from "next/image"; import Link from "next/link"; import { Montserrat } from "next/font/google"; import { cn } from "@/lib/utils"; import { Brain, Code, FileQuestion, ImageIcon, LayoutDashboard, MessageSquare, User, } from "lucide-react"; import { usePathname } from "next/navigation"; const montserrat = Montserrat({ weight: "600", subsets: ["latin"], }); const routes = [ { label: "Dashboard", icon: LayoutDashboard, href: "/dashboard", color: "text-sky-500", }, { label: "Quiz Generation", icon: FileQuestion, href: "/quiz", color: "text-violet-500", }, { label: "Doubts Solving", icon: MessageSquare, href: "/conversation", color: "text-red-500", }, { label: "Coding Assistant", icon: Code, href: "/code", color: "text-green-700", }, { label: "Interview PrepAI", icon: User, href: "/interview", color: "text-yellow-500", } ]; const Sidebar = () => { const pathname = usePathname(); return (
{/* logo */}

AssessMate

{routes.map((route) => (
{route.label}
))}
); }; export default Sidebar;