ecosphere-guardian / index.html
dylan-88's picture
use html css js and more to create my web appProject Title: "EcoSphere Guardian" - Immersive 3D Environmental Conservation Platform
4f57124 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EcoSphere Guardian | Protect Our Planet</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.132.2/build/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<link rel="stylesheet" href="/css/styles.css">
</head>
<body class="bg-gray-900 text-white overflow-x-hidden">
<!-- 3D Globe Background -->
<div id="vanta-globe" class="fixed inset-0 z-0"></div>
<!-- Main Navigation -->
<nav class="relative z-10 bg-black bg-opacity-70 backdrop-blur-md py-4 px-6 shadow-lg">
<div class="container mx-auto flex justify-between items-center">
<div class="flex items-center space-x-2">
<i data-feather="globe" class="text-green-400"></i>
<span class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-green-400 to-blue-500">EcoSphere Guardian</span>
</div>
<div class="hidden md:flex space-x-8">
<a href="#" class="hover:text-green-300 transition-all flex items-center">
<i data-feather="compass" class="mr-2"></i> Explore
</a>
<a href="#" class="hover:text-green-300 transition-all flex items-center">
<i data-feather="activity" class="mr-2"></i> Impact
</a>
<a href="#" class="hover:text-green-300 transition-all flex items-center">
<i data-feather="book" class="mr-2"></i> Learn
</a>
<a href="#" class="hover:text-green-300 transition-all flex items-center">
<i data-feather="users" class="mr-2"></i> Community
</a>
</div>
<button class="bg-gradient-to-r from-green-500 to-blue-600 px-6 py-2 rounded-full font-medium hover:shadow-lg hover:shadow-green-500/30 transition-all">
Join Now
</button>
</div>
</nav>
<!-- Hero Section -->
<main class="relative z-10 min-h-screen flex items-center">
<div class="container mx-auto px-6 py-24">
<div class="max-w-2xl backdrop-blur-sm bg-black bg-opacity-40 rounded-xl p-8">
<h1 class="text-5xl md:text-6xl font-bold mb-6 leading-tight">
<span class="bg-clip-text text-transparent bg-gradient-to-r from-green-400 to-blue-500">Protect</span> Our Planet's Future
</h1>
<p class="text-xl mb-8 text-gray-300">
Explore Earth's ecosystems in stunning 3D, discover conservation projects, and see your direct impact through immersive visualizations.
</p>
<div class="flex flex-wrap gap-4">
<button class="bg-gradient-to-r from-green-500 to-blue-600 px-8 py-3 rounded-full font-medium hover:shadow-lg hover:shadow-green-500/30 transition-all flex items-center">
<i data-feather="play" class="mr-2"></i> Take the Tour
</button>
<button class="border border-green-400 text-green-400 px-8 py-3 rounded-full font-medium hover:bg-green-400 hover:bg-opacity-10 transition-all flex items-center">
<i data-feather="eye" class="mr-2"></i> See Our Impact
</button>
</div>
</div>
</div>
</main>
<!-- Ecosystem Cards -->
<section class="relative z-10 py-20 bg-black bg-opacity-50">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-bold mb-12 text-center">
Explore <span class="bg-clip-text text-transparent bg-gradient-to-r from-green-400 to-blue-500">Earth's Ecosystems</span>
</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Rainforest Card -->
<div class="bg-gray-800 bg-opacity-60 rounded-2xl overflow-hidden hover:shadow-lg hover:shadow-green-500/20 transition-all transform hover:-translate-y-2">
<div class="h-48 bg-gradient-to-br from-green-900 to-green-600 flex items-center justify-center">
<i data-feather="droplet" class="w-16 h-16 text-green-300"></i>
</div>
<div class="p-6">
<h3 class="text-2xl font-bold mb-3">Rainforests</h3>
<p class="text-gray-300 mb-4">Explore the lush canopies and discover conservation efforts saving these vital carbon sinks.</p>
<button class="text-green-400 hover:text-green-300 transition-all flex items-center">
Dive In <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
</button>
</div>
</div>
<!-- Ocean Card -->
<div class="bg-gray-800 bg-opacity-60 rounded-2xl overflow-hidden hover:shadow-lg hover:shadow-blue-500/20 transition-all transform hover:-translate-y-2">
<div class="h-48 bg-gradient-to-br from-blue-900 to-blue-600 flex items-center justify-center">
<i data-feather="waves" class="w-16 h-16 text-blue-300"></i>
</div>
<div class="p-6">
<h3 class="text-2xl font-bold mb-3">Oceans</h3>
<p class="text-gray-300 mb-4">Dive into coral reefs and follow plastic pollution currents in our interactive 3D ocean.</p>
<button class="text-blue-400 hover:text-blue-300 transition-all flex items-center">
Dive In <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
</button>
</div>
</div>
<!-- Arctic Card -->
<div class="bg-gray-800 bg-opacity-60 rounded-2xl overflow-hidden hover:shadow-lg hover:shadow-cyan-500/20 transition-all transform hover:-translate-y-2">
<div class="h-48 bg-gradient-to-br from-cyan-900 to-cyan-600 flex items-center justify-center">
<i data-feather="cloud-snow" class="w-16 h-16 text-cyan-300"></i>
</div>
<div class="p-6">
<h3 class="text-2xl font-bold mb-3">Polar Regions</h3>
<p class="text-gray-300 mb-4">Witness melting glaciers and meet Arctic wildlife threatened by climate change.</p>
<button class="text-cyan-400 hover:text-cyan-300 transition-all flex items-center">
Dive In <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
</button>
</div>
</div>
</div>
</div>
</section>
<!-- Impact Visualization -->
<section class="relative z-10 py-20">
<div class="container mx-auto px-6">
<div class="flex flex-col lg:flex-row items-center">
<div class="lg:w-1/2 mb-12 lg:mb-0 lg:pr-12">
<h2 class="text-4xl font-bold mb-6">
See Your <span class="bg-clip-text text-transparent bg-gradient-to-r from-green-400 to-blue-500">Real Impact</span>
</h2>
<p class="text-xl text-gray-300 mb-8">
Our interactive dashboard visualizes exactly how your support makes a difference across the globe.
</p>
<ul class="space-y-4">
<li class="flex items-start">
<div class="bg-green-500 rounded-full p-1 mr-4 mt-1">
<i data-feather="check" class="w-4 h-4 text-white"></i>
</div>
<span class="text-gray-300">Watch your donated trees grow in our 3D forest</span>
</li>
<li class="flex items-start">
<div class="bg-green-500 rounded-full p-1 mr-4 mt-1">
<i data-feather="check" class="w-4 h-4 text-white"></i>
</div>
<span class="text-gray-300">Track plastic removed from oceans in real-time</span>
</li>
<li class="flex items-start">
<div class="bg-green-500 rounded-full p-1 mr-4 mt-1">
<i data-feather="check" class="w-4 h-4 text-white"></i>
</div>
<span class="text-gray-300">See carbon offset through beautiful data visualizations</span>
</li>
</ul>
</div>
<div class="lg:w-1/2 bg-gray-800 bg-opacity-60 rounded-2xl p-8 border border-gray-700">
<div class="aspect-w-16 aspect-h-9 bg-gradient-to-br from-green-900 to-blue-900 rounded-xl flex items-center justify-center h-64">
<i data-feather="pie-chart" class="w-16 h-16 text-green-400"></i>
<div class="absolute inset-0 flex items-center justify-center">
<!-- This would be replaced with Three.js visualization -->
<div class="text-center">
<div class="text-5xl font-bold text-green-400 mb-2">3,842</div>
<div class="text-gray-300">Trees Planted Today</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Call to Action -->
<section class="relative z-10 py-20 bg-gradient-to-br from-green-900/50 to-blue-900/50">
<div class="container mx-auto px-6 text-center">
<h2 class="text-4xl font-bold mb-6">
Ready to Become an <span class="bg-clip-text text-transparent bg-gradient-to-r from-green-400 to-blue-500">EcoSphere Guardian</span>?
</h2>
<p class="text-xl text-gray-300 max-w-2xl mx-auto mb-8">
Join our community of planet protectors and see your impact come to life through our immersive 3D platform.
</p>
<button class="bg-white text-gray-900 px-10 py-4 rounded-full font-bold hover:shadow-xl hover:shadow-green-500/30 transition-all transform hover:scale-105 flex items-center mx-auto">
<i data-feather="user-plus" class="mr-2"></i> Join Now - It's Free
</button>
</div>
</section>
<!-- Footer -->
<footer class="relative z-10 bg-black bg-opacity-90 py-12">
<div class="container mx-auto px-6">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<div class="flex items-center space-x-2 mb-4">
<i data-feather="globe" class="text-green-400"></i>
<span class="text-xl font-bold">EcoSphere Guardian</span>
</div>
<p class="text-gray-400">
Immersive environmental conservation through cutting-edge 3D web experiences.
</p>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Explore</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-green-400 transition-all">Ecosystems</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-400 transition-all">Projects</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-400 transition-all">Impact</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-400 transition-all">Stories</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Get Involved</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-green-400 transition-all">Donate</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-400 transition-all">Volunteer</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-400 transition-all">Educate</a></li>
<li><a href="#" class="text-gray-400 hover:text-green-400 transition-all">Careers</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Connect</h4>
<div class="flex space-x-4 mb-4">
<a href="#" class="text-gray-400 hover:text-green-400 transition-all">
<i data-feather="twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-green-400 transition-all">
<i data-feather="instagram"></i>
</a>
<a href="#" class="text-gray-400 hover:text-green-400 transition-all">
<i data-feather="facebook"></i>
</a>
<a href="#" class="text-gray-400 hover:text-green-400 transition-all">
<i data-feather="linkedin"></i>
</a>
</div>
<p class="text-gray-400 text-sm">
© 2023 EcoSphere Guardian. All rights reserved.
</p>
</div>
</div>
</div>
</footer>
<script>
// Initialize Vanta.js globe
VANTA.GLOBE({
el: "#vanta-globe",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x3dd1ff,
backgroundColor: 0x0,
size: 0.8
});
// Initialize Feather Icons
feather.replace();
// Animation for elements
document.addEventListener('DOMContentLoaded', () => {
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('animate-fadeInUp');
}
});
}, { threshold: 0.1 });
document.querySelectorAll('section, .animate-on-scroll').forEach(section => {
observer.observe(section);
});
});
</script>
<script src="/js/main.js"></script>
</body>
</html>