diff --git a/app/nav.tsx b/app/nav.tsx index 0d7d790..a1154b9 100644 --- a/app/nav.tsx +++ b/app/nav.tsx @@ -1,22 +1,25 @@ -"use client" -import { motion } from "framer-motion" -import Link from "next/link" -import { FaTwitter } from "react-icons/fa" +"use client"; +import { motion } from "framer-motion"; +import Link from "next/link"; +import { FaTwitter } from "react-icons/fa"; interface NavProps { - fixed?: boolean - className?: string - nameClassName?: string - linksClassName?: string + fixed?: boolean; + className?: string; + nameClassName?: string; + linksClassName?: string; } -export default function Nav({ fixed, className, nameClassName, linksClassName }: NavProps) { +export default function Nav( + { fixed, className, nameClassName, linksClassName }: NavProps, +) { const pages = [ ["philosophy", "/philosophy"], ["projects", "/projects"], + ["questions", "/questions"], // ["writings", "./on"], // ["reading list", "./"], - ] + ]; return (
-
+
{pages.map(([name, url]) => (
- ) + ); } diff --git a/app/philosophy/page.tsx b/app/philosophy/page.tsx index 4e4a1ec..5457737 100644 --- a/app/philosophy/page.tsx +++ b/app/philosophy/page.tsx @@ -1,11 +1,7 @@ import Nav from "../nav"; -import Event from "./event"; -// import { readings } from "../readings"; import { fetchGitMdFile } from "@/lib/getWritings"; import { Quote } from "./Quote"; import { parseMarkdown } from "@/lib/mdTools"; -import { Reading } from "./Reading"; -import { AnimatePresence } from "framer-motion"; import { Readings } from "./Readings"; async function Philosophy() { @@ -45,7 +41,8 @@ async function Philosophy() {
{/* Nav cover */} -
+
+