import Link from 'next/link' import { useRouter } from 'next/router' import Nav from 'react-bootstrap/Nav' export default function UserHeader ({ user }) { const router = useRouter() return ( <>