cooking/components/Header.tsx
2026-02-08 23:12:47 -08:00

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"
>
Cooking
</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>
);
}