import { Fragment, useState, useContext } from 'react'; import { UserContext } from '../../contexts/UserContext'; import Link from 'next/link'; import NavigationLink from './NavigationLink'; import './Header.css'; export default function Header() { const { isAuth, logoutUser, user } = useContext(UserContext); const [isActive, setIsActive] = useState(false); const toggleNavbar = () => { setIsActive(!isActive); } return (
{/* Brand */} FunctionProject {/* Hamburger icon on Mobile */}
{/* Navigation */}
); }