diff --git a/app/archive/page.tsx b/app/archive/page.tsx new file mode 100644 index 0000000..513709a --- /dev/null +++ b/app/archive/page.tsx @@ -0,0 +1,3 @@ +export default function Archives() { + return <>; +} diff --git a/app/navbar.tsx b/app/navbar.tsx index b9e31a9..d970cc4 100644 --- a/app/navbar.tsx +++ b/app/navbar.tsx @@ -5,13 +5,16 @@ import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'; import { NavigationMenu, NavigationMenuItem, NavigationMenuList } from '@/components/ui/navigation-menu'; import Link from 'next/link'; -const components: { title: string; href: string; description: string }[] = [ +const entries: { display_name: string; href: string; }[] = [ { - title: 'title of subpage', - href: 'url', - description: - 'a description' + display_name: 'About', + href: '/about' + }, + { + display_name: 'Archive', + href: 'archive' } + ]; export default function Navbar() { const [ scrolled, setScrolled ] = useState(false); @@ -54,17 +57,15 @@ export default function Navbar() {
- - -

{ 'About' }

- -
- - - -

{ 'Archives' }

- -
+ { + entries.map((entry, id) => ( + + +

{ entry.display_name }

+ +
+ )) + }