pixelpulse-chronicles / index.html
huggingfaceninja's picture
create a blog template using https://faifiltri.netgurus.ca/ as the theme, we need a blog post and articles page
0564c2b verified
Raw
History Blame Contribute Delete
12 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PixelPulse Chronicles</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/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#3B82F6',
secondary: '#10B981'
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
}
.gradient-bg {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.hover-lift {
transition: all 0.3s ease;
}
.hover-lift: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);
}
</style>
</head>
<body class="bg-gray-50">
<!-- Navigation -->
<nav class="bg-white shadow-lg 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">
<div class="flex-shrink-0 flex items-center">
<i data-feather="zap" class="text-primary h-8 w-8"></i>
<span class="ml-2 text-xl font-bold text-gray-900">PixelPulse</span>
</div>
</div>
<div class="hidden md:flex items-center space-x-8">
<a href="index.html" class="text-gray-900 hover:text-primary px-3 py-2 rounded-md text-sm font-medium transition-colors">Home</a>
<a href="articles.html" class="text-gray-900 hover:text-primary px-3 py-2 rounded-md text-sm font-medium transition-colors">Articles</a>
<a href="#" class="text-gray-900 hover:text-primary px-3 py-2 rounded-md text-sm font-medium transition-colors">About</a>
<a href="#" class="text-gray-900 hover:text-primary px-3 py-2 rounded-md text-sm font-medium transition-colors">Contact</a>
</div>
<div class="flex items-center md:hidden">
<button class="mobile-menu-button p-2 rounded-md text-gray-900">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="gradient-bg text-white py-20">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center">
<h1 class="text-4xl md:text-6xl font-bold mb-6">PixelPulse Chronicles</h1>
<p class="text-xl md:text-2xl mb-8 opacity-90">Where Technology Meets Creative Expression</p>
<div class="flex justify-center space-x-4">
<a href="articles.html" class="bg-white text-primary px-8 py-3 rounded-full font-semibold hover:bg-gray-100 transition-colors hover-lift">
Explore Articles
</a>
<a href="#" class="border-2 border-white text-white px-8 py-3 rounded-full font-semibold hover:bg-white hover:text-primary transition-colors hover-lift">
Subscribe
</a>
</div>
</div>
</div>
</section>
<!-- Featured Posts -->
<section class="py-16 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<h2 class="text-3xl font-bold text-center text-gray-900 mb-12">Featured Stories</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Featured Post 1 -->
<div class="bg-gray-50 rounded-xl overflow-hidden shadow-lg hover-lift">
<img src="http://static.photos/technology/640x360/1" alt="Tech Innovation" class="w-full h-48 object-cover">
<div class="p-6">
<span class="text-primary text-sm font-semibold">Technology</span>
<h3 class="text-xl font-bold text-gray-900 mt-2 mb-3">The Future of Web Development</h3>
<p class="text-gray-600 mb-4">Exploring the latest trends and technologies shaping the future of web development...</p>
<div class="flex items-center justify-between">
<span class="text-gray-500 text-sm">May 15, 2024</span>
<a href="blog-post.html" class="text-primary hover:text-primary-dark font-semibold flex items-center">
Read More
<i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
</a>
</div>
</div>
</div>
<!-- Featured Post 2 -->
<div class="bg-gray-50 rounded-xl overflow-hidden shadow-lg hover-lift">
<img src="http://static.photos/minimal/640x360/2" alt="Design Trends" class="w-full h-48 object-cover">
<div class="p-6">
<span class="text-secondary text-sm font-semibold">Design</span>
<h3 class="text-xl font-bold text-gray-900 mt-2 mb-3">Minimalism in Digital Design</h3>
<p class="text-gray-600 mb-4">How minimalism is revolutionizing user experience and interface design...</p>
<div class="flex items-center justify-between">
<span class="text-gray-500 text-sm">May 12, 2024</span>
<a href="blog-post.html" class="text-primary hover:text-primary-dark font-semibold flex items-center">
Read More
<i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
</a>
</div>
</div>
</div>
<!-- Featured Post 3 -->
<div class="bg-gray-50 rounded-xl overflow-hidden shadow-lg hover-lift">
<img src="http://static.photos/abstract/640x360/3" alt="AI Revolution" class="w-full h-48 object-cover">
<div class="p-6">
<span class="text-primary text-sm font-semibold">AI & ML</span>
<h3 class="text-xl font-bold text-gray-900 mt-2 mb-3">AI Revolution in Creative Industries</h3>
<p class="text-gray-600 mb-4">How artificial intelligence is transforming creative workflows and artistic expression...</p>
<div class="flex items-center justify-between">
<span class="text-gray-500 text-sm">May 10, 2024</span>
<a href="blog-post.html" class="text-primary hover:text-primary-dark font-semibold flex items-center">
Read More
<i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Newsletter -->
<section class="py-16 bg-gray-100">
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<h2 class="text-3xl font-bold text-gray-900 mb-4">Stay Updated</h2>
<p class="text-gray-600 mb-8">Get the latest articles and insights delivered directly to your inbox</p>
<div class="flex flex-col sm:flex-row gap-4 justify-center">
<input type="email" placeholder="Enter your email" class="px-4 py-3 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent flex-grow max-w-md">
<button class="bg-primary text-white px-8 py-3 rounded-lg font-semibold hover:bg-primary-dark transition-colors hover-lift">
Subscribe
</button>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<div class="flex items-center mb-4">
<i data-feather="zap" class="text-primary h-6 w-6"></i>
<span class="ml-2 text-xl font-bold">PixelPulse</span>
</div>
<p class="text-gray-400">Exploring the intersection of technology, design, and creativity.</p>
</div>
<div>
<h3 class="font-semibold mb-4">Quick Links</h3>
<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="articles.html" class="hover:text-white transition-colors">Articles</a></li>
<li><a href="#" class="hover:text-white transition-colors">About</a></li>
<li><a href="#" class="hover:text-white transition-colors">Contact</a></li>
</ul>
</div>
<div>
<h3 class="font-semibold mb-4">Categories</h3>
<ul class="space-y-2 text-gray-400">
<li><a href="#" class="hover:text-white transition-colors">Technology</a></li>
<li><a href="#" class="hover:text-white transition-colors">Design</a></li>
<li><a href="#" class="hover:text-white transition-colors">Development</a></li>
<li><a href="#" class="hover:text-white transition-colors">AI & ML</a></li>
</ul>
</div>
<div>
<h3 class="font-semibold mb-4">Connect</h3>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<i data-feather="twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<i data-feather="github"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<i data-feather="linkedin"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<i data-feather="instagram"></i>
</a>
</div>
</div>
</div>
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
<p>&copy; 2024 PixelPulse Chronicles. All rights reserved.</p>
</div>
</div>
</footer>
<script>
feather.replace();
// Mobile menu toggle
document.querySelector('.mobile-menu-button').addEventListener('click', function() {
const menu = document.querySelector('.mobile-menu');
if (menu.classList.contains('hidden')) {
menu.classList.remove('hidden');
} else {
menu.classList.add('hidden');
}
});
</script>
</body>
</html>