Hmayda's picture
i also plan to add course and blog sections and please redesign it and make it responsive
6e72093 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blog - ByteBard Portfolio Pro</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
</head>
<body class="bg-gray-50 text-gray-800">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-20">
<h1 class="text-4xl font-bold mb-8 text-center">Blog</h1>
<div class="max-w-4xl mx-auto">
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8 mb-12">
<div class="blog-card">
<img src="http://static.photos/technology/640x360/20" alt="Blog 1" class="rounded-t-lg w-full h-48 object-cover">
<div class="p-6">
<span class="text-sm text-indigo-600">Development • 15 May</span>
<h3 class="text-xl font-bold mb-2">State Management in 2024</h3>
<p class="text-gray-600 mb-4">Exploring the best state solutions for modern apps</p>
<a href="/blog-state-management" class="text-indigo-600 hover:text-indigo-800 font-medium flex items-center">
Read Article <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
</a>
</div>
</div>
<!-- More blog cards would go here -->
</div>
<div class="pagination flex justify-center mt-8">
<nav class="flex items-center space-x-2">
<a href="#" class="px-3 py-1 rounded-full bg-indigo-600 text-white">1</a>
<a href="#" class="px-3 py-1 rounded-full hover:bg-indigo-100">2</a>
<a href="#" class="px-3 py-1 rounded-full hover:bg-indigo-100">3</a>
<a href="#" class="px-3 py-1 rounded-full hover:bg-indigo-100">
<i data-feather="chevron-right"></i>
</a>
</nav>
</div>
</div>
</main>
<custom-footer></custom-footer>
<script src="script.js"></script>
<script>
feather.replace();
</script>
</body>
</html>