import React, {ReactNode} from "react"; import {useTheme} from "next-themes"; import Head from "next/head"; import Link from "next/link"; type Props = { children?: ReactNode title?: string description?: string } const NavBar = ({children, title = "nickbland.dev | Home", description = "A website made by Nick Bland."}: Props) => { const {theme, setTheme} = useTheme(); return (
{title}
) } export default NavBar