File size: 5,546 Bytes
cc63908
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!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>