anycoder-044de774 / components /HeroBanner.js
mouris030's picture
Upload components/HeroBanner.js with huggingface_hub
07e8b1e verified
Raw History Blame Contribute Delete
2.23 kB
export default function HeroBanner() {
return (
<div className="relative bg-gradient-to-b from-gray-800 to-gray-900 text-white overflow-hidden">
<div className="absolute inset-0 bg-[url('https://images.unsplash.com/photo-1557821552-17105176677c?w=1920&q=80')] bg-cover bg-center opacity-20"></div>
<div className="relative max-w-7xl mx-auto px-4 py-16 sm:py-24">
<div className="grid md:grid-cols-2 gap-8 items-center">
<div>
<h1 className="text-4xl sm:text-5xl md:text-6xl font-bold mb-4">
Great Deals on
<span className="text-amazon-yellow"> Electronics</span>
</h1>
<p className="text-lg text-gray-300 mb-6">
Discover amazing deals on the latest gadgets and tech accessories. Limited time offers you can't miss!
</p>
<button className="bg-amazon-orange hover:bg-orange-600 text-white font-bold py-3 px-8 rounded-full transition-colors">
Shop Now
</button>
</div>
<div className="hidden md:block">
<div className="grid grid-cols-2 gap-4">
<div className="bg-white/10 backdrop-blur rounded-xl p-6 text-center hover:bg-white/20 transition-colors">
<span className="text-4xl">🎧</span>
<p className="mt-2 text-sm">Audio</p>
</div>
<div className="bg-white/10 backdrop-blur rounded-xl p-6 text-center hover:bg-white/20 transition-colors">
<span className="text-4xl">📱</span>
<p className="mt-2 text-sm">Phones</p>
</div>
<div className="bg-white/10 backdrop-blur rounded-xl p-6 text-center hover:bg-white/20 transition-colors">
<span className="text-4xl">💻</span>
<p className="mt-2 text-sm">Computers</p>
</div>
<div className="bg-white/10 backdrop-blur rounded-xl p-6 text-center hover:bg-white/20 transition-colors">
<span className="text-4xl">⌚</span>
<p className="mt-2 text-sm">Wearables</p>
</div>
</div>
</div>
</div>
</div>
</div>
);
}