Use darker background, link projects nav link to index

This commit is contained in:
Xevion
2023-02-14 20:29:52 -06:00
parent aada613219
commit 0ac81186a8
2 changed files with 4 additions and 4 deletions

View File

@@ -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<WrapperProps> = ({current, children}: WrapperProps) => {
return <div className="min-h-screen bg-zinc-800 text-zinc-50">
return <div className="min-h-screen bg-zinc-850 text-zinc-50">
<Disclosure as="nav" className="bg-zinc-900">
{({open}) => (
<>

View File

@@ -119,7 +119,7 @@ const Home: NextPage<HomeStaticProps> = ({projects}: HomeStaticProps) => {
</div>
</div>
</div>
<div
<div id="projects"
className="flex py-12 sm:py-8 min-h-screen flex-row md:items-center justify-center">
<div className="h-full w-full max-w-[95%] lg:max-w-[85%] xl:max-w-[70%] mx-auto">
<div className="flex h-full m-1 flex-col justify-start gap-y-1">