diff --git a/src/components/AppWrapper.tsx b/src/components/AppWrapper.tsx index 01d0b64..bc80143 100644 --- a/src/components/AppWrapper.tsx +++ b/src/components/AppWrapper.tsx @@ -1,4 +1,4 @@ -import {FunctionComponent, ReactNode} from "react"; +import type {FunctionComponent, ReactNode} from "react"; import {Disclosure} from '@headlessui/react' import {HiBars3, HiXMark} from "react-icons/hi2"; import {classNames} from "../utils/helpers"; @@ -6,7 +6,7 @@ import Link from "next/link"; const navigation: { id: string, name: string, href: string }[] = [ {id: 'home', name: 'Home', href: '/',}, - {id: 'projects', name: 'Projects', href: '/projects'}, + {id: 'projects', name: 'Projects', href: '/#projects'}, // TODO: Switch this back to /projects once proper page is made {id: 'contact', name: 'Contact', href: '/contact'}, ] @@ -16,7 +16,7 @@ type WrapperProps = { }; const AppWrapper: FunctionComponent = ({current, children}: WrapperProps) => { - return
+ return
{({open}) => ( <> diff --git a/src/pages/index.tsx b/src/pages/index.tsx index e13a518..4e63c2e 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -119,7 +119,7 @@ const Home: NextPage = ({projects}: HomeStaticProps) => {
-