File size: 5,027 Bytes
9e01f6f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Japanese Lessons - Nihongo Ninja Dojo</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <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="https://unpkg.com/feather-icons"></script>
</head>
<body class="min-h-screen flex flex-col bg-gray-50">
    <custom-navbar></custom-navbar>
    
    <main class="flex-grow pt-20">
        <div class="container mx-auto px-4 py-12">
            <h1 class="text-4xl md:text-5xl font-bold text-center mb-4 text-gray-800">
        Japanese Lessons
    </h1>
    <p class="text-center text-gray-600 mb-12 max-w-2xl mx-auto">
        Master Japanese step by step with interactive lessons, animations, and real-time feedback.
    </p>

    <!-- Lesson Progress -->
    <div class="max-w-4xl mx-auto mb-12">
        <div class="bg-white rounded-2xl shadow-lg p-8">
                <h2 class="text-2xl font-bold mb-6 text-gray-800">Your Progress</h2>
                <div class="flex items-center justify-between mb-4">
                    <span class="text-gray-600">JLPT N5 Level</span>
                    <span class="text-fuchsia-500 font-bold">25% Complete</span>
                </div>
                <div class="w-full bg-gray-200 rounded-full h-4">
                    <div class="progress-fill bg-fuchsia-500 h-4 rounded-full" style="width: 25%"></div>
            </div>
        </div>

        <!-- Lessons Grid -->
        <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto">
            <!-- Lesson 1 -->
            <div class="lesson-card interactive-card bg-white rounded-2xl shadow-lg p-6 hover:shadow-2xl transition-all duration-300">
                <div class="w-16 h-16 mb-4 bg-fuchsia-100 rounded-full flex items-center justify-center">
                        <i data-feather="a" class="text-fuchsia-500 text-xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 text-gray-800">Hiragana Basics</h3>
                    <p class="text-gray-600 mb-4">Learn the first Japanese alphabet with fun animations.</p>
                    <button class="w-full bg-fuchsia-500 hover:bg-fuchsia-600 text-white py-3 rounded-lg font-bold transition-all duration-300 transform hover:scale-105" onclick="startLesson(1)">
                        <i data-feather="play" class="inline mr-2"></i>Start Lesson
                    </button>
                </div>

            <!-- Lesson 2 -->
            <div class="lesson-card interactive-card bg-white rounded-2xl shadow-lg p-6 hover:shadow-2xl transition-all duration-300">
                <div class="w-16 h-16 mb-4 bg-fuchsia-100 rounded-full flex items-center justify-center">
                        <i data-feather="book" class="text-fuchsia-500 text-xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 text-gray-800">Greetings</h3>
                    <p class="text-gray-600 mb-4">Master essential Japanese greetings and polite expressions.</p>
                    <button class="w-full bg-gray-300 text-gray-600 py-3 rounded-lg font-bold cursor-not-allowed">
                        <i data-feather="lock" class="inline mr-2"></i>Locked
                    </button>
                </div>

            <!-- Lesson 3 -->
            <div class="lesson-card interactive-card bg-white rounded-2xl shadow-lg p-6 hover:shadow-2xl transition-all duration-300">
                <div class="w-16 h-16 mb-4 bg-fuchsia-100 rounded-full flex items-center justify-center">
                        <i data-feather="users" class="text-fuchsia-500 text-xl"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 text-gray-800">Numbers 1-10</h3>
                    <p class="text-gray-600 mb-4">Count like a native with interactive number games.</p>
                    <button class="w-full bg-gray-300 text-gray-600 py-3 rounded-lg font-bold cursor-not-allowed">
                        <i data-feather="lock" class="inline mr-2"></i>Locked
                    </button>
                </div>
            </div>
        </div>
    </main>

    <custom-footer></custom-footer>

    <script src="components/navbar.js"></script>
    <script src="components/footer.js"></script>
    <script src="script.js"></script>
    <script>
        feather.replace();
        
        function startLesson(lessonId) {
            // Show loading animation
            const button = event.target;
            const originalText = button.innerHTML;
            button.innerHTML = '<div class="loading-dots">Starting</div>';
            
            setTimeout(() => {
                window.location.href = `/lesson-${lessonId}.html`;
            }, 1500);
        }
    </script>
</body>
</html>