'use client' import { Disclosure, DisclosureButton, DisclosurePanel, } from '@headlessui/react' import { Bars2Icon } from '@heroicons/react/24/solid' import { motion } from 'framer-motion' import { Link } from './link' import { Logo } from './logo' import { PlusGrid, PlusGridItem, PlusGridRow } from './plus-grid' const links = [ { href: '/company', label: 'About' }, { href: '/projects', label: 'Projects' }, { href: '/blog', label: 'Blog' }, { href: '/login', label: 'Get Involved' }, ] function DesktopNav({ color = "white" }: { color?: "white" | "black" }) { return ( ) } function MobileNavButton() { return ( ) } function MobileNav({ color = "white" }: { color?: "white" | "black" }) { return (
{links.map(({ href, label }, linkIndex) => ( {label} ))}
) } export function Navbar({ banner, color = "white" }: { banner?: React.ReactNode, color?: "white" | "black" }) { return (
{banner && (
{banner}
)}
) }