undefined / blog.html
flen-crypto's picture
improve, add extra pages
f209c2c verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Travel Blog - TravelinLite Pro</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
* {
font-family: 'Poppins', sans-serif;
}
.gradient-text {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.blog-card {
transition: all 0.3s ease;
}
.blog-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.read-more {
color: #667eea;
font-weight: 600;
}
.read-more:hover {
color: #764ba2;
}
</style>
</head>
<body class="bg-gray-50">
<!-- Navigation -->
<nav class="fixed w-full z-50 bg-white shadow-lg">
<div class="container mx-auto px-6 py-4">
<div class="flex items-center justify-between">
<div class="flex items-center space-x-2">
<a href="index.html" class="flex items-center space-x-2">
<i data-feather="map-pin" class="text-purple-600 w-8 h-8"></i>
<span class="text-2xl font-bold gradient-text">TravelinLite Pro</span>
</a>
</div>
<div class="hidden md:flex items-center space-x-8">
<a href="index.html" class="text-gray-700 hover:text-purple-600 transition-colors">Home</a>
<a href="destinations.html" class="text-gray-700 hover:text-purple-600 transition-colors">Destinations</a>
<a href="packages.html" class="text-gray-700 hover:text-purple-600 transition-colors">Packages</a>
<a href="blog.html" class="text-purple-600 font-semibold">Blog</a>
<a href="contact.html" class="text-gray-700 hover:text-purple-600 transition-colors">Contact</a>
<button class="bg-purple-600 text-white px-6 py-2 rounded-full hover:bg-purple-700 transition-colors">
Book Now
</button>
</div>
<button class="md:hidden" id="mobileMenuBtn">
<i data-feather="menu" class="w-6 h-6"></i>
</button>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="pt-32 pb-20 bg-gradient-to-r from-blue-500 to-purple-600 text-white">
<div class="container mx-auto px-6 text-center">
<h1 class="text-5xl md:text-6xl font-bold mb-6">
Travel Blog
</h1>
<p class="text-xl mb-8 max-w-3xl mx-auto">
Discover travel tips, destination guides, and inspiring stories from fellow lightweight travelers.
</p>
</div>
</section>
<!-- Blog Posts -->
<section class="py-20 bg-white">
<div class="container mx-auto px-6">
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Blog Post 1 -->
<article class="blog-card bg-white rounded-2xl shadow-lg overflow-hidden">
<img src="https://static.photos/travel/640x360/211" alt="Packing Tips" class="w-full h-48 object-cover">
<div class="p-6">
<span class="text-sm text-purple-600 font-semibold">PACKING GUIDE</span>
<h3 class="text-xl font-bold my-3">10 Essential Items for Lightweight Travel</h3>
<p class="text-gray-600 text-sm mb-4">
Learn what to pack and what to leave behind for your next adventure...
</p>
<div class="flex justify-between items-center text-sm text-gray-500">
<span>5 min read</span>
<span>Mar 15, 2024</span>
</div>
<a href="#" class="read-more block p-4 border-t border-gray-100 text-center">
Read More
</a>
</div>
</article>
<!-- Blog Post 2 -->
<article class="blog-card bg-white rounded-2xl shadow-lg overflow-hidden">
<img src="https://static.photos/nature/640x360/212" alt="Budget Travel" class="w-full h-48 object-cover">
<div class="p-6">
<span class="text-sm text-purple-600 font-semibold">BUDGET TIPS</span>
<h3 class="text-xl font-bold my-3">How to Travel the World on $50 a Day</h3>
<p class="text-gray-600 text-sm mb-4">
Discover how to explore amazing destinations without breaking the bank...
</p>
<div class="flex justify-between items-center text-sm text-gray-500">
<span>7 min read</span>
<span>Mar 12, 2024</span>
</div>
<a href="#" class="read-more block p-4 border-t border-gray-100 text-center">
Read More
</a>
</div>
</article>
<!-- Blog Post 3 -->
<article class="blog-card bg-white rounded-2xl shadow-lg overflow-hidden">
<img src="https://static.photos/people/640x360/213" alt="Solo Travel" class="w-full h-48 object-cover">
<div class="p-6">
<span class="text-sm text-purple-600 font-semibold">SOLO TRAVEL</span>
<h3 class="text-xl font-bold my-3">The Ultimate Guide to Solo Travel Safety</h3>
<p class="text-gray-600 text-sm mb-4">
Essential safety tips and precautions for solo adventurers...
</p>
<div class="flex justify-between items-center text-sm text-gray-500">
<span>8 min read</span>
<span>Mar 8, 2024</span>
</div>
<a href="#" class="read-more block p-4 border-t border-gray-100 text-center">
Read More
</a>
</div>
</article>
<!-- Blog Post 4 -->
<article class="blog-card bg-white rounded-2xl shadow-lg overflow-hidden">
<img src="https://static.photos/food/640x360/214" alt="Local Cuisine" class="w-full h-48 object-cover">
<div class="p-6">
<span class="text-sm text-purple-600 font-semibold">FOOD GUIDE</span>
<h3 class="text-xl font-bold my-3">Must-Try Street Foods Around the World</h3>
<p class="text-gray-600 text-sm mb-4">
Explore the delicious world of street food from Bangkok to Mexico City...
</p>
<div class="flex justify-between items-center text-sm text-gray-500">
<span>6 min read</span>
<span>Mar 5, 2024</span>
</div>
<a href="#" class="read-more block p-4 border-t border-gray-100 text-center">
Read More
</a>
</div>
</article>
<!-- Blog Post 5 -->
<article class="blog-card bg-white rounded-2xl shadow-lg overflow-hidden">
<img src="https://static.photos/travel/640x360/215" alt="Photography" class="w-full h-48 object-cover">
<div class="p-6">
<span class="text-sm text-purple-600 font-semibold">PHOTOGRAPHY</span>
<h3 class="text-xl font-bold my-3">10 Photography Tips for Stunning Travel Shots</h3>
<p class="text-gray-600 text-sm mb-4">
Capture your adventures like a pro with these simple photography techniques...
</p>
<div class="flex justify-between items-center text-sm text-gray-500">
<span>9 min read</span>
<span>Mar 1, 2024</span>
</div>
<a href="#" class="read-more block p-4 border-t border-gray-100 text-center">
Read More
</a>
</div>
</article>
<!-- Blog Post 6 -->
<article class="blog-card bg-white rounded-2xl shadow-lg overflow-hidden">
<img src="https://static.photos/nature/640x360/216" alt="Sustainable Travel" class="w-full h-48 object-cover">
<div class="p-6">
<span class="text-sm text-purple-600 font-semibold">SUSTAINABILITY</span>
<h3 class="text-xl font-bold my-3">How to Travel Sustainably in 2024</h3>
<p class="text-gray-600 text-sm mb-4">
Learn how to reduce your environmental impact while exploring the world...
</p>
<div class="flex justify-between items-center text-sm text-gray-500">
<span>11 min read</span>
<span>Feb 26, 2024</span>
</div>
<a href="#" class="read-more block p-4 border-t border-gray-100 text-center">
Read More
</a>
</div>
</article>
</div>
</div>
</section>
<!-- Newsletter -->
<section class="py-20 bg-gray-50">
<div class="container mx-auto px-6 text-center">
<h2 class="text-3xl font-bold mb-6 gradient-text">Never Miss a Post</h2>
<p class="text-gray-600 mb-8 max-w-2xl mx-auto">
Subscribe to our blog and get the latest travel tips and destination guides delivered to your inbox.
</p>
<div class="flex flex-col sm:flex-row gap-4 justify-center max-w-md mx-auto">
<input type="email" placeholder="Enter your email" class="flex-1 px-6 py-3 rounded-full border border-gray-300 focus:outline-none focus:border-purple-600" id="blogNewsletter">
<button class="bg-purple-600 text-white px-8 py-3 rounded-full hover:bg-purple-700 transition-colors">
Subscribe
</button>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-12">
<div class="container mx-auto px-6">
<div class="grid md:grid-cols-4 gap-8 mb-8">
<div>
<div class="flex items-center space-x-2 mb-4">
<i data-feather="map-pin" class="text-purple-400 w-6 h-6"></i>
<span class="text-xl font-bold">TravelinLite Pro</span>
</div>
<p class="text-gray-400">
Your gateway to featherweight adventures around the world.
</p>
</div>
<div>
<h4 class="font-semibold mb-4">Quick Links</h4>
<ul class="space-y-2 text-gray-400">
<li><a href="index.html" class="hover:text-white transition-colors">Home</a></li>
<li><a href="destinations.html" class="hover:text-white transition-colors">Destinations</a></li>
<li><a href="packages.html" class="hover:text-white transition-colors">Packages</a></li>
<li><a href="blog.html" class="hover:text-white transition-colors">Blog</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Support</h4>
<ul class="space-y-2 text-gray-400">
<li><a href="contact.html" class="hover:text-white transition-colors">Contact</a></li>
<li><a href="#" class="hover:text-white transition-colors">Help Center</a></li>
<li><a href="#" class="hover:text-white transition-colors">Safety Info</a></li>
<li><a href="#" class="hover:text-white transition-colors">Terms</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Follow Us</h4>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<i data-feather="facebook" class="w-6 h-6"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<i data-feather="twitter" class="w-6 h-6"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<i data-feather="instagram" class="w-6 h-6"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<i data-feather="youtube" class="w-6 h-6"></i>
</a>
</div>
</div>
</div>
<div class="border-t border-gray-800 pt-8 text-center text-gray-400">
<p>&copy; 2024 TravelinLite Pro. All rights reserved. Made with ❤️ for travelers.</p>
</div>
</div>
</footer>
<script>
feather.replace();
// Newsletter subscription
document.getElementById('blogNewsletter').addEventListener('keypress', function(e) {
if (e.key === 'Enter') {
subscribeBlog();
}
});
document.querySelector('#blogNewsletter').nextElementSibling.addEventListener('click', subscribeBlog);
function subscribeBlog() {
const email = document.getElementById('blogNewsletter').value;
if (email && email.includes('@')) {
alert('Thank you for subscribing to our travel blog!');
document.getElementById('blogNewsletter').value = '';
} else {
alert('Please enter a valid email address.');
}
}
// Mobile menu toggle
const mobileMenuBtn = document.getElementById('mobileMenuBtn');
mobileMenuBtn.addEventListener('click', function() {
alert('Mobile menu would open here');
});
</script>
</body>
</html>