aboutsummaryrefslogtreecommitdiff
path: root/components/header.js
blob: 9cc7d44cc536fcea93c9e0783e966c35194997d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
export default function Header() {
    return (
        <>
        <header>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" />
        <div class="bg-green-800 py-3 px-2 text-white font-semibold text-right"><a href="https://aircs.racing/"><i class="fa fa-arrow-left mr-2"></i> aircs.racing</a></div>
        <div class="flex items-center justify-between flex-wrap p-6 bg-slate-950">
           <div class="flex items-center flex-shrink-0 text-white mr-6">
            <p class="font-semibold text-xl tracking-tight">SEI.GOV</p>
            </div>
            <div class="flex items-center w-auto">
            <div class="text-sm flex-grow">
                {[
                    ['fas fa-home', 'Home', '/'],
                    ['fas fa-person', 'Life in SEI', '/life'],
                    ['fas fa-door-open', 'Cabinet', '/cabinet'],
                    ['fas fa-note-sticky', 'Reports', '/reports'],
                ].map(([icon, title, url]) => (
                   <a href={url} className="transition duration-150 ease-out hover:ease-in inline-block mt-0 text-base text-slate-300 hover:text-white mr-4 hover:bg-green-800 rounded-lg p-2"><span class="mr-1"><i class={icon}></i></span> {title}</a>
                ))}
            </div>
        </div>
 </div>
 </header>
        </>
  )
}