"use client"; import { Home, Search, Library, Settings } from "lucide-react"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { useState } from "react"; import SettingsModal from "./SettingsModal"; export default function MobileNav() { const pathname = usePathname(); const [isSettingsOpen, setIsSettingsOpen] = useState(false); const isActive = (path: string) => pathname === path; return (
Home Search Library setIsSettingsOpen(false)} />
); }