import React, {Fragment, ReactNode, useState} from "react"; import {Disclosure, Transition} from "@headlessui/react"; import {HiX, HiMenu} from "react-icons/hi" import Head from "next/head"; import Link from "next/link"; import Image from "next/image"; import { ThemeSwitch } from "./themeSwitch"; type Props = { children?: ReactNode title?: string description?: string } const NavBar = ({children, title = "nickbland.dev | Home", description = "A website made by Nick Bland."}: Props) => { const [isOpen, setIsOpen] = useState(false); return (
{title}
logo
logo
) } export default NavBar