import Link from 'next/link'; import { useRouter } from 'next/router'; import './Header.css'; export default function NavigationLink(props) { const { pathname } = useRouter(); return (
  • {props.name}
  • ); }