<section class="bg-white py-16 px-4 sm:px-6 lg:px-8" x-data="{
visible: false,
init() {
setTimeout(() => this.visible = true, 100)
}
}">
<div class="max-w-6xl mx-auto">
<!-- Header -->
<div class="text-center mb-12" x-show="visible"
x-transition:enter="transition ease-out duration-800"
x-transition:enter-start="opacity-0 translate-y-6"
x-transition:enter-end="opacity-100 translate-y-0">
<h1 class="text-4xl md:text-5xl font-bold text-gray-900 mb-4">Latest Articles</h1>
<p class="text-xl text-gray-600 max-w-2xl mx-auto">
Discover tutorials, tips, and insights about modern web development
</p>
</div>
<!-- Featured Article -->
<div x-show="visible"
x-transition:enter="transition ease-out duration-800 delay-200"
x-transition:enter-start="opacity-0 translate-y-6"
x-transition:enter-end="opacity-100 translate-y-0"
class="mb-12">
<article class="bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
<div class="grid grid-cols-1 lg:grid-cols-2 gap-0 h-full">
<div class="h-64 lg:h-full overflow-hidden">
<img src="https://images.unsplash.com/photo-1555066931-4365d14bab8c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80"
alt="Modern web development setup with code on screens"
class="w-full h-full object-cover">
</div>
<div class="p-8 flex flex-col justify-center">
<div class="mb-4">
<span class="text-blue-600 py-1 rounded-full text-sm font-semibold uppercase tracking-wide">Web Components</span>
<div class="text-gray-500 text-sm mt-2">March 15, 2024</div>
</div>
<h2 class="text-2xl md:text-3xl font-bold text-gray-900 mb-4 leading-tight">
Building Reusable Web Components: A Complete Guide
</h2>
<p class="text-gray-600 mb-6 leading-relaxed">
Master the art of creating modular, reusable web components using modern JavaScript and custom elements. Learn best practices, patterns, and real-world examples.
</p>
<button class="bg-blue-600 hover:bg-blue-700 text-white font-medium px-6 py-3 rounded-lg transition-colors duration-200 w-fit">
Read Article
</button>
</div>
</div>
</article>
</div>
<!-- Article Grid -->
<div x-show="visible"
x-transition:enter="transition ease-out duration-800 delay-400"
x-transition:enter-start="opacity-0 translate-y-6"
x-transition:enter-end="opacity-100 translate-y-0"
class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Article 1 -->
<article class="bg-white rounded-lg shadow-md hover:shadow-lg transition-all duration-300 overflow-hidden group">
<div class="h-48 overflow-hidden">
<img src="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80"
alt="CSS code on computer screen"
class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
</div>
<div class="p-6 flex flex-col justify-between">
<div>
<div class="mb-3">
<span class="text-blue-600 py-1 rounded text-xs font-semibold uppercase tracking-wide">CSS</span>
<div class="text-gray-500 text-sm mt-2">March 12, 2024</div>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-3 leading-tight">
Mastering CSS Grid: Advanced Layout Techniques
</h3>
<p class="text-gray-600 text-sm leading-relaxed">
Unlock the full power of CSS Grid with advanced layout patterns, responsive design techniques, and real-world examples.
</p>
</div>
<button class="text-blue-600 hover:text-blue-700 font-medium flex items-center group mt-4">
Read More
<svg class="w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
</svg>
</button>
</div>
</article>
<!-- Article 2 -->
<article class="bg-white rounded-lg shadow-md hover:shadow-lg transition-all duration-300 overflow-hidden group">
<div class="h-48 overflow-hidden">
<img src="https://images.unsplash.com/photo-1461749280684-dccba630e2f6?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80"
alt="JavaScript code on dark background"
class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
</div>
<div class="p-6 flex flex-col justify-between">
<div>
<div class="mb-3">
<span class="text-blue-600 py-1 rounded text-xs font-semibold uppercase tracking-wide">JavaScript</span>
<div class="text-gray-500 text-sm mt-2">March 10, 2024</div>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-3 leading-tight">
Modern JavaScript: ES2024 Features You Should Know
</h3>
<p class="text-gray-600 text-sm leading-relaxed">
Explore the latest JavaScript features and how they can improve your code quality and development workflow.
</p>
</div>
<button class="text-blue-600 hover:text-blue-700 font-medium flex items-center group mt-4">
Read More
<svg class="w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
</svg>
</button>
</div>
</article>
<!-- Article 3 -->
<article class="bg-white rounded-lg shadow-md hover:shadow-lg transition-all duration-300 overflow-hidden group">
<div class="h-48 overflow-hidden">
<img src="https://images.unsplash.com/photo-1571171637578-41bc2dd41cd2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80"
alt="Person typing on laptop with React code"
class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
</div>
<div class="p-6 flex flex-col justify-between">
<div>
<div class="mb-3">
<span class="text-blue-600 py-1 rounded text-xs font-semibold uppercase tracking-wide">React</span>
<div class="text-gray-500 text-sm mt-2">March 8, 2024</div>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-3 leading-tight">
React Performance: Optimization Tips and Tricks
</h3>
<p class="text-gray-600 text-sm leading-relaxed">
Learn proven techniques to optimize your React applications for better performance and user experience.
</p>
</div>
<button class="text-blue-600 hover:text-blue-700 font-medium flex items-center group mt-4">
Read More
<svg class="w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
</svg>
</button>
</div>
</article>
</div>
</div>
</section>