import React from "react" import { useRouter } from "next/router" import { DrupalMenuLinkContent } from "next-drupal" import classNames from "classnames" import { LocaleSwitcher } from "components/locale-switcher" import Link from "next/link" interface NavbarProps { links: DrupalMenuLinkContent[] } export function Navbar({ links, ...props }: NavbarProps) { const { locale } = useRouter() return (
Marketing {links ? : null}
) } function Menu({ items }: { items: DrupalMenuLinkContent[] }) { return ( ) } function MenuLink({ link }: { link: DrupalMenuLinkContent }) { const { asPath } = useRouter() return (
  • {link.title}
  • ) }