"use client" import Link from "next/link" import React, {useState} from "react" import { FaBars, FaTimes } from "react-icons/fa" const Navbar = () => { const [nav, setNav] = useState(false); const links = [ { id: 1, text: "Home", link: "/" }, { id: 2, text: "Projects", link: "projects" }, { id: 3, text: "Hobbies", link: "hobbies" }, { id: 4, text: "Donate", link: "donate" } ]; return (
); } export default Navbar;