eeli71's picture
Code a website, where it says "look at the cat" and there is image of a cat
fd36a3e verified
Raw History Blame Contribute Delete
8.84 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Colorful Void Explorer</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Space Grotesk', sans-serif;
overflow-x: hidden;
}
.gradient-bg {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.pulse {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
.floating {
animation: floating 6s ease-in-out infinite;
}
@keyframes floating {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-20px);
}
}
</style>
</head>
<body class="min-h-screen bg-gray-900 text-white">
<!-- Vanta.js Background -->
<div id="vanta-bg" class="fixed inset-0 z-0"></div>
<!-- Main Content -->
<div class="relative z-10 min-h-screen flex flex-col">
<!-- Navigation -->
<nav class="px-6 py-4 flex justify-between items-center backdrop-blur-sm bg-black/50">
<div class="flex items-center space-x-2">
<i data-feather="compass" class="text-indigo-400"></i>
<span class="text-xl font-bold bg-clip-text text-transparent gradient-text">Void Explorer</span>
</div>
<div class="hidden md:flex space-x-8">
<a href="#" class="hover:text-indigo-300 transition">Home</a>
<a href="#" class="hover:text-indigo-300 transition">Explore</a>
<a href="#" class="hover:text-indigo-300 transition">Gallery</a>
<a href="#" class="hover:text-indigo-300 transition">About</a>
<a href="cat.html" class="hover:text-indigo-300 transition">Cat</a>
</div>
<button class="md:hidden">
<i data-feather="menu"></i>
</button>
</nav>
<!-- Hero Section -->
<section class="flex-grow flex flex-col justify-center items-center text-center px-4 py-16">
<div class="max-w-4xl mx-auto">
<h1 class="text-5xl md:text-7xl font-bold mb-6">
<span class="gradient-text">Explore The</span>
<span class="text-transparent bg-clip-text bg-gradient-to-r from-indigo-400 to-purple-600">Colorful Void</span>
</h1>
<p class="text-xl md:text-2xl text-gray-300 mb-12 max-w-2xl mx-auto">
Discover the undefined in a space where colors dance and boundaries disappear.
</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<button class="px-8 py-3 bg-indigo-600 hover:bg-indigo-700 rounded-full font-medium transition-all transform hover:scale-105">
Begin Journey
</button>
<button class="px-8 py-3 border border-indigo-400 text-indigo-300 hover:bg-indigo-900/30 rounded-full font-medium transition-all transform hover:scale-105">
Learn More
</button>
</div>
</div>
<div class="mt-24 w-full max-w-4xl mx-auto relative">
<div class="absolute -top-16 -left-16 w-32 h-32 bg-purple-500 rounded-full filter blur-3xl opacity-20"></div>
<div class="absolute -bottom-16 -right-16 w-32 h-32 bg-indigo-500 rounded-full filter blur-3xl opacity-20"></div>
<div class="relative bg-gray-800/50 backdrop-blur-sm rounded-2xl overflow-hidden border border-gray-700/50 p-8">
<div class="grid md:grid-cols-3 gap-8">
<div class="space-y-4">
<div class="w-12 h-12 rounded-xl bg-indigo-500/20 flex items-center justify-center">
<i data-feather="box" class="text-indigo-400"></i>
</div>
<h3 class="text-xl font-semibold">Undefined Dimensions</h3>
<p class="text-gray-400">Explore spaces where colors have no boundaries and definitions blur.</p>
</div>
<div class="space-y-4">
<div class="w-12 h-12 rounded-xl bg-purple-500/20 flex items-center justify-center">
<i data-feather="cpu" class="text-purple-400"></i>
</div>
<h3 class="text-xl font-semibold">Color Algorithms</h3>
<p class="text-gray-400">Our technology creates endless color combinations you've never seen before.</p>
</div>
<div class="space-y-4">
<div class="w-12 h-12 rounded-xl bg-pink-500/20 flex items-center justify-center">
<i data-feather="eye" class="text-pink-400"></i>
</div>
<h3 class="text-xl font-semibold">Visual Experience</h3>
<p class="text-gray-400">Immerse yourself in a world where colors come alive and react to your presence.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Floating Planets -->
<div class="absolute top-1/4 left-10 w-8 h-8 rounded-full bg-indigo-400/20 filter blur-sm floating"></div>
<div class="absolute top-1/3 right-20 w-12 h-12 rounded-full bg-purple-500/30 filter blur floating" style="animation-delay: 1s;"></div>
<div class="absolute bottom-1/4 left-1/4 w-6 h-6 rounded-full bg-pink-400/40 filter blur-sm floating" style="animation-delay: 2s;"></div>
<!-- Footer -->
<footer class="mt-auto py-8 px-6 text-center text-gray-400 text-sm backdrop-blur-sm bg-black/50">
<div class="flex justify-center space-x-6 mb-4">
<a href="#" class="hover:text-indigo-300 transition">
<i data-feather="twitter"></i>
</a>
<a href="#" class="hover:text-indigo-300 transition">
<i data-feather="instagram"></i>
</a>
<a href="#" class="hover:text-indigo-300 transition">
<i data-feather="github"></i>
</a>
<a href="#" class="hover:text-indigo-300 transition">
<i data-feather="linkedin"></i>
</a>
</div>
<p>© 2023 Colorful Void Explorer. All rights reserved. Or maybe not. It's undefined after all.</p>
</footer>
</div>
<script>
// Initialize Vanta.js
VANTA.GLOBE({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x5a67d8,
backgroundColor: 0x111827,
size: 0.8
});
// Initialize Feather Icons
document.addEventListener('DOMContentLoaded', function() {
feather.replace();
// Simple animation for headings
anime({
targets: 'h1 span',
translateY: [-20, 0],
opacity: [0, 1],
duration: 1500,
delay: anime.stagger(200),
easing: 'easeOutExpo'
});
// Floating animation for call-to-action buttons
anime({
targets: '.floating',
translateY: ['0%', '-10%'],
direction: 'alternate',
loop: true,
easing: 'easeInOutSine',
duration: 3000,
delay: anime.stagger(1000)
});
});
</script>
</body>
</html>