quacky-duck-world / index.html
victor's picture
victor HF Staff
a duck
4b9d0c6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Quacky Duck World</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="components/navbar.js"></script>
</head>
<body class="bg-gradient-to-b from-yellow-100 to-blue-100 min-h-screen">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-8">
<section class="text-center mb-12">
<h1 class="text-5xl font-bold text-blue-600 mb-4">Quacky Duck World</h1>
<p class="text-xl text-gray-700 mb-8">Everything you ever wanted to know about ducks!</p>
<div class="relative max-w-2xl mx-auto overflow-hidden rounded-2xl shadow-xl">
<div class="absolute inset-0 bg-gradient-to-tr from-blue-400 to-yellow-300 opacity-75"></div>
<img src="http://static.photos/nature/1200x630/42" alt="Duck in nature" class="w-full h-auto object-cover relative z-0">
<div class="absolute inset-0 flex items-center justify-center">
<a href="#" class="bg-white text-blue-600 font-bold py-3 px-6 rounded-full shadow-lg hover:bg-blue-50 transition-all duration-300">Meet Our Ducks</a>
</div>
</div>
</section>
<section class="grid md:grid-cols-3 gap-8 mb-12">
<div class="bg-white p-6 rounded-xl shadow-md hover:shadow-xl transition-shadow duration-300">
<div class="text-blue-600 mb-4">
<i data-feather="feather" class="w-12 h-12"></i>
</div>
<h3 class="text-xl font-semibold mb-3">Duck Species</h3>
<p class="text-gray-600">Discover the wonderful variety of duck species around the world.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-md hover:shadow-xl transition-shadow duration-300">
<div class="text-blue-600 mb-4">
<i data-feather="globe" class="w-12 h-12"></i>
</div>
<h3 class="text-xl font-semibold mb-3">Habitats</h3>
<p class="text-gray-600">Learn where ducks live and how they adapt to different environments.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-md hover:shadow-xl transition-shadow duration-300">
<div class="text-blue-600 mb-4">
<i data-feather="egg" class="w-12 h-12"></i>
</div>
<h3 class="text-xl font-semibold mb-3">Duck Life</h3>
<p class="text-gray-600">Explore the fascinating life cycle of ducks from egg to adult.</p>
</div>
</section>
<section class="bg-white p-8 rounded-xl shadow-lg mb-12">
<h2 class="text-3xl font-bold mb-6 text-center text-blue-600">Fun Duck Facts</h2>
<ul class="space-y-4">
<li class="flex items-start">
<i data-feather="check-circle" class="text-green-500 mr-3 mt-1"></i>
<span class="text-gray-700">Ducks have waterproof feathers thanks to special gland near their tails.</span>
</li>
<li class="flex items-start">
<i data-feather="check-circle" class="text-green-500 mr-3 mt-1"></i>
<span class="text-gray-700">A duck's quack doesn't echo - it's true!</span>
</li>
<li class="flex items-start">
<i data-feather="check-circle" class="text-green-500 mr-3 mt-1"></i>
<span class="text-gray-700">Ducks can see in full color and have excellent night vision.</span>
</li>
<li class="flex items-start">
<i data-feather="check-circle" class="text-green-500 mr-3 mt-1"></i>
<span class="text-gray-700">Some duck species can fly up to 60 miles per hour!</span>
</li>
</ul>
</section>
</main>
<div class="bg-blue-600 text-white py-8">
<div class="container mx-auto px-4 text-center">
<h2 class="text-2xl font-bold mb-4">Join Our Duck Community</h2>
<p class="mb-6 max-w-2xl mx-auto">Sign up for our newsletter to get the latest duck news and facts delivered to your inbox.</p>
<form class="max-w-md mx-auto flex gap-2">
<input type="email" placeholder="Your email" class="flex-grow px-4 py-2 rounded-lg text-gray-800 focus:outline-none focus:ring-2 focus:ring-yellow-300">
<button type="submit" class="bg-yellow-400 text-blue-800 font-bold px-6 py-2 rounded-lg hover:bg-yellow-300 transition-colors">Quack!</button>
</form>
</div>
</div>
<script>feather.replace();</script>
<script src="script.js"></script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>