import { Link, useLocation } from "react-router-dom"; import { useAuth } from "../context/AuthContext"; import { Home, Search, Folder, User, PenSquare } from "lucide-react"; export default function MobileNav() { const { user, isAuthenticated } = useAuth(); const location = useLocation(); const isActive = (path) => { if (path === "/") return location.pathname === "/"; return location.pathname.startsWith(path); }; return ( ); }