diff --git a/website/src/components/header.tsx b/website/src/components/header.tsx index c397504..ab33fa3 100644 --- a/website/src/components/header.tsx +++ b/website/src/components/header.tsx @@ -11,6 +11,7 @@ import { } from '@nextui-org/navbar'; import Link from 'next/link'; import { useState } from 'react'; +import { FaGithub } from 'react-icons/fa'; export function Logo() { return ( @@ -36,51 +37,34 @@ export default function Header() { - - Lazy Hacker's Host Patrol - - - - - - Home - - - - - - Report - - - - - - GitHub - - + + {LINKS.map(({ key, title, href }) => ( + + + {title} + + + ))} - - - Home - - - - - - Report - - - - - - GitHub - - + {LINKS.map(({ key, title, href }) => ( + + + {title} + + + ))} ); } + +const LINKS = [ + { key: 'getting-started', title: 'Get Started', href: '/#getting-started' }, + { key: 'learn-more', title: 'Learn More', href: '/#learn-more' }, + { key: 'report', title: 'Render Report', href: '/report' }, + { key: 'github', title: , href: 'https://github.com/vst/hostpatrol' }, +];