learncode's picture
navigation links ot working like about, coaching and all
cc63908 verified
Raw History Blame Contribute Delete
5.55 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Courses - Chess Titans</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#1A361F',
secondary: '#D4AF37',
dark: '#0F172A',
light: '#F8FAFC'
}
}
}
}
</script>
</head>
<body class="bg-light text-dark">
<custom-navbar></custom-navbar>
<!-- Hero Section -->
<section class="relative bg-primary text-white py-20 md:py-32">
<div class="container mx-auto px-6 relative z-10 text-center">
<h1 class="text-4xl md:text-6xl font-bold mb-6">Online Chess Courses</h1>
<p class="text-xl max-w-3xl mx-auto">Learn at your own pace with our comprehensive video courses.</p>
</div>
</section>
<!-- Courses -->
<section class="py-20 bg-white">
<div class="container mx-auto px-6">
<h2 class="text-3xl font-bold text-center mb-12 text-primary">Featured Courses</h2>
<div class="grid md:grid-cols-3 gap-8">
<!-- Course 1 -->
<div class="bg-gray-50 rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition duration-300">
<img src="http://static.photos/education/640x360/16" alt="Chess tactics" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex justify-between items-start mb-3">
<h3 class="text-xl font-bold">Chess Tactics Mastery</h3>
<span class="bg-secondary text-dark px-2 py-1 rounded text-sm font-bold">$99</span>
</div>
<p class="text-gray-600 mb-4">Master 50 essential tactical patterns that win games.</p>
<div class="flex justify-between items-center">
<div class="flex items-center text-sm">
<i data-feather="clock" class="mr-1 w-4"></i> 8 hours
</div>
<a href="#" class="text-secondary font-semibold">View Course</a>
</div>
</div>
</div>
<!-- Course 2 -->
<div class="bg-gray-50 rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition duration-300">
<img src="http://static.photos/education/640x360/17" alt="Chess endgames" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex justify-between items-start mb-3">
<h3 class="text-xl font-bold">Endgame Essentials</h3>
<span class="bg-secondary text-dark px-2 py-1 rounded text-sm font-bold">$129</span>
</div>
<p class="text-gray-600 mb-4">Everything you need to know to convert winning positions.</p>
<div class="flex justify-between items-center">
<div class="flex items-center text-sm">
<i data-feather="clock" class="mr-1 w-4"></i> 10 hours
</div>
<a href="#" class="text-secondary font-semibold">View Course</a>
</div>
</div>
</div>
<!-- Course 3 -->
<div class="bg-gray-50 rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition duration-300">
<img src="http://static.photos/education/640x360/18" alt="Chess openings" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex justify-between items-start mb-3">
<h3 class="text-xl font-bold">Complete Opening System</h3>
<span class="bg-secondary text-dark px-2 py-1 rounded text-sm font-bold">$149</span>
</div>
<p class="text-gray-600 mb-4">A full repertoire for both White and Black.</p>
<div class="flex justify-between items-center">
<div class="flex items-center text-sm">
<i data-feather="clock" class="mr-1 w-4"></i> 15 hours
</div>
<a href="#" class="text-secondary font-semibold">View Course</a>
</div>
</div>
</div>
</div>
<div class="text-center mt-12">
<a href="#" class="inline-block border-2 border-primary text-primary font-bold py-2 px-6 rounded-lg hover:bg-primary hover:text-white transition duration-300">View All Courses</a>
</div>
</div>
</section>
<custom-footer></custom-footer>
<script>
feather.replace();
</script>
</body>
</html>