website / index.html
Jay443's picture
I need an editable blog page for my travel channel. The blog should have:
c5064fa verified
Raw History Blame Contribute Delete
18.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Wanderlust Diaries - Adventure travel blog with city guides, food discoveries, and hidden gems from around the world">
<title>Wanderlust Diaries | Adventure Travel Blog</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
tropical: {
teal: '#2dd4bf',
coral: '#f87171',
sun: '#fbbf24',
ocean: '#38bdf8',
palm: '#4ade80'
}
}
}
}
}
</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://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<style>
.blog-post img {
transition: transform 0.3s ease;
}
.blog-post:hover img {
transform: scale(1.02);
}
.tag:hover {
background-color: rgba(253, 230, 138, 0.5);
}
#newsletter-form input:focus {
outline: 2px solid #fbbf24;
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<!-- Navigation -->
<nav class="bg-white shadow-sm sticky top-0 z-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<a href="#" class="text-xl font-bold text-tropical-teal">Wanderlust Diaries</a>
</div>
<div class="hidden md:flex items-center space-x-8">
<a href="#" class="text-gray-700 hover:text-tropical-coral transition">Home</a>
<a href="#" class="text-gray-700 hover:text-tropical-coral transition">Destinations</a>
<a href="#" class="text-gray-700 hover:text-tropical-coral transition">About</a>
<a href="#" class="text-gray-700 hover:text-tropical-coral transition">Contact</a>
</div>
<div class="md:hidden flex items-center">
<button id="menu-btn" class="text-gray-700">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Mobile Menu -->
<div id="mobile-menu" class="hidden md:hidden bg-white shadow-lg">
<div class="px-2 pt-2 pb-3 space-y-1 sm:px-3">
<a href="#" class="block px-3 py-2 text-gray-700 hover:text-tropical-coral">Home</a>
<a href="#" class="block px-3 py-2 text-gray-700 hover:text-tropical-coral">Destinations</a>
<a href="#" class="block px-3 py-2 text-gray-700 hover:text-tropical-coral">About</a>
<a href="#" class="block px-3 py-2 text-gray-700 hover:text-tropical-coral">Contact</a>
</div>
</div>
<!-- Hero Section -->
<header class="relative bg-gradient-to-r from-tropical-ocean to-tropical-teal text-white py-20">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-10 md:mb-0" data-aos="fade-right">
<h1 class="text-4xl md:text-5xl font-bold mb-4">Chasing Sunsets & Making Memories</h1>
<p class="text-xl mb-6">Join me as I explore hidden gems, taste local flavors, and discover the world's most incredible places!</p>
<div class="flex space-x-4">
<a href="#featured" class="bg-tropical-sun text-gray-900 px-6 py-3 rounded-full font-medium hover:bg-yellow-400 transition">Explore Posts</a>
<a href="#about" class="border-2 border-white px-6 py-3 rounded-full font-medium hover:bg-white hover:text-tropical-teal transition">About Me</a>
</div>
</div>
<div class="md:w-1/2" data-aos="fade-left">
<img src="http://static.photos/travel/1024x576/1" alt="Traveler enjoying a sunset view" class="rounded-lg shadow-xl">
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
<div class="flex flex-col lg:flex-row gap-8">
<!-- Blog Posts Section -->
<div class="lg:w-2/3">
<!-- Featured Post -->
<section id="featured" class="mb-16">
<h2 class="text-3xl font-bold mb-8 text-tropical-teal">Featured Adventure</h2>
<div class="blog-post bg-white rounded-xl shadow-md overflow-hidden">
<img src="http://static.photos/travel/1200x630/2" alt="Street market in Bangkok" class="w-full h-96 object-cover">
<div class="p-6">
<div class="flex flex-wrap gap-2 mb-4">
<span class="tag bg-tropical-sun bg-opacity-20 text-tropical-sun px-3 py-1 rounded-full text-sm font-medium">Food Adventures</span>
<span class="tag bg-tropical-coral bg-opacity-20 text-tropical-coral px-3 py-1 rounded-full text-sm font-medium">Asia</span>
</div>
<h3 class="text-2xl font-bold mb-2">Bangkok Street Food Extravaganza</h3>
<p class="text-gray-600 mb-4">Published on May 15, 2023</p>
<p class="text-gray-700 mb-4">Discover the vibrant street food scene of Bangkok where every corner offers a new culinary adventure. From sizzling pad thai to exotic tropical fruits, this city is a food lover's paradise.</p>
<a href="#" class="text-tropical-teal font-medium hover:underline">Read More →</a>
</div>
</div>
</section>
<!-- Recent Posts Grid -->
<section>
<h2 class="text-3xl font-bold mb-8 text-tropical-teal">Recent Adventures</h2>
<div class="grid md:grid-cols-2 gap-8">
<!-- Post 1 -->
<div class="blog-post bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up">
<img src="http://static.photos/travel/640x360/3" alt="Hidden beach in Mexico" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex flex-wrap gap-2 mb-4">
<span class="tag bg-tropical-palm bg-opacity-20 text-tropical-palm px-3 py-1 rounded-full text-sm font-medium">Hidden Gems</span>
<span class="tag bg-tropical-ocean bg-opacity-20 text-tropical-ocean px-3 py-1 rounded-full text-sm font-medium">Mexico</span>
</div>
<h3 class="text-xl font-bold mb-2">Secret Beaches of the Yucatan</h3>
<p class="text-gray-600 mb-4">Published on April 28, 2023</p>
<p class="text-gray-700 mb-4">Escape the crowds and discover these pristine beaches only locals know about...</p>
<a href="#" class="text-tropical-teal font-medium hover:underline">Read More →</a>
</div>
</div>
<!-- Post 2 -->
<div class="blog-post bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="100">
<img src="http://static.photos/travel/640x360/4" alt="Tokyo cityscape" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex flex-wrap gap-2 mb-4">
<span class="tag bg-tropical-teal bg-opacity-20 text-tropical-teal px-3 py-1 rounded-full text-sm font-medium">City Guides</span>
<span class="tag bg-tropical-coral bg-opacity-20 text-tropical-coral px-3 py-1 rounded-full text-sm font-medium">Japan</span>
</div>
<h3 class="text-xl font-bold mb-2">Tokyo on a Budget: 5 Days Under $500</h3>
<p class="text-gray-600 mb-4">Published on April 10, 2023</p>
<p class="text-gray-700 mb-4">Yes, you can experience Tokyo without breaking the bank! Here's my complete budget guide...</p>
<a href="#" class="text-tropical-teal font-medium hover:underline">Read More →</a>
</div>
</div>
<!-- Post 3 -->
<div class="blog-post bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="200">
<img src="http://static.photos/travel/640x360/5" alt="Hiking in Patagonia" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex flex-wrap gap-2 mb-4">
<span class="tag bg-tropical-ocean bg-opacity-20 text-tropical-ocean px-3 py-1 rounded-full text-sm font-medium">Adventure</span>
<span class="tag bg-tropical-palm bg-opacity-20 text-tropical-palm px-3 py-1 rounded-full text-sm font-medium">South America</span>
</div>
<h3 class="text-xl font-bold mb-2">Patagonia Trekking: What They Don't Tell You</h3>
<p class="text-gray-600 mb-4">Published on March 22, 2023</p>
<p class="text-gray-700 mb-4">The breathtaking views come with challenges. Here's everything you need to know before you go...</p>
<a href="#" class="text-tropical-teal font-medium hover:underline">Read More →</a>
</div>
</div>
<!-- Post 4 -->
<div class="blog-post bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="300">
<img src="http://static.photos/travel/640x360/6" alt="Italian pasta dish" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex flex-wrap gap-2 mb-4">
<span class="tag bg-tropical-sun bg-opacity-20 text-tropical-sun px-3 py-1 rounded-full text-sm font-medium">Food Adventures</span>
<span class="tag bg-tropical-coral bg-opacity-20 text-tropical-coral px-3 py-1 rounded-full text-sm font-medium">Italy</span>
</div>
<h3 class="text-xl font-bold mb-2">Eating My Way Through Tuscany</h3>
<p class="text-gray-600 mb-4">Published on March 5, 2023</p>
<p class="text-gray-700 mb-4">From handmade pasta to the perfect gelato, here are my favorite foodie finds in Tuscany...</p>
<a href="#" class="text-tropical-teal font-medium hover:underline">Read More →</a>
</div>
</div>
</div>
</section>
</div>
<!-- Sidebar -->
<div class="lg:w-1/3 space-y-8">
<!-- About Me -->
<section id="about" class="bg-white p-6 rounded-xl shadow-md" data-aos="fade-left">
<h2 class="text-2xl font-bold mb-4 text-tropical-teal">About The Wanderer</h2>
<img src="http://static.photos/people/320x240/1" alt="Travel blogger smiling" class="w-32 h-32 rounded-full mx-auto mb-4 object-cover">
<p class="text-gray-700 mb-4">Hi, I'm Alex! I quit my 9-5 job in 2018 to travel the world and never looked back. I'm passionate about authentic experiences, local food, and finding those picture-perfect moments off the beaten path.</p>
<p class="text-gray-700">Join me as I share travel tips, funny stories, and the lessons learned from life on the road!</p>
</section>
<!-- Categories -->
<section class="bg-white p-6 rounded-xl shadow-md" data-aos="fade-left" data-aos-delay="100">
<h2 class="text-2xl font-bold mb-4 text-tropical-teal">Explore By Category</h2>
<div class="space-y-2">
<a href="#" class="block px-4 py-2 bg-gray-100 rounded-lg hover:bg-tropical-sun hover:bg-opacity-20 transition">Food Adventures</a>
<a href="#" class="block px-4 py-2 bg-gray-100 rounded-lg hover:bg-tropical-teal hover:bg-opacity-20 transition">City Guides</a>
<a href="#" class="block px-4 py-2 bg-gray-100 rounded-lg hover:bg-tropical-coral hover:bg-opacity-20 transition">Budget Travel</a>
<a href="#" class="block px-4 py-2 bg-gray-100 rounded-lg hover:bg-tropical-palm hover:bg-opacity-20 transition">Hidden Gems</a>
<a href="#" class="block px-4 py-2 bg-gray-100 rounded-lg hover:bg-tropical-ocean hover:bg-opacity-20 transition">Adventure Travel</a>
</div>
</section>
<!-- Newsletter -->
<section class="bg-gradient-to-br from-tropical-teal to-tropical-ocean p-6 rounded-xl shadow-md text-white" data-aos="fade-left" data-aos-delay="200">
<h2 class="text-2xl font-bold mb-4">Join The Adventure</h2>
<p class="mb-4">Get exclusive travel tips, stories, and updates straight to your inbox!</p>
<form id="newsletter-form" class="space-y-3">
<input type="text" placeholder="Your Name" class="w-full px-4 py-2 rounded-lg text-gray-900">
<input type="email" placeholder="Your Email" class="w-full px-4 py-2 rounded-lg text-gray-900">
<button type="submit" class="w-full bg-tropical-sun text-gray-900 px-4 py-2 rounded-lg font-medium hover:bg-yellow-400 transition">Subscribe Now</button>
</form>
</section>
<!-- Social Media -->
<section class="bg-white p-6 rounded-xl shadow-md" data-aos="fade-left" data-aos-delay="300">
<h2 class="text-2xl font-bold mb-4 text-tropical-teal">Follow My Journey</h2>
<div class="flex justify-center space-x-6">
<a href="#" class="text-tropical-coral hover:text-red-500 transition" aria-label="YouTube">
<i data-feather="youtube" class="w-6 h-6"></i>
</a>
<a href="#" class="text-pink-500 hover:text-pink-600 transition" aria-label="Instagram">
<i data-feather="instagram" class="w-6 h-6"></i>
</a>
<a href="#" class="text-blue-400 hover:text-blue-500 transition" aria-label="Twitter">
<i data-feather="twitter" class="w-6 h-6"></i>
</a>
<a href="#" class="text-gray-700 hover:text-black transition" aria-label="TikTok">
<i data-feather="music" class="w-6 h-6"></i>
</a>
</div>
</section>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid md:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-bold mb-4 text-tropical-sun">Wanderlust Diaries</h3>
<p class="text-gray-300">Sharing the world's wonders one adventure at a time.</p>
</div>
<div>
<h4 class="text-lg font-medium mb-4">Quick Links</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-300 hover:text-white transition">Home</a></li>
<li><a href="#" class="text-gray-300 hover:text-white transition">Destinations</a></li>
<li><a href="#" class="text-gray-300 hover:text-white transition">About</a></li>
<li><a href="#" class="text-gray-300 hover:text-white transition">Contact</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-medium mb-4">Categories</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-300 hover:text-white transition">Food Adventures</a></li>
<li><a href="#" class="text-gray-300 hover:text-white transition">City Guides</a></li>
<li><a href="#" class="text-gray-300 hover:text-white transition">Budget Travel</a></li>
<li><a href="#" class="text-gray-300 hover:text-white transition">Hidden Gems</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-medium mb-4">Connect</h4>
<div class="flex space-x-4 mb-4">
<a href="#" class="text-gray-300 hover:text-white transition" aria-label="YouTube">
<i data-feather="youtube" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-300 hover:text-white transition" aria-label="Instagram">
<i data-feather="instagram" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-300 hover:text-white transition" aria-label="Twitter">
<i data-feather="twitter" class="w-5 h-5"></i>
</a>
<a href
</body>
</html>