Spaces:
Running

pus / index.html
Rafaelbbc's picture
Add 3 files
f0108fe verified
Raw History Blame Contribute Delete
20.6 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Purrfect Cats</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
100% { transform: translateY(0px); }
}
.cat-float {
animation: float 6s ease-in-out infinite;
}
.cat-card:hover {
transform: scale(1.05);
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.cat-paw {
position: absolute;
width: 40px;
height: 40px;
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23fbbf24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
background-size: contain;
opacity: 0;
pointer-events: none;
}
</style>
</head>
<body class="bg-gray-100 font-sans">
<!-- Header with animated cat -->
<header class="bg-gradient-to-r from-yellow-400 to-orange-500 py-6 relative overflow-hidden">
<div class="container mx-auto px-4 flex justify-between items-center">
<div class="flex items-center">
<i class="fas fa-cat text-white text-4xl mr-3 cat-float"></i>
<h1 class="text-3xl font-bold text-white">Purrfect Cats</h1>
</div>
<nav>
<ul class="flex space-x-6">
<li><a href="#" class="text-white hover:text-yellow-200 font-medium">Home</a></li>
<li><a href="#" class="text-white hover:text-yellow-200 font-medium">Breeds</a></li>
<li><a href="#" class="text-white hover:text-yellow-200 font-medium">Gallery</a></li>
<li><a href="#" class="text-white hover:text-yellow-200 font-medium">Adopt</a></li>
</ul>
</nav>
</div>
<div class="absolute top-0 left-0 w-full h-full pointer-events-none" id="paw-trail"></div>
</header>
<!-- Hero Section -->
<section class="py-20 bg-gradient-to-b from-orange-100 to-yellow-50">
<div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-10 md:mb-0">
<h2 class="text-5xl font-bold text-gray-800 mb-6">Discover the <span class="text-orange-500">Purrfect</span> Companion</h2>
<p class="text-xl text-gray-600 mb-8">Explore our collection of adorable feline friends and learn everything about cat care, breeds, and adoption.</p>
<div class="flex space-x-4">
<button class="bg-orange-500 hover:bg-orange-600 text-white font-bold py-3 px-6 rounded-full transition duration-300 transform hover:scale-105">
<i class="fas fa-paw mr-2"></i> Meet Our Cats
</button>
<button class="bg-white hover:bg-gray-100 text-orange-500 font-bold py-3 px-6 rounded-full border border-orange-500 transition duration-300 transform hover:scale-105">
<i class="fas fa-heart mr-2"></i> How to Adopt
</button>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<img src="https://placekitten.com/500/400" alt="Cute cat" class="rounded-3xl shadow-2xl border-8 border-white transform rotate-2 hover:rotate-0 transition duration-500">
</div>
</div>
</section>
<!-- Cat Breeds Section -->
<section class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-4xl font-bold text-center text-gray-800 mb-12">Popular <span class="text-orange-500">Cat</span> Breeds</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Cat Card 1 -->
<div class="cat-card bg-white rounded-xl shadow-lg overflow-hidden transition duration-300">
<div class="h-48 overflow-hidden">
<img src="https://placekitten.com/600/400" alt="Persian Cat" class="w-full h-full object-cover">
</div>
<div class="p-6">
<h3 class="text-2xl font-bold text-gray-800 mb-2">Persian</h3>
<p class="text-gray-600 mb-4">Known for their long, luxurious coats and sweet personalities.</p>
<div class="flex justify-between items-center">
<span class="text-orange-500 font-medium"><i class="fas fa-weight mr-1"></i> 7-12 lbs</span>
<button class="text-orange-500 hover:text-orange-600 font-medium">Learn More <i class="fas fa-arrow-right ml-1"></i></button>
</div>
</div>
</div>
<!-- Cat Card 2 -->
<div class="cat-card bg-white rounded-xl shadow-lg overflow-hidden transition duration-300">
<div class="h-48 overflow-hidden">
<img src="https://placekitten.com/601/401" alt="Siamese Cat" class="w-full h-full object-cover">
</div>
<div class="p-6">
<h3 class="text-2xl font-bold text-gray-800 mb-2">Siamese</h3>
<p class="text-gray-600 mb-4">Vocal, intelligent, and social cats with striking blue eyes.</p>
<div class="flex justify-between items-center">
<span class="text-orange-500 font-medium"><i class="fas fa-weight mr-1"></i> 8-15 lbs</span>
<button class="text-orange-500 hover:text-orange-600 font-medium">Learn More <i class="fas fa-arrow-right ml-1"></i></button>
</div>
</div>
</div>
<!-- Cat Card 3 -->
<div class="cat-card bg-white rounded-xl shadow-lg overflow-hidden transition duration-300">
<div class="h-48 overflow-hidden">
<img src="https://placekitten.com/602/402" alt="Maine Coon" class="w-full h-full object-cover">
</div>
<div class="p-6">
<h3 class="text-2xl font-bold text-gray-800 mb-2">Maine Coon</h3>
<p class="text-gray-600 mb-4">Gentle giants known for their large size and tufted ears.</p>
<div class="flex justify-between items-center">
<span class="text-orange-500 font-medium"><i class="fas fa-weight mr-1"></i> 10-25 lbs</span>
<button class="text-orange-500 hover:text-orange-600 font-medium">Learn More <i class="fas fa-arrow-right ml-1"></i></button>
</div>
</div>
</div>
</div>
<div class="text-center mt-12">
<button class="bg-orange-500 hover:bg-orange-600 text-white font-bold py-3 px-8 rounded-full transition duration-300">
View All Breeds <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</div>
</section>
<!-- Cat Fun Facts -->
<section class="py-16 bg-gray-100">
<div class="container mx-auto px-4">
<h2 class="text-4xl font-bold text-center text-gray-800 mb-12">Fun <span class="text-orange-500">Cat</span> Facts</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-white p-8 rounded-xl shadow-md text-center hover:shadow-xl transition duration-300">
<div class="text-orange-500 text-5xl mb-4">
<i class="fas fa-brain"></i>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-3">Smart Felines</h3>
<p class="text-gray-600">Cats have excellent memories. They can remember things for up to 10 years!</p>
</div>
<div class="bg-white p-8 rounded-xl shadow-md text-center hover:shadow-xl transition duration-300">
<div class="text-orange-500 text-5xl mb-4">
<i class="fas fa-moon"></i>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-3">Night Vision</h3>
<p class="text-gray-600">Cats can see at light levels six times lower than what humans need to see.</p>
</div>
<div class="bg-white p-8 rounded-xl shadow-md text-center hover:shadow-xl transition duration-300">
<div class="text-orange-500 text-5xl mb-4">
<i class="fas fa-heartbeat"></i>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-3">Fast Heartbeat</h3>
<p class="text-gray-600">A cat's heart beats nearly twice as fast as a human heart, at 110 to 140 beats per minute.</p>
</div>
</div>
</div>
</section>
<!-- Cat Gallery -->
<section class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-4xl font-bold text-center text-gray-800 mb-12">Cat <span class="text-orange-500">Gallery</span></h2>
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4">
<div class="overflow-hidden rounded-lg shadow-md hover:shadow-xl transition duration-300">
<img src="https://placekitten.com/300/300" alt="Cat 1" class="w-full h-48 object-cover hover:scale-110 transition duration-500">
</div>
<div class="overflow-hidden rounded-lg shadow-md hover:shadow-xl transition duration-300">
<img src="https://placekitten.com/301/301" alt="Cat 2" class="w-full h-48 object-cover hover:scale-110 transition duration-500">
</div>
<div class="overflow-hidden rounded-lg shadow-md hover:shadow-xl transition duration-300">
<img src="https://placekitten.com/302/302" alt="Cat 3" class="w-full h-48 object-cover hover:scale-110 transition duration-500">
</div>
<div class="overflow-hidden rounded-lg shadow-md hover:shadow-xl transition duration-300">
<img src="https://placekitten.com/303/303" alt="Cat 4" class="w-full h-48 object-cover hover:scale-110 transition duration-500">
</div>
<div class="overflow-hidden rounded-lg shadow-md hover:shadow-xl transition duration-300">
<img src="https://placekitten.com/304/304" alt="Cat 5" class="w-full h-48 object-cover hover:scale-110 transition duration-500">
</div>
<div class="overflow-hidden rounded-lg shadow-md hover:shadow-xl transition duration-300">
<img src="https://placekitten.com/305/305" alt="Cat 6" class="w-full h-48 object-cover hover:scale-110 transition duration-500">
</div>
<div class="overflow-hidden rounded-lg shadow-md hover:shadow-xl transition duration-300">
<img src="https://placekitten.com/306/306" alt="Cat 7" class="w-full h-48 object-cover hover:scale-110 transition duration-500">
</div>
<div class="overflow-hidden rounded-lg shadow-md hover:shadow-xl transition duration-300">
<img src="https://placekitten.com/307/307" alt="Cat 8" class="w-full h-48 object-cover hover:scale-110 transition duration-500">
</div>
</div>
<div class="text-center mt-12">
<button class="bg-orange-500 hover:bg-orange-600 text-white font-bold py-3 px-8 rounded-full transition duration-300">
View More Cats <i class="fas fa-images ml-2"></i>
</button>
</div>
</div>
</section>
<!-- Newsletter -->
<section class="py-16 bg-gradient-to-r from-yellow-400 to-orange-500">
<div class="container mx-auto px-4 text-center">
<h2 class="text-3xl md:text-4xl font-bold text-white mb-6">Join Our <span class="text-gray-800">Cat</span> Community</h2>
<p class="text-xl text-white mb-8 max-w-2xl mx-auto">Subscribe to our newsletter for the latest cat care tips, adoption stories, and exclusive content.</p>
<div class="max-w-md mx-auto flex">
<input type="email" placeholder="Your email address" class="flex-grow px-4 py-3 rounded-l-full focus:outline-none">
<button class="bg-gray-800 hover:bg-black text-white font-bold px-6 py-3 rounded-r-full transition duration-300">
Subscribe <i class="fas fa-paper-plane ml-2"></i>
</button>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<div class="flex items-center mb-4">
<i class="fas fa-cat text-orange-500 text-3xl mr-2"></i>
<span class="text-2xl font-bold">Purrfect Cats</span>
</div>
<p class="text-gray-400">Dedicated to celebrating our feline friends and helping them find loving homes.</p>
<div class="flex space-x-4 mt-4">
<a href="#" class="text-gray-400 hover:text-orange-500 text-xl"><i class="fab fa-facebook"></i></a>
<a href="#" class="text-gray-400 hover:text-orange-500 text-xl"><i class="fab fa-instagram"></i></a>
<a href="#" class="text-gray-400 hover:text-orange-500 text-xl"><i class="fab fa-twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-orange-500 text-xl"><i class="fab fa-youtube"></i></a>
</div>
</div>
<div>
<h3 class="text-xl font-bold mb-4">Quick Links</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-orange-500 transition">Home</a></li>
<li><a href="#" class="text-gray-400 hover:text-orange-500 transition">About Us</a></li>
<li><a href="#" class="text-gray-400 hover:text-orange-500 transition">Cat Breeds</a></li>
<li><a href="#" class="text-gray-400 hover:text-orange-500 transition">Adoption</a></li>
<li><a href="#" class="text-gray-400 hover:text-orange-500 transition">Contact</a></li>
</ul>
</div>
<div>
<h3 class="text-xl font-bold mb-4">Resources</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-orange-500 transition">Cat Care</a></li>
<li><a href="#" class="text-gray-400 hover:text-orange-500 transition">Training Tips</a></li>
<li><a href="#" class="text-gray-400 hover:text-orange-500 transition">Health Guide</a></li>
<li><a href="#" class="text-gray-400 hover:text-orange-500 transition">Nutrition</a></li>
<li><a href="#" class="text-gray-400 hover:text-orange-500 transition">FAQ</a></li>
</ul>
</div>
<div>
<h3 class="text-xl font-bold mb-4">Contact</h3>
<ul class="space-y-2">
<li class="flex items-center">
<i class="fas fa-map-marker-alt text-orange-500 mr-2"></i>
<span class="text-gray-400">123 Cat Street, Meowville</span>
</li>
<li class="flex items-center">
<i class="fas fa-phone text-orange-500 mr-2"></i>
<span class="text-gray-400">(123) 456-7890</span>
</li>
<li class="flex items-center">
<i class="fas fa-envelope text-orange-500 mr-2"></i>
<span class="text-gray-400">hello@purrfectcats.com</span>
</li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-500">
<p>&copy; 2023 Purrfect Cats. All rights reserved. Made with <i class="fas fa-heart text-orange-500"></i> for cats.</p>
</div>
</div>
</footer>
<!-- Back to Top Button -->
<button id="backToTop" class="fixed bottom-8 right-8 bg-orange-500 text-white w-12 h-12 rounded-full shadow-lg flex items-center justify-center transition duration-300 opacity-0 invisible hover:bg-orange-600">
<i class="fas fa-arrow-up"></i>
</button>
<script>
// Back to Top Button
const backToTopButton = document.getElementById('backToTop');
window.addEventListener('scroll', () => {
if (window.pageYOffset > 300) {
backToTopButton.classList.remove('opacity-0', 'invisible');
backToTopButton.classList.add('opacity-100', 'visible');
} else {
backToTopButton.classList.remove('opacity-100', 'visible');
backToTopButton.classList.add('opacity-0', 'invisible');
}
});
backToTopButton.addEventListener('click', () => {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
// Paw Trail Effect
const pawContainer = document.getElementById('paw-trail');
let lastPawTime = 0;
document.addEventListener('mousemove', (e) => {
const now = Date.now();
if (now - lastPawTime < 100) return; // Limit paw creation rate
lastPawTime = now;
const paw = document.createElement('div');
paw.className = 'cat-paw';
paw.style.left = `${e.pageX - 20}px`;
paw.style.top = `${e.pageY - 20}px`;
// Random rotation
const rotation = Math.random() * 360;
paw.style.transform = `rotate(${rotation}deg)`;
pawContainer.appendChild(paw);
// Animate paw
setTimeout(() => {
paw.style.opacity = '0.8';
paw.style.transition = 'opacity 0.5s, transform 0.5s';
paw.style.transform = `rotate(${rotation}deg) scale(1.5)`;
}, 10);
setTimeout(() => {
paw.style.opacity = '0';
setTimeout(() => {
paw.remove();
}, 500);
}, 500);
});
// Cat facts carousel (would be implemented with more time)
console.log("Meow! Welcome to Purrfect Cats!");
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Rafaelbbc/pus" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>