File size: 7,922 Bytes
4d4e1a5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
714995a
4d4e1a5
714995a
4d4e1a5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f461a44
4d4e1a5
f461a44
4d4e1a5
 
 
 
 
f461a44
4d4e1a5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Create Lesson - LearnFlow</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <link href="https://cdn.jsdelivr.net/npm/@tailwindcss/custom-forms@0.2.1/dist/custom-forms.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.8.2/dist/alpine.min.js" defer></script>
</head>
<body class="bg-gray-50 font-sans antialiased">
    <div class="min-h-screen">
        <!-- Header -->
        <header class="bg-indigo-700 text-white shadow-lg">
            <div class="container mx-auto px-4 py-6">
                <div class="flex justify-between items-center">
                    <div class="flex items-center space-x-2">
                        <i data-feather="book-open" class="w-8 h-8"></i>
                        <h1 class="text-2xl font-bold">LearnFlow</h1>
                    </div>
                    <nav class="hidden md:flex space-x-6">
                        <a href="index.html" class="hover:text-indigo-200">Dashboard</a>
                        <a href="course-selection.html" class="hover:text-indigo-200">Courses</a>
                        <a href="index.html" class="hover:text-indigo-200">Progress</a>
<div class="flex items-center space-x-2">
                            <img src="http://static.photos/people/40x40/42" alt="User" class="w-8 h-8 rounded-full">
                            <span>John Doe</span>
                        </div>
                    </nav>
                    <button class="md:hidden">
                        <i data-feather="menu" class="w-6 h-6"></i>
                    </button>
                </div>
            </div>
        </header>

        <!-- Main Content -->
        <main class="container mx-auto px-4 py-8">
            <div class="max-w-3xl mx-auto">
                <div class="bg-white rounded-xl shadow-md overflow-hidden">
                    <div class="px-6 py-4 border-b border-gray-200">
                        <h2 class="text-2xl font-bold text-gray-800">Create New Lesson</h2>
                        <p class="mt-1 text-gray-600">Add a new lesson to your course module</p>
                    </div>
                    
                    <form class="p-6 space-y-6">
                        <!-- Title Field -->
                        <div>
                            <label for="title" class="block text-sm font-medium text-gray-700 mb-1">Lesson Title</label>
                            <input type="text" id="title" name="title" required
                                class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"
                                placeholder="Enter lesson title">
                        </div>
                        
                        <!-- Video URL Field -->
                        <div>
                            <label for="videourl" class="block text-sm font-medium text-gray-700 mb-1">Video URL</label>
                            <input type="url" id="videourl" name="videourl" required
                                class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"
                                placeholder="https://example.com/video.mp4">
                            <p class="mt-1 text-sm text-gray-500">Provide a direct link to your video content</p>
                        </div>
                        
                        <!-- Body Field -->
                        <div>
                            <label for="body" class="block text-sm font-medium text-gray-700 mb-1">Lesson Content</label>
                            <textarea id="body" name="body" rows="8" required
                                class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"
                                placeholder="Enter detailed lesson content..."></textarea>
                            <p class="mt-1 text-sm text-gray-500">Provide comprehensive content for this lesson</p>
                        </div>
                        
                        <!-- Form Actions -->
                        <div class="flex justify-end space-x-4 pt-4">
                            <a href="lesson-detail.html" class="px-6 py-2 border border-gray-300 rounded-lg text-gray-700 font-medium hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition">
                                Cancel
                            </a>
                            <button type="submit"
                                class="px-6 py-2 bg-indigo-600 rounded-lg text-white font-medium hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition">
                                Create Lesson
                            </button>
                        </div>
</form>
                </div>
            </div>
        </main>

        <!-- Footer -->
        <footer class="bg-gray-800 text-white py-8">
            <div class="container mx-auto px-4">
                <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                    <div>
                        <h3 class="text-lg font-semibold mb-4">LearnFlow</h3>
                        <p class="text-gray-400">Master modern web development with our interactive courses.</p>
                    </div>
                    <div>
                        <h4 class="text-md font-semibold mb-4">Courses</h4>
                        <ul class="space-y-2">
                            <li><a href="index.html" class="text-gray-400 hover:text-white">Web Development</a></li>
                            <li><a href="index.html" class="text-gray-400 hover:text-white">Mobile Apps</a></li>
                            <li><a href="index.html" class="text-gray-400 hover:text-white">Data Science</a></li>
                        </ul>
                    </div>
                    <div>
                        <h4 class="text-md font-semibold mb-4">Resources</h4>
                        <ul class="space-y-2">
                            <li><a href="index.html" class="text-gray-400 hover:text-white">Documentation</a></li>
                            <li><a href="index.html" class="text-gray-400 hover:text-white">Community</a></li>
                            <li><a href="index.html" class="text-gray-400 hover:text-white">Blog</a></li>
                        </ul>
                    </div>
                    <div>
                        <h4 class="text-md font-semibold mb-4">Connect</h4>
                        <div class="flex space-x-4">
                            <a href="index.html" class="text-gray-400 hover:text-white"><i data-feather="twitter"></i></a>
                            <a href="index.html" class="text-gray-400 hover:text-white"><i data-feather="facebook"></i></a>
                            <a href="index.html" class="text-gray-400 hover:text-white"><i data-feather="linkedin"></i></a>
                            <a href="index.html" class="text-gray-400 hover:text-white"><i data-feather="github"></i></a>
                        </div>
                    </div>
                </div>
                <div class="mt-8 pt-8 border-t border-gray-700 text-center text-gray-400">
                    <p>© 2023 LearnFlow. All rights reserved.</p>
                </div>
            </div>
        </footer>
    </div>

    <script>
        document.addEventListener('DOMContentLoaded', function() {
            feather.replace();
        });
    </script>
</body>
</html>