2023-07-19 14:19:24 +00:00
|
|
|
import Link from "next/link"
|
|
|
|
|
2023-07-18 19:56:43 +00:00
|
|
|
const navigation = [
|
2023-07-19 17:03:26 +00:00
|
|
|
{ name: 'Discord', href: 'https://discord.gg/MrfB5FbNWN' },
|
2023-07-25 17:30:42 +00:00
|
|
|
{ name: 'GitHub', href: 'https://github.com/jmorganca/ollama' },
|
2023-07-18 19:56:43 +00:00
|
|
|
{ name: 'Download', href: '/download' },
|
|
|
|
]
|
|
|
|
|
2023-07-19 14:19:24 +00:00
|
|
|
export default function Header() {
|
2023-07-18 19:56:43 +00:00
|
|
|
return (
|
2023-07-19 14:19:24 +00:00
|
|
|
<header className="absolute inset-x-0 top-0 z-50">
|
|
|
|
<nav className="mx-auto flex items-center justify-between px-10 py-4">
|
|
|
|
<Link className="flex-1 font-bold" href="/">
|
2023-07-18 19:56:43 +00:00
|
|
|
Ollama
|
2023-07-19 14:19:24 +00:00
|
|
|
</Link>
|
|
|
|
<div className="flex space-x-8">
|
|
|
|
{navigation.map((item) => (
|
|
|
|
<Link key={item.name} href={item.href} className="text-sm leading-6 text-gray-900">
|
2023-07-18 19:56:43 +00:00
|
|
|
{item.name}
|
2023-07-19 14:19:24 +00:00
|
|
|
</Link>
|
2023-07-18 19:56:43 +00:00
|
|
|
))}
|
|
|
|
</div>
|
|
|
|
</nav>
|
2023-07-25 17:30:42 +00:00
|
|
|
</header>
|
2023-07-18 19:56:43 +00:00
|
|
|
)
|
2023-07-19 14:19:24 +00:00
|
|
|
}
|