Spaces:
Sleeping
Sleeping
File size: 1,014 Bytes
c01f815 | 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 | import Link from 'next/link';
import { FiShoppingBag, FiMapPin, FiSearch } from 'react-icons/fi';
export default function Header() {
return (
<header className="bg-white shadow-sm sticky top-0 z-10">
<div className="container py-4 flex items-center justify-between">
<Link href="/" className="flex items-center space-x-2">
<FiShoppingBag className="text-primary text-2xl" />
<span className="text-xl font-bold text-primary">MyTownStore</span>
</Link>
<div className="flex items-center space-x-4">
<Link href="/about" className="text-gray-600 hover:text-primary">
About
</Link>
<Link href="/contact" className="text-gray-600 hover:text-primary">
Contact
</Link>
<Link href="/list-your-store" className="bg-primary text-white px-4 py-2 rounded-md hover:bg-primary-dark transition">
List Your Store
</Link>
</div>
</div>
</header>
);
} |