import type {NextPage} from 'next'; import NavBar from "../components/navbar"; import {useTheme} from "next-themes"; const Home: NextPage = () => { const {theme, setTheme} = useTheme(); return (