Create a travel blog with full-width destination photos, travel stories grid, interactive world map showing visited places, travel tips section, gear recommendations, and subscription form.
df9c8a3 verified Download index.html from Daskstyles/wanderlust-chronicles: direct link, hf CLI and curl.
- Browser
- Download file 12 kB
-
https://huggingface.co/spaces/Daskstyles/wanderlust-chronicles/resolve/main/index.html
- Command line
-
hf download hf://spaces/Daskstyles/wanderlust-chronicles/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Daskstyles/wanderlust-chronicles/resolve/main/index.html
12 kB
| <html lang="en" class="dark"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>WanderLust Chronicles | Travel Blog</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="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script> | |
| <script> | |
| tailwind.config = { | |
| darkMode: 'class', | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: { | |
| 500: '#0ea5e9', | |
| }, | |
| secondary: { | |
| 500: '#737373', | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| </head> | |
| <body class="bg-neutral-900 text-neutral-100 min-h-screen flex flex-col"> | |
| <custom-navbar></custom-navbar> | |
| <!-- Hero Section --> | |
| <section id="hero" class="relative h-screen w-full overflow-hidden"> | |
| <div id="vanta-globe" class="absolute inset-0 w-full h-full"></div> | |
| <div class="absolute inset-0 bg-black/50 flex items-center justify-center"> | |
| <div class="text-center px-4"> | |
| <h1 class="text-5xl md:text-7xl font-bold mb-6 text-primary-500">WanderLust Chronicles</h1> | |
| <p class="text-xl md:text-2xl mb-8 max-w-2xl mx-auto">Discover breathtaking destinations and inspiring travel stories from around the globe</p> | |
| <a href="#stories" class="inline-flex items-center px-8 py-3 bg-primary-500 hover:bg-primary-600 rounded-full font-medium transition-colors"> | |
| Explore Stories | |
| <i data-feather="arrow-down" class="ml-2"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Featured Destinations --> | |
| <section class="py-16 bg-neutral-800"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold text-center mb-12">Featured Destinations</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <div class="relative group overflow-hidden rounded-xl h-96"> | |
| <img src="http://static.photos/travel/1200x630/1" alt="Santorini" class="w-full h-full object-cover transition-transform duration-500 group-hover:scale-110"> | |
| <div class="absolute inset-0 bg-gradient-to-t from-black/80 via-transparent to-transparent flex flex-col justify-end p-6"> | |
| <h3 class="text-2xl font-bold text-white">Santorini, Greece</h3> | |
| <p class="text-neutral-300 mt-2">Whitewashed buildings with blue domes overlooking the Aegean Sea</p> | |
| </div> | |
| </div> | |
| <div class="relative group overflow-hidden rounded-xl h-96"> | |
| <img src="http://static.photos/travel/1200x630/2" alt="Kyoto" class="w-full h-full object-cover transition-transform duration-500 group-hover:scale-110"> | |
| <div class="absolute inset-0 bg-gradient-to-t from-black/80 via-transparent to-transparent flex flex-col justify-end p-6"> | |
| <h3 class="text-2xl font-bold text-white">Kyoto, Japan</h3> | |
| <p class="text-neutral-300 mt-2">Ancient temples and cherry blossoms in the cultural heart of Japan</p> | |
| </div> | |
| </div> | |
| <div class="relative group overflow-hidden rounded-xl h-96"> | |
| <img src="http://static.photos/travel/1200x630/3" alt="Patagonia" class="w-full h-full object-cover transition-transform duration-500 group-hover:scale-110"> | |
| <div class="absolute inset-0 bg-gradient-to-t from-black/80 via-transparent to-transparent flex flex-col justify-end p-6"> | |
| <h3 class="text-2xl font-bold text-white">Patagonia, Chile</h3> | |
| <p class="text-neutral-300 mt-2">Towering mountains, glaciers and pristine wilderness at the end of the world</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Travel Stories --> | |
| <section id="stories" class="py-16 bg-neutral-900"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold text-center mb-12">Latest Travel Stories</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <!-- Story cards will be populated by JavaScript --> | |
| <div id="stories-container"></div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Interactive Map --> | |
| <section class="py-16 bg-neutral-800"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold text-center mb-12">Where I've Been</h2> | |
| <div class="relative bg-neutral-700 rounded-xl overflow-hidden h-96"> | |
| <div id="map" class="w-full h-full"></div> | |
| <div class="absolute bottom-4 left-4 bg-black/70 text-white p-3 rounded-lg"> | |
| <p>Click on markers to see travel stories</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Travel Tips --> | |
| <section class="py-16 bg-neutral-900"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold text-center mb-12">Essential Travel Tips</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6"> | |
| <div class="bg-neutral-800 p-6 rounded-xl hover:bg-neutral-700 transition-colors"> | |
| <i data-feather="compass" class="text-primary-500 w-8 h-8 mb-4"></i> | |
| <h3 class="text-xl font-bold mb-2">Navigation</h3> | |
| <p class="text-neutral-400">Always download offline maps and learn basic local phrases for directions.</p> | |
| </div> | |
| <div class="bg-neutral-800 p-6 rounded-xl hover:bg-neutral-700 transition-colors"> | |
| <i data-feather="dollar-sign" class="text-primary-500 w-8 h-8 mb-4"></i> | |
| <h3 class="text-xl font-bold mb-2">Budgeting</h3> | |
| <p class="text-neutral-400">Use local ATMs for best exchange rates and always carry small bills.</p> | |
| </div> | |
| <div class="bg-neutral-800 p-6 rounded-xl hover:bg-neutral-700 transition-colors"> | |
| <i data-feather="shield" class="text-primary-500 w-8 h-8 mb-4"></i> | |
| <h3 class="text-xl font-bold mb-2">Safety</h3> | |
| <p class="text-neutral-400">Keep copies of important documents and be aware of common scams.</p> | |
| </div> | |
| <div class="bg-neutral-800 p-6 rounded-xl hover:bg-neutral-700 transition-colors"> | |
| <i data-feather="heart" class="text-primary-500 w-8 h-8 mb-4"></i> | |
| <h3 class="text-xl font-bold mb-2">Health</h3> | |
| <p class="text-neutral-400">Research required vaccinations and pack a basic medical kit.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Gear Recommendations --> | |
| <section class="py-16 bg-neutral-800"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold text-center mb-12">Must-Have Travel Gear</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <div class="bg-neutral-700 rounded-xl overflow-hidden hover:shadow-lg transition-shadow"> | |
| <img src="http://static.photos/technology/640x360/1" alt="Travel Backpack" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2">Ultralight Backpack</h3> | |
| <p class="text-neutral-400 mb-4">The perfect carry-on sized backpack with anti-theft features.</p> | |
| <a href="#" class="text-primary-500 hover:text-primary-400 font-medium inline-flex items-center"> | |
| View Details | |
| <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div class="bg-neutral-700 rounded-xl overflow-hidden hover:shadow-lg transition-shadow"> | |
| <img src="http://static.photos/technology/640x360/2" alt="Travel Adapter" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2">Universal Adapter</h3> | |
| <p class="text-neutral-400 mb-4">Works in 150+ countries with multiple USB ports.</p> | |
| <a href="#" class="text-primary-500 hover:text-primary-400 font-medium inline-flex items-center"> | |
| View Details | |
| <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div class="bg-neutral-700 rounded-xl overflow-hidden hover:shadow-lg transition-shadow"> | |
| <img src="http://static.photos/technology/640x360/3" alt="Packing Cubes" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2">Packing Cubes</h3> | |
| <p class="text-neutral-400 mb-4">Keep your luggage organized and maximize space.</p> | |
| <a href="#" class="text-primary-500 hover:text-primary-400 font-medium inline-flex items-center"> | |
| View Details | |
| <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Newsletter --> | |
| <section class="py-16 bg-gradient-to-r from-primary-700 to-primary-900"> | |
| <div class="container mx-auto px-4"> | |
| <div class="max-w-3xl mx-auto text-center"> | |
| <h2 class="text-3xl font-bold mb-4">Get Travel Inspiration</h2> | |
| <p class="text-primary-200 mb-8">Subscribe to our newsletter for weekly travel stories, tips, and exclusive content.</p> | |
| <form class="flex flex-col sm:flex-row gap-4 max-w-lg mx-auto"> | |
| <input type="email" placeholder="Your email address" class="flex-grow px-4 py-3 rounded-lg bg-white/10 text-white placeholder-primary-300 focus:outline-none focus:ring-2 focus:ring-primary-500"> | |
| <button type="submit" class="px-6 py-3 bg-white text-primary-800 font-medium rounded-lg hover:bg-primary-100 transition-colors"> | |
| Subscribe | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| </section> | |
| <custom-footer></custom-footer> | |
| <!-- Scripts --> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/footer.js"></script> | |
| <script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script> | |
| <link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" /> | |
| <script src="script.js"></script> | |
| <script> | |
| feather.replace(); | |
| // 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: 0x0ea5e9, | |
| backgroundColor: 0x0 | |
| }); | |
| </script> | |
| <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script> | |
| </body> | |
| </html> |