import Link from 'next/link' import { pageConfig } from '@/uptime.config' import { Logo } from './brand' // The site header from the brand handbook (SiteHeader): lockup left, nav, actions right. export default function Header({ current }: { current: 'status' | 'incidents' }) { const nav = [ { key: 'status', label: 'Current status', href: '/' }, { key: 'incidents', label: 'Incident history', href: '/incidents' }, ] return (
Status
{(pageConfig.links || []).map((l) => ( {l.label} ))}
) }