| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <title>WhatsGood | Discover What's Trending</title> |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> |
| <script src="https://cdn.tailwindcss.com"></script> |
| <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> |
| <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></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="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script> |
| <style> |
| @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap'); |
| body { |
| font-family: 'Poppins', sans-serif; |
| overflow-x: hidden; |
| } |
| .gradient-text { |
| background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899); |
| -webkit-background-clip: text; |
| background-clip: text; |
| color: transparent; |
| } |
| .hero-gradient { |
| background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%); |
| } |
| .card-hover { |
| transition: all 0.3s ease; |
| } |
| .card-hover:hover { |
| transform: translateY(-5px); |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); |
| } |
| .parallax { |
| background-attachment: fixed; |
| background-position: center; |
| background-repeat: no-repeat; |
| background-size: cover; |
| } |
| </style> |
| </head> |
| <body class="bg-gray-50"> |
| |
| <div id="vanta-bg" class="min-h-screen flex items-center justify-center text-white relative overflow-hidden"> |
| <div class="absolute inset-0 bg-black opacity-50"></div> |
| <div class="container mx-auto px-6 z-10"> |
| <div class="text-center" data-aos="fade-up"> |
| <h1 class="text-5xl md:text-7xl font-bold mb-6 gradient-text">Whats<span class="text-white">Good</span></h1> |
| <p class="text-xl md:text-2xl mb-10 max-w-3xl mx-auto">Discover what's trending in your world. Music, movies, tech, fashion and more - all in one place.</p> |
| <div class="flex flex-col sm:flex-row justify-center gap-4"> |
| <button class="px-8 py-3 bg-white text-indigo-600 rounded-full font-semibold hover:bg-gray-100 transition duration-300 transform hover:scale-105"> |
| Explore Now |
| </button> |
| <a href="signup.html" class="px-8 py-3 border-2 border-white text-white rounded-full font-semibold hover:bg-white hover:text-indigo-600 transition duration-300 transform hover:scale-105 text-center"> |
| Sign Up Free |
| </a> |
| </div> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <nav class="sticky top-0 z-50 bg-white shadow-lg"> |
| <div class="container mx-auto px-6 py-3"> |
| <div class="flex justify-between items-center"> |
| <div class="text-2xl font-bold gradient-text">WhatsGood</div> |
| <div class="hidden md:flex space-x-8"> |
| <a href="#" class="text-gray-700 hover:text-indigo-600 transition">Home</a> |
| <a href="#" class="text-gray-700 hover:text-indigo-600 transition">Trending</a> |
| <a href="#" class="text-gray-700 hover:text-indigo-600 transition">Categories</a> |
| <a href="#" class="text-gray-700 hover:text-indigo-600 transition">Discover</a> |
| <a href="signup.html" class="text-gray-700 hover:text-indigo-600 transition">Sign Up</a> |
| <a href="#" class="text-gray-700 hover:text-indigo-600 transition">About</a> |
| </div> |
| <div class="md:hidden"> |
| <button id="menu-btn" class="text-gray-700 focus:outline-none"> |
| <i data-feather="menu"></i> |
| </button> |
| </div> |
| </div> |
| |
| <div id="mobile-menu" class="hidden md:hidden mt-4 pb-4"> |
| <a href="#" class="block py-2 text-gray-700 hover:text-indigo-600">Home</a> |
| <a href="#" class="block py-2 text-gray-700 hover:text-indigo-600">Trending</a> |
| <a href="#" class="block py-2 text-gray-700 hover:text-indigo-600">Categories</a> |
| <a href="#" class="block py-2 text-gray-700 hover:text-indigo-600">Discover</a> |
| <a href="#" class="block py-2 text-gray-700 hover:text-indigo-600">About</a> |
| </div> |
| </div> |
| </nav> |
|
|
| |
| <section class="py-20 bg-white"> |
| <div class="container mx-auto px-6"> |
| <div class="text-center mb-16" data-aos="fade-up"> |
| <h2 class="text-3xl md:text-4xl font-bold mb-4">Trending Now</h2> |
| <p class="text-gray-600 max-w-2xl mx-auto">See what's capturing everyone's attention right now across different categories.</p> |
| </div> |
| |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8"> |
| |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden card-hover" data-aos="fade-up" data-aos-delay="100"> |
| <div class="relative"> |
| <img src="http://static.photos/technology/640x360/1" alt="Tech Trend" class="w-full h-48 object-cover"> |
| <div class="absolute top-2 right-2 bg-indigo-600 text-white text-xs px-2 py-1 rounded-full">TECH</div> |
| </div> |
| <div class="p-6"> |
| <h3 class="text-xl font-semibold mb-2">The Future of AI</h3> |
| <p class="text-gray-600 mb-4">How artificial intelligence is transforming industries in 2023.</p> |
| <div class="flex items-center text-sm text-gray-500"> |
| <i data-feather="clock" class="w-4 h-4 mr-1"></i> |
| <span>5 min read</span> |
| </div> |
| </div> |
| </div> |
| |
| |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden card-hover" data-aos="fade-up" data-aos-delay="200"> |
| <div class="relative"> |
| <img src="http://static.photos/music/640x360/2" alt="Music Trend" class="w-full h-48 object-cover"> |
| <div class="absolute top-2 right-2 bg-pink-600 text-white text-xs px-2 py-1 rounded-full">MUSIC</div> |
| </div> |
| <div class="p-6"> |
| <h3 class="text-xl font-semibold mb-2">Summer Hits 2023</h3> |
| <p class="text-gray-600 mb-4">The top 10 songs dominating the charts this season.</p> |
| <div class="flex items-center text-sm text-gray-500"> |
| <i data-feather="clock" class="w-4 h-4 mr-1"></i> |
| <span>3 min read</span> |
| </div> |
| </div> |
| </div> |
| |
| |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden card-hover" data-aos="fade-up" data-aos-delay="300"> |
| <div class="relative"> |
| <img src="http://static.photos/fashion/640x360/3" alt="Fashion Trend" class="w-full h-48 object-cover"> |
| <div class="absolute top-2 right-2 bg-purple-600 text-white text-xs px-2 py-1 rounded-full">FASHION</div> |
| </div> |
| <div class="p-6"> |
| <h3 class="text-xl font-semibold mb-2">Streetwear Revolution</h3> |
| <p class="text-gray-600 mb-4">How street fashion is influencing high-end designers.</p> |
| <div class="flex items-center text-sm text-gray-500"> |
| <i data-feather="clock" class="w-4 h-4 mr-1"></i> |
| <span>7 min read</span> |
| </div> |
| </div> |
| </div> |
| |
| |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden card-hover" data-aos="fade-up" data-aos-delay="400"> |
| <div class="relative"> |
| <img src="http://static.photos/food/640x360/4" alt="Food Trend" class="w-full h-48 object-cover"> |
| <div class="absolute top-2 right-2 bg-green-600 text-white text-xs px-2 py-1 rounded-full">FOOD</div> |
| </div> |
| <div class="p-6"> |
| <h3 class="text-xl font-semibold mb-2">Plant-Based Boom</h3> |
| <p class="text-gray-600 mb-4">The rise of vegan alternatives in mainstream restaurants.</p> |
| <div class="flex items-center text-sm text-gray-500"> |
| <i data-feather="clock" class="w-4 h-4 mr-1"></i> |
| <span>4 min read</span> |
| </div> |
| </div> |
| </div> |
| </div> |
| |
| <div class="text-center mt-12"> |
| <button class="px-8 py-3 bg-indigo-600 text-white rounded-full font-semibold hover:bg-indigo-700 transition duration-300 transform hover:scale-105"> |
| View All Trends |
| </button> |
| </div> |
| </div> |
| </section> |
|
|
| |
| <section class="py-20 bg-gray-50"> |
| <div class="container mx-auto px-6"> |
| <div class="text-center mb-16" data-aos="fade-up"> |
| <h2 class="text-3xl md:text-4xl font-bold mb-4">Explore Categories</h2> |
| <p class="text-gray-600 max-w-2xl mx-auto">Dive into specific interests and discover curated content just for you.</p> |
| </div> |
| |
| <div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-6"> |
| |
| <div class="bg-white rounded-lg shadow-md p-6 text-center card-hover" data-aos="zoom-in" data-aos-delay="100"> |
| <div class="w-16 h-16 mx-auto mb-4 bg-indigo-100 rounded-full flex items-center justify-center"> |
| <i data-feather="music" class="text-indigo-600 w-8 h-8"></i> |
| </div> |
| <h3 class="font-semibold">Music</h3> |
| </div> |
| |
| |
| <div class="bg-white rounded-lg shadow-md p-6 text-center card-hover" data-aos="zoom-in" data-aos-delay="150"> |
| <div class="w-16 h-16 mx-auto mb-4 bg-pink-100 rounded-full flex items-center justify-center"> |
| <i data-feather="film" class="text-pink-600 w-8 h-8"></i> |
| </div> |
| <h3 class="font-semibold">Movies</h3> |
| </div> |
| |
| |
| <div class="bg-white rounded-lg shadow-md p-6 text-center card-hover" data-aos="zoom-in" data-aos-delay="200"> |
| <div class="w-16 h-16 mx-auto mb-4 bg-purple-100 rounded-full flex items-center justify-center"> |
| <i data-feather="shopping-bag" class="text-purple-600 w-8 h-8"></i> |
| </div> |
| <h3 class="font-semibold">Fashion</h3> |
| </div> |
| |
| |
| <div class="bg-white rounded-lg shadow-md p-6 text-center card-hover" data-aos="zoom-in" data-aos-delay="250"> |
| <div class="w-16 h-16 mx-auto mb-4 bg-green-100 rounded-full flex items-center justify-center"> |
| <i data-feather="cpu" class="text-green-600 w-8 h-8"></i> |
| </div> |
| <h3 class="font-semibold">Tech</h3> |
| </div> |
| |
| |
| <div class="bg-white rounded-lg shadow-md p-6 text-center card-hover" data-aos="zoom-in" data-aos-delay="300"> |
| <div class="w-16 h-16 mx-auto mb-4 bg-blue-100 rounded-full flex items-center justify-center"> |
| <i data-feather="utensils" class="text-blue-600 w-8 h-8"></i> |
| </div> |
| <h3 class="font-semibold">Food</h3> |
| </div> |
| |
| |
| <div class="bg-white rounded-lg shadow-md p-6 text-center card-hover" data-aos="zoom-in" data-aos-delay="350"> |
| <div class="w-16 h-16 mx-auto mb-4 bg-yellow-100 rounded-full flex items-center justify-center"> |
| <i data-feather="globe" class="text-yellow-600 w-8 h-8"></i> |
| </div> |
| <h3 class="font-semibold">Travel</h3> |
| </div> |
| </div> |
| </div> |
| </section> |
|
|
| |
| <section class="py-20 bg-white"> |
| <div class="container mx-auto px-6"> |
| <div class="text-center mb-16" data-aos="fade-up"> |
| <h2 class="text-3xl md:text-4xl font-bold mb-4">Featured Content</h2> |
| <p class="text-gray-600 max-w-2xl mx-auto">Handpicked selections from our editors that you won't want to miss.</p> |
| </div> |
| |
| <div class="flex flex-col lg:flex-row gap-8"> |
| |
| <div class="lg:w-2/3" data-aos="fade-right"> |
| <div class="bg-gray-900 rounded-xl shadow-xl overflow-hidden card-hover"> |
| <div class="relative"> |
| <img src="http://static.photos/technology/1200x630/5" alt="Featured Tech" class="w-full h-96 object-cover opacity-70"> |
| <div class="absolute inset-0 flex items-center justify-center"> |
| <div class="text-center p-8"> |
| <span class="inline-block px-3 py-1 bg-indigo-600 text-white text-sm rounded-full mb-4">TECHNOLOGY</span> |
| <h3 class="text-3xl md:text-4xl font-bold text-white mb-4">The Metaverse Explained</h3> |
| <p class="text-gray-300 mb-6 max-w-2xl mx-auto">How virtual worlds are changing the way we work, play, and connect with others.</p> |
| <button class="px-6 py-2 bg-white text-indigo-600 rounded-full font-semibold hover:bg-gray-100 transition"> |
| Read Article |
| </button> |
| </div> |
| </div> |
| </div> |
| </div> |
| </div> |
| |
| |
| <div class="lg:w-1/3 space-y-6" data-aos="fade-left"> |
| |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden card-hover"> |
| <div class="relative"> |
| <img src="http://static.photos/music/640x360/6" alt="Music Feature" class="w-full h-40 object-cover"> |
| </div> |
| <div class="p-6"> |
| <h3 class="text-xl font-semibold mb-2">Artist Spotlight: Nova Wave</h3> |
| <p class="text-gray-600 mb-4">The indie band taking the music scene by storm with their unique sound.</p> |
| <div class="flex items-center text-sm text-gray-500"> |
| <i data-feather="clock" class="w-4 h-4 mr-1"></i> |
| <span>8 min read</span> |
| </div> |
| </div> |
| </div> |
| |
| |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden card-hover"> |
| <div class="relative"> |
| <img src="http://static.photos/fashion/640x360/7" alt="Fashion Feature" class="w-full h-40 object-cover"> |
| </div> |
| <div class="p-6"> |
| <h3 class="text-xl font-semibold mb-2">Sustainable Fashion Brands</h3> |
| <p class="text-gray-600 mb-4">10 eco-friendly labels making a difference in the industry.</p> |
| <div class="flex items-center text-sm text-gray-500"> |
| <i data-feather="clock" class="w-4 h-4 mr-1"></i> |
| <span>6 min read</span> |
| </div> |
| </div> |
| </div> |
| </div> |
| </div> |
| </div> |
| </section> |
|
|
| |
| <section class="py-20 hero-gradient text-white"> |
| <div class="container mx-auto px-6"> |
| <div class="max-w-4xl mx-auto text-center" data-aos="fade-up"> |
| <h2 class="text-3xl md:text-4xl font-bold mb-6">Stay Updated</h2> |
| <p class="text-xl mb-8">Subscribe to our newsletter and never miss what's good in your favorite categories.</p> |
| <div class="flex flex-col sm:flex-row gap-4 max-w-xl mx-auto"> |
| <input type="email" placeholder="Your email address" class="flex-grow px-4 py-3 rounded-full text-gray-900 focus:outline-none"> |
| <button class="px-6 py-3 bg-black text-white rounded-full font-semibold hover:bg-gray-900 transition"> |
| Subscribe |
| </button> |
| </div> |
| <p class="text-sm mt-4 opacity-70">We respect your privacy. Unsubscribe at any time.</p> |
| </div> |
| </div> |
| </section> |
|
|
| |
| <section class="py-20 bg-gray-50"> |
| <div class="container mx-auto px-6"> |
| <div class="text-center mb-16" data-aos="fade-up"> |
| <h2 class="text-3xl md:text-4xl font-bold mb-4">What People Say</h2> |
| <p class="text-gray-600 max-w-2xl mx-auto">Hear from our community about their WhatsGood experience.</p> |
| </div> |
| |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> |
| |
| <div class="bg-white p-8 rounded-xl shadow-lg card-hover" data-aos="fade-up" data-aos-delay="100"> |
| <div class="flex items-center mb-4"> |
| <img src="http://static.photos/people/200x200/8" alt="User" class="w-12 h-12 rounded-full object-cover mr-4"> |
| <div> |
| <h4 class="font-semibold">Sarah Johnson</h4> |
| <p class="text-gray-500 text-sm">Music Enthusiast</p> |
| </div> |
| </div> |
| <p class="text-gray-700">"WhatsGood helps me discover new music before it becomes mainstream. I've found so many amazing artists through their recommendations!"</p> |
| <div class="flex mt-4"> |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> |
| </div> |
| </div> |
| |
| |
| <div class="bg-white p-8 rounded-xl shadow-lg card-hover" data-aos="fade-up" data-aos-delay="200"> |
| <div class="flex items-center mb-4"> |
| <img src="http://static.photos/people/200x200/9" alt="User" class="w-12 h-12 rounded-full object-cover mr-4"> |
| <div> |
| <h4 class="font-semibold">Michael Chen</h4> |
| <p class="text-gray-500 text-sm">Tech Blogger</p> |
| </div> |
| </div> |
| <p class="text-gray-700">"As someone who covers tech trends, WhatsGood is my go-to source for spotting emerging technologies before they hit the mainstream news."</p> |
| <div class="flex mt-4"> |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> |
| </div> |
| </div> |
| |
| |
| <div class="bg-white p-8 rounded-xl shadow-lg card-hover" data-aos="fade-up" data-aos-delay="300"> |
| <div class="flex items-center mb-4"> |
| <img src="http://static.photos/people/200x200/10" alt="User" class="w-12 h-12 rounded-full object-cover mr-4"> |
| <div> |
| <h4 class="font-semibold">Emma Rodriguez</h4> |
| <p class="text-gray-500 text-sm">Fashion Influencer</p> |
| </div> |
| </div> |
| <p class="text-gray-700">"I rely on WhatsGood to stay ahead of fashion trends. Their curated content saves me hours of research and keeps my content fresh."</p> |
| <div class="flex mt-4"> |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> |
| </div> |
| </div> |
| </div> |
| </div> |
| </section> |
|
|
| |
| <section class="py-20 bg-white"> |
| <div class="container mx-auto px-6"> |
| <div class="flex flex-col lg:flex-row items-center"> |
| <div class="lg:w-1/2 mb-10 lg:mb-0" data-aos="fade-right"> |
| <img src="http://static.photos/technology/640x360/11" alt="App Screenshot" class="rounded-xl shadow-xl w-full max-w-md mx-auto"> |
| </div> |
| <div class="lg:w-1/2 lg:pl-12" data-aos="fade-left"> |
| <h2 class="text-3xl md:text-4xl font-bold mb-6">Get the WhatsGood App</h2> |
| <p class="text-gray-600 mb-8">Take trending content with you wherever you go. Our mobile app delivers personalized recommendations based on your interests.</p> |
| <div class="flex flex-col sm:flex-row gap-4"> |
| <button class="flex items-center justify-center px-6 py-3 bg-black text-white rounded-lg hover:bg-gray-900 transition"> |
| <i data-feather="apple" class="w-5 h-5 mr-2"></i> |
| <div class="text-left"> |
| <div class="text-xs">Download on the</div> |
| <div class="font-semibold">App Store</div> |
| </div> |
| </button> |
| <button class="flex items-center justify-center px-6 py-3 bg-black text-white rounded-lg hover:bg-gray-900 transition"> |
| <i data-feather="play" class="w-5 h-5 mr-2"></i> |
| <div class="text-left"> |
| <div class="text-xs">Get it on</div> |
| <div class="font-semibold">Google Play</div> |
| </div> |
| </button> |
| </div> |
| </div> |
| </div> |
| </div> |
| </section> |
|
|
| |
| <footer class="bg-gray-900 text-white py-12"> |
| <div class="container mx-auto px-6"> |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> |
| |
| <div> |
| <h3 class="text-xl font-bold mb-4 gradient-text">WhatsGood</h3> |
| <p class="text-gray-400 mb-4">Discover what's trending in your world. Music, movies, tech, fashion and more.</p> |
| <div class="flex space-x-4"> |
| <a href="#" class="text-gray-400 hover:text-white transition"> |
| <i data-feather="facebook"></i> |
| </a> |
| <a href="#" class="text-gray-400 hover:text-white transition"> |
| <i data-feather="twitter"></i> |
| </a> |
| <a href="#" class="text-gray-400 hover:text-white transition"> |
| <i data-feather="instagram"></i> |
| </a> |
| <a href="#" class="text-gray-400 hover:text-white transition"> |
| <i data-feather="youtube"></i> |
| </a> |
| </div> |
| </div> |
| |
| |
| <div> |
| <h4 class="font-semibold mb-4">Explore</h4> |
| <ul class="space-y-2"> |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Trending Now</a></li> |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Popular Categories</a></li> |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Editor's Picks</a></li> |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Weekly Digest</a></li> |
| </ul> |
| </div> |
| |
| |
| <div> |
| <h4 class="font-semibold mb-4">Company</h4> |
| <ul class="space-y-2"> |
| <li><a href="#" class="text-gray-400 hover:text-white transition">About Us</a></li> |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Careers</a></li> |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Press</a></li> |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li> |
| </ul> |
| </div> |
| |
| |
| <div> |
| <h4 class="font-semibold mb-4">Legal</h4> |
| <ul class="space-y-2"> |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Terms of Service</a></li> |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Privacy Policy</a></li> |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Cookie Policy</a></li> |
| <li><a href="#" class="text-gray-400 hover:text-white transition">GDPR</a></li> |
| </ul> |
| </div> |
| </div> |
| |
| <div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center"> |
| <p class="text-gray-400 mb-4 md:mb-0">© 2023 WhatsGood. All rights reserved.</p> |
| <div class="flex space-x-6"> |
| <a href="#" class="text-gray-400 hover:text-white transition">Privacy</a> |
| <a href="#" class="text-gray-400 hover:text-white transition">Terms</a> |
| <a href="#" class="text-gray-400 hover:text-white transition">Sitemap</a> |
| </div> |
| </div> |
| </div> |
| </footer> |
|
|
| |
| <button id="back-to-top" class="fixed bottom-8 right-8 bg-indigo-600 text-white p-3 rounded-full shadow-lg opacity-0 invisible transition-all duration-300 hover:bg-indigo-700"> |
| <i data-feather="arrow-up"></i> |
| </button> |
|
|
| <script> |
| |
| AOS.init({ |
| duration: 800, |
| easing: 'ease-in-out', |
| once: true |
| }); |
| |
| |
| VANTA.GLOBE({ |
| el: "#vanta-bg", |
| mouseControls: true, |
| touchControls: true, |
| gyroControls: false, |
| minHeight: 200.00, |
| minWidth: 200.00, |
| scale: 1.00, |
| scaleMobile: 1.00, |
| color: 0x3b82f6, |
| backgroundColor: 0x0, |
| size: 0.8 |
| }); |
| |
| |
| document.getElementById('menu-btn').addEventListener('click', function() { |
| document.getElementById('mobile-menu').classList.toggle('hidden'); |
| }); |
| |
| |
| window.addEventListener('scroll', function() { |
| var backToTop = document.getElementById('back-to-top'); |
| if (window.pageYOffset > 300) { |
| backToTop.classList.remove('opacity-0', 'invisible'); |
| backToTop.classList.add('opacity-100', 'visible'); |
| } else { |
| backToTop.classList.remove('opacity-100', 'visible'); |
| backToTop.classList.add('opacity-0', 'invisible'); |
| } |
| }); |
| |
| document.getElementById('back-to-top').addEventListener('click', function() { |
| window.scrollTo({top: 0, behavior: 'smooth'}); |
| }); |
| |
| |
| feather.replace(); |
| </script> |
| </body> |
| </html> |
|
|