added project pages, updated page for FAM.
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user