import Image from 'next/image' import { Button } from './Button' import { Container } from './Container' import logo from "../public/logo.svg" import Link from 'next/link' import { useRouter } from 'next/router' export function Header() { const router = useRouter(); const isActive = (navLink) => { return router.asPath.split("?")[0] == navLink.href; } const navLinks = [ { title: "Home", href: "/#header" }, { title: "Datasets", href: "/#datasets" }, { title: "Community", href: "https://community.openspending.org/" } ] return ( ) }