diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx index 65e1d12..8015578 100644 --- a/src/app/blog/page.tsx +++ b/src/app/blog/page.tsx @@ -1,5 +1,5 @@ -import { Badge } from "@/components/ui/badge" -import { Button } from "@/components/ui/button" +import { Badge } from "@/components/ui/badge"; +import { Button } from "@/components/ui/button"; // TODO: Dynamic BlogItem content // TODO: DB project blog url @@ -24,7 +24,9 @@ export default function Page() {
- + + Elit amet adipisicing consectetur consequat tempor cupidatat et commodo. + @@ -34,30 +36,29 @@ export default function Page() { ) } -function BlogItem() { +function BlogItem({ title = "Lorem Ipsum", tags = ["Lorem", "ipsum", "dolor", "sit", "amet"], children }: + { + title?: string | null; + tags?: string[] | null; + children?: React.ReactNode; + } +) { return ( ) diff --git a/src/components/ui/nav.tsx b/src/components/ui/nav.tsx index ed77b97..2d8392f 100644 --- a/src/components/ui/nav.tsx +++ b/src/components/ui/nav.tsx @@ -11,6 +11,8 @@ import { useEffect, useState } from "react"; import { Button } from "./button"; import { zillaSlab } from "./fonts"; +// TODO: Separate Landing Nav and default Nav + let clamp = (number: number, min: number, max: number) => Math.min(Math.max(number, min), max);