import React, { useState } from "react"; import { Link, useLocation } from "react-router-dom"; import { Home, FileText, Brain, BookOpen, Settings, User, LogOut, ChevronLeft, ChevronRight, } from "lucide-react"; import { useAuth } from "../context/AuthContext"; const Sidebar: React.FC = () => { const location = useLocation(); const { username, logout } = useAuth(); const [collapsed, setCollapsed] = useState(false); const navItems = [ { path: "/dashboard", label: "Dashboard", icon: }, { path: "/notes", label: "Notes", icon: }, { path: "/AIInterview", label: "AI Interview", icon: }, { path: "/quize", label: "Resume Quiz", icon: }, ]; return ( ); }; export default Sidebar;