import { Fragment } from "react";
// next imports
import Link from "next/link";
import { useRouter } from "next/router";
import { Popover, Transition } from "@headlessui/react";
import Image from "next/image";
// icons
import { MenuIcon, XIcon } from "@heroicons/react/outline";
const Header = () => {
const router = useRouter();
const MobileNavLink = ({ href, children }: any) => {
return (
router.push(href)}
className="block text-left"
>
{children}
);
};
const navLinks = [
{ title: "Pricing", href: "/pricing" },
{ title: "Change-Log", href: "/change-log" },
{ title: "Documentation", href: "/docs" },
{ title: "Github", href: "https://github.com/makeplane/plane" }
];
const MobileNavigation = () => {
return (
{({ open }) =>
open ? :
}
{navLinks.map((data: any, index: number) => (
{data.title}
))}
Sign in
);
};
return (
<>
Plane is open source. Star our GitHub repo!
>
);
};
export default Header;