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