mirror of
https://github.com/runyanjake/cooking.git
synced 2026-03-26 01:43:17 -07:00
40 lines
1.2 KiB
TypeScript
40 lines
1.2 KiB
TypeScript
import Link from 'next/link';
|
|
|
|
export default function Header() {
|
|
return (
|
|
<header className="border-b border-gray-200 dark:border-gray-800">
|
|
<nav className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
|
<div className="flex justify-between items-center h-16">
|
|
<Link
|
|
href="/"
|
|
className="text-2xl font-bold text-gray-900 dark:text-white hover:text-gray-700 dark:hover:text-gray-300 transition-colors"
|
|
>
|
|
PWS Recipes
|
|
</Link>
|
|
|
|
<div className="flex space-x-8">
|
|
<Link
|
|
href="/"
|
|
className="text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition-colors"
|
|
>
|
|
Home
|
|
</Link>
|
|
<Link
|
|
href="/recipes"
|
|
className="text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition-colors"
|
|
>
|
|
Recipes
|
|
</Link>
|
|
<Link
|
|
href="/about"
|
|
className="text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition-colors"
|
|
>
|
|
About
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</header>
|
|
);
|
|
}
|