added project pages, updated page for FAM.

This commit is contained in:
Hunter W.
2026-06-08 22:25:39 -04:00
parent 0b161f3e2d
commit 89e5c2364c
27 changed files with 1860 additions and 55 deletions

View File

@@ -4,9 +4,7 @@ import { useState } from "react";
import { useMountTransition } from "@/hooks/useAnimations";
import Nav from "@/components/Nav";
import Profile from "@/components/Profile";
import Projects from "@/components/Projects";
import Footer from "@/components/Footer";
export default function Home() {
const [section, setSection] = useState("profile");
const mounted = useMountTransition();
@@ -44,11 +42,9 @@ export default function Home() {
</header>
<Nav section={section} setSection={setSection} />
<Nav section={"profile"} />
<main>
{section === "profile" && <Profile />}
{section === "projects" && <Projects />}
<Profile />
</main>
</div>