File size: 38,214 Bytes
5648650
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
<!DOCTYPE html>
<html lang="en" class="light">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>EduTrack LMS | Modern Learning Platform</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <script>
        tailwind.config = {
            darkMode: 'class',
            theme: {
                extend: {
                    colors: {
                        primary: {
                            light: '#83b134',
                            dark: '#005838'
                        },
                        secondary: {
                            light: '#f5f7f8',
                            dark: '#1a2e35'
                        }
                    }
                }
            }
        }
    </script>
    <style>
        .sidebar {
            transition: all 0.3s ease;
        }
        .sidebar.collapsed {
            width: 80px;
        }
        .sidebar.collapsed .sidebar-text {
            display: none;
        }
        .sidebar.collapsed .logo-text {
            display: none;
        }
        .sidebar.collapsed .nav-item {
            justify-content: center;
        }
        .course-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        .dark .course-card:hover {
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }
    </style>
</head>
<body class="bg-gray-50 dark:bg-gray-900 text-gray-800 dark:text-gray-200 min-h-screen">
    <div class="flex h-screen overflow-hidden">
        <!-- Sidebar -->
        <div class="sidebar bg-white dark:bg-gray-800 shadow-lg w-64 flex flex-col">
            <div class="p-4 flex items-center border-b border-gray-200 dark:border-gray-700">
                <div class="w-10 h-10 rounded-full bg-primary-light dark:bg-primary-dark flex items-center justify-center text-white font-bold text-xl">E</div>
                <span class="logo-text ml-3 text-xl font-bold text-gray-800 dark:text-white">EduTrack</span>
            </div>
            
            <div class="flex-1 overflow-y-auto py-4">
                <div class="px-4 mb-6">
                    <div class="relative">
                        <input type="text" placeholder="Search..." class="w-full pl-10 pr-4 py-2 rounded-lg bg-gray-100 dark:bg-gray-700 border-none focus:ring-2 focus:ring-primary-light dark:focus:ring-primary-dark">
                        <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
                    </div>
                </div>
                
                <nav class="space-y-1 px-2">
                    <a href="#" class="nav-item flex items-center px-4 py-3 rounded-lg bg-primary-light/10 dark:bg-primary-dark/20 text-primary-light dark:text-primary-dark font-medium">
                        <i class="fas fa-home text-lg"></i>
                        <span class="sidebar-text ml-3">Dashboard</span>
                    </a>
                    <a href="#" class="nav-item flex items-center px-4 py-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700">
                        <i class="fas fa-book text-lg"></i>
                        <span class="sidebar-text ml-3">Courses</span>
                    </a>
                    <a href="#" class="nav-item flex items-center px-4 py-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700">
                        <i class="fas fa-calendar-alt text-lg"></i>
                        <span class="sidebar-text ml-3">Schedule</span>
                    </a>
                    <a href="#" class="nav-item flex items-center px-4 py-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700">
                        <i class="fas fa-tasks text-lg"></i>
                        <span class="sidebar-text ml-3">Assignments</span>
                    </a>
                    <a href="#" class="nav-item flex items-center px-4 py-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700">
                        <i class="fas fa-chart-bar text-lg"></i>
                        <span class="sidebar-text ml-3">Grades</span>
                    </a>
                    <a href="#" class="nav-item flex items-center px-4 py-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700">
                        <i class="fas fa-comments text-lg"></i>
                        <span class="sidebar-text ml-3">Discussions</span>
                    </a>
                </nav>
                
                <div class="px-4 mt-8">
                    <h3 class="text-xs uppercase font-semibold text-gray-500 dark:text-gray-400 mb-2 sidebar-text">My Courses</h3>
                    <div class="space-y-1">
                        <a href="#" class="flex items-center px-4 py-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700">
                            <div class="w-2 h-2 rounded-full bg-primary-light dark:bg-primary-dark mr-3"></div>
                            <span class="sidebar-text text-sm">Mathematics 101</span>
                        </a>
                        <a href="#" class="flex items-center px-4 py-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700">
                            <div class="w-2 h-2 rounded-full bg-blue-500 mr-3"></div>
                            <span class="sidebar-text text-sm">History of Science</span>
                        </a>
                        <a href="#" class="flex items-center px-4 py-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700">
                            <div class="w-2 h-2 rounded-full bg-purple-500 mr-3"></div>
                            <span class="sidebar-text text-sm">Creative Writing</span>
                        </a>
                    </div>
                </div>
            </div>
            
            <div class="p-4 border-t border-gray-200 dark:border-gray-700">
                <div class="flex items-center">
                    <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-10 h-10 rounded-full">
                    <div class="ml-3 sidebar-text">
                        <p class="text-sm font-medium">Sarah Johnson</p>
                        <p class="text-xs text-gray-500 dark:text-gray-400">Student</p>
                    </div>
                    <button id="theme-toggle" class="ml-auto text-gray-500 dark:text-gray-400 hover:text-primary-light dark:hover:text-primary-dark">
                        <i class="fas fa-moon dark:hidden"></i>
                        <i class="fas fa-sun hidden dark:block"></i>
                    </button>
                    <button id="sidebar-toggle" class="ml-2 text-gray-500 dark:text-gray-400 hover:text-primary-light dark:hover:text-primary-dark">
                        <i class="fas fa-chevron-left"></i>
                    </button>
                </div>
            </div>
        </div>
        
        <!-- Main Content -->
        <div class="flex-1 overflow-auto">
            <!-- Header -->
            <header class="bg-white dark:bg-gray-800 shadow-sm">
                <div class="flex items-center justify-between px-6 py-4">
                    <h1 class="text-2xl font-bold">Dashboard</h1>
                    <div class="flex items-center space-x-4">
                        <button class="p-2 rounded-full hover:bg-gray-100 dark:hover:bg-gray-700">
                            <i class="fas fa-bell text-gray-600 dark:text-gray-300"></i>
                            <span class="absolute top-3 right-3 w-2 h-2 bg-red-500 rounded-full"></span>
                        </button>
                        <button class="p-2 rounded-full hover:bg-gray-100 dark:hover:bg-gray-700">
                            <i class="fas fa-envelope text-gray-600 dark:text-gray-300"></i>
                        </button>
                    </div>
                </div>
            </header>
            
            <!-- Content -->
            <main class="p-6">
                <!-- Welcome Banner -->
                <div class="bg-gradient-to-r from-primary-light to-green-500 dark:from-primary-dark dark:to-green-700 rounded-xl p-6 mb-6 text-white">
                    <div class="flex flex-col md:flex-row md:items-center md:justify-between">
                        <div>
                            <h2 class="text-2xl font-bold mb-2">Welcome back, Sarah!</h2>
                            <p class="opacity-90">You have 3 assignments due this week. Stay on track with your learning journey.</p>
                        </div>
                        <button class="mt-4 md:mt-0 px-6 py-2 bg-white/20 hover:bg-white/30 rounded-lg backdrop-blur-sm transition-all duration-300 flex items-center">
                            <span>View Assignments</span>
                            <i class="fas fa-arrow-right ml-2"></i>
                        </button>
                    </div>
                </div>
                
                <!-- Stats Cards -->
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
                    <div class="bg-white dark:bg-gray-800 rounded-xl p-6 shadow-sm">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-sm text-gray-500 dark:text-gray-400">Active Courses</p>
                                <h3 class="text-2xl font-bold mt-1">5</h3>
                            </div>
                            <div class="w-12 h-12 rounded-full bg-primary-light/10 dark:bg-primary-dark/20 flex items-center justify-center text-primary-light dark:text-primary-dark">
                                <i class="fas fa-book-open text-xl"></i>
                            </div>
                        </div>
                        <div class="mt-4 pt-4 border-t border-gray-100 dark:border-gray-700">
                            <p class="text-sm text-green-500 flex items-center">
                                <i class="fas fa-arrow-up mr-1"></i> 2 new this month
                            </p>
                        </div>
                    </div>
                    
                    <div class="bg-white dark:bg-gray-800 rounded-xl p-6 shadow-sm">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-sm text-gray-500 dark:text-gray-400">Assignments Due</p>
                                <h3 class="text-2xl font-bold mt-1">3</h3>
                            </div>
                            <div class="w-12 h-12 rounded-full bg-blue-100 dark:bg-blue-900/30 flex items-center justify-center text-blue-500 dark:text-blue-300">
                                <i class="fas fa-tasks text-xl"></i>
                            </div>
                        </div>
                        <div class="mt-4 pt-4 border-t border-gray-100 dark:border-gray-700">
                            <p class="text-sm text-red-500 flex items-center">
                                <i class="fas fa-exclamation-circle mr-1"></i> 1 overdue
                            </p>
                        </div>
                    </div>
                    
                    <div class="bg-white dark:bg-gray-800 rounded-xl p-6 shadow-sm">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-sm text-gray-500 dark:text-gray-400">Hours Learned</p>
                                <h3 class="text-2xl font-bold mt-1">24.5</h3>
                            </div>
                            <div class="w-12 h-12 rounded-full bg-purple-100 dark:bg-purple-900/30 flex items-center justify-center text-purple-500 dark:text-purple-300">
                                <i class="fas fa-clock text-xl"></i>
                            </div>
                        </div>
                        <div class="mt-4 pt-4 border-t border-gray-100 dark:border-gray-700">
                            <p class="text-sm text-green-500 flex items-center">
                                <i class="fas fa-arrow-up mr-1"></i> 15% from last week
                            </p>
                        </div>
                    </div>
                    
                    <div class="bg-white dark:bg-gray-800 rounded-xl p-6 shadow-sm">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-sm text-gray-500 dark:text-gray-400">Current GPA</p>
                                <h3 class="text-2xl font-bold mt-1">3.8</h3>
                            </div>
                            <div class="w-12 h-12 rounded-full bg-yellow-100 dark:bg-yellow-900/30 flex items-center justify-center text-yellow-500 dark:text-yellow-300">
                                <i class="fas fa-star text-xl"></i>
                            </div>
                        </div>
                        <div class="mt-4 pt-4 border-t border-gray-100 dark:border-gray-700">
                            <p class="text-sm text-green-500 flex items-center">
                                <i class="fas fa-arrow-up mr-1"></i> 0.2 from last term
                            </p>
                        </div>
                    </div>
                </div>
                
                <!-- Courses Section -->
                <div class="mb-8">
                    <div class="flex items-center justify-between mb-6">
                        <h2 class="text-xl font-bold">Your Courses</h2>
                        <button class="text-primary-light dark:text-primary-dark hover:underline">View All</button>
                    </div>
                    
                    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
                        <!-- Course Card 1 -->
                        <div class="course-card bg-white dark:bg-gray-800 rounded-xl shadow-sm overflow-hidden transition-all duration-300">
                            <div class="h-32 bg-primary-light dark:bg-primary-dark relative">
                                <div class="absolute top-4 left-4 w-12 h-12 rounded-lg bg-white/20 flex items-center justify-center text-white">
                                    <i class="fas fa-square-root-alt text-xl"></i>
                                </div>
                                <div class="absolute bottom-4 left-4">
                                    <span class="bg-white/20 text-white text-xs px-2 py-1 rounded">Mathematics</span>
                                </div>
                                <div class="absolute top-4 right-4">
                                    <button class="text-white hover:text-gray-200">
                                        <i class="far fa-bookmark"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="p-6">
                                <h3 class="font-bold text-lg mb-2">Mathematics 101</h3>
                                <p class="text-gray-600 dark:text-gray-300 text-sm mb-4">Introduction to algebra and geometry fundamentals.</p>
                                <div class="flex items-center justify-between">
                                    <div class="flex items-center">
                                        <div class="w-8 h-8 rounded-full bg-gray-200 dark:bg-gray-700 flex items-center justify-center">
                                            <i class="fas fa-user text-xs text-gray-600 dark:text-gray-300"></i>
                                        </div>
                                        <span class="ml-2 text-sm">Prof. Smith</span>
                                    </div>
                                    <div class="text-sm text-gray-500 dark:text-gray-400">
                                        12 Lessons
                                    </div>
                                </div>
                                <div class="mt-4 pt-4 border-t border-gray-100 dark:border-gray-700 flex items-center justify-between">
                                    <div class="w-full bg-gray-200 dark:bg-gray-700 rounded-full h-2">
                                        <div class="bg-primary-light dark:bg-primary-dark h-2 rounded-full" style="width: 65%"></div>
                                    </div>
                                    <span class="ml-3 text-sm font-medium">65%</span>
                                </div>
                            </div>
                        </div>
                        
                        <!-- Course Card 2 -->
                        <div class="course-card bg-white dark:bg-gray-800 rounded-xl shadow-sm overflow-hidden transition-all duration-300">
                            <div class="h-32 bg-blue-500 relative">
                                <div class="absolute top-4 left-4 w-12 h-12 rounded-lg bg-white/20 flex items-center justify-center text-white">
                                    <i class="fas fa-atom text-xl"></i>
                                </div>
                                <div class="absolute bottom-4 left-4">
                                    <span class="bg-white/20 text-white text-xs px-2 py-1 rounded">Science</span>
                                </div>
                                <div class="absolute top-4 right-4">
                                    <button class="text-white hover:text-gray-200">
                                        <i class="far fa-bookmark"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="p-6">
                                <h3 class="font-bold text-lg mb-2">History of Science</h3>
                                <p class="text-gray-600 dark:text-gray-300 text-sm mb-4">Explore major scientific discoveries through history.</p>
                                <div class="flex items-center justify-between">
                                    <div class="flex items-center">
                                        <div class="w-8 h-8 rounded-full bg-gray-200 dark:bg-gray-700 flex items-center justify-center">
                                            <i class="fas fa-user text-xs text-gray-600 dark:text-gray-300"></i>
                                        </div>
                                        <span class="ml-2 text-sm">Dr. Johnson</span>
                                    </div>
                                    <div class="text-sm text-gray-500 dark:text-gray-400">
                                        8 Lessons
                                    </div>
                                </div>
                                <div class="mt-4 pt-4 border-t border-gray-100 dark:border-gray-700 flex items-center justify-between">
                                    <div class="w-full bg-gray-200 dark:bg-gray-700 rounded-full h-2">
                                        <div class="bg-blue-500 h-2 rounded-full" style="width: 40%"></div>
                                    </div>
                                    <span class="ml-3 text-sm font-medium">40%</span>
                                </div>
                            </div>
                        </div>
                        
                        <!-- Course Card 3 -->
                        <div class="course-card bg-white dark:bg-gray-800 rounded-xl shadow-sm overflow-hidden transition-all duration-300">
                            <div class="h-32 bg-purple-500 relative">
                                <div class="absolute top-4 left-4 w-12 h-12 rounded-lg bg-white/20 flex items-center justify-center text-white">
                                    <i class="fas fa-pen-fancy text-xl"></i>
                                </div>
                                <div class="absolute bottom-4 left-4">
                                    <span class="bg-white/20 text-white text-xs px-2 py-1 rounded">Literature</span>
                                </div>
                                <div class="absolute top-4 right-4">
                                    <button class="text-white hover:text-gray-200">
                                        <i class="far fa-bookmark"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="p-6">
                                <h3 class="font-bold text-lg mb-2">Creative Writing</h3>
                                <p class="text-gray-600 dark:text-gray-300 text-sm mb-4">Develop your writing skills and find your unique voice.</p>
                                <div class="flex items-center justify-between">
                                    <div class="flex items-center">
                                        <div class="w-8 h-8 rounded-full bg-gray-200 dark:bg-gray-700 flex items-center justify-center">
                                            <i class="fas fa-user text-xs text-gray-600 dark:text-gray-300"></i>
                                        </div>
                                        <span class="ml-2 text-sm">Ms. Williams</span>
                                    </div>
                                    <div class="text-sm text-gray-500 dark:text-gray-400">
                                        10 Lessons
                                    </div>
                                </div>
                                <div class="mt-4 pt-4 border-t border-gray-100 dark:border-gray-700 flex items-center justify-between">
                                    <div class="w-full bg-gray-200 dark:bg-gray-700 rounded-full h-2">
                                        <div class="bg-purple-500 h-2 rounded-full" style="width: 85%"></div>
                                    </div>
                                    <span class="ml-3 text-sm font-medium">85%</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- Upcoming Assignments -->
                <div class="mb-8">
                    <div class="flex items-center justify-between mb-6">
                        <h2 class="text-xl font-bold">Upcoming Assignments</h2>
                        <button class="text-primary-light dark:text-primary-dark hover:underline">View All</button>
                    </div>
                    
                    <div class="bg-white dark:bg-gray-800 rounded-xl shadow-sm overflow-hidden">
                        <div class="overflow-x-auto">
                            <table class="min-w-full divide-y divide-gray-200 dark:divide-gray-700">
                                <thead class="bg-gray-50 dark:bg-gray-700">
                                    <tr>
                                        <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Assignment</th>
                                        <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Course</th>
                                        <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Due Date</th>
                                        <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Status</th>
                                        <th scope="col" class="px-6 py-3 text-right text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Action</th>
                                    </tr>
                                </thead>
                                <tbody class="bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700">
                                    <tr>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <div class="flex items-center">
                                                <div class="flex-shrink-0 h-10 w-10 rounded-full bg-primary-light/10 dark:bg-primary-dark/20 flex items-center justify-center text-primary-light dark:text-primary-dark">
                                                    <i class="fas fa-file-alt"></i>
                                                </div>
                                                <div class="ml-4">
                                                    <div class="text-sm font-medium">Algebra Basics Quiz</div>
                                                    <div class="text-sm text-gray-500 dark:text-gray-400">10 Questions</div>
                                                </div>
                                            </div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <div class="text-sm">Mathematics 101</div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <div class="text-sm">Tomorrow</div>
                                            <div class="text-sm text-gray-500 dark:text-gray-400">11:59 PM</div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-200">
                                                Pending
                                            </span>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
                                            <a href="#" class="text-primary-light dark:text-primary-dark hover:text-primary-light/80 dark:hover:text-primary-dark/80">Start</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <div class="flex items-center">
                                                <div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 dark:bg-blue-900/20 flex items-center justify-center text-blue-500 dark:text-blue-300">
                                                    <i class="fas fa-book"></i>
                                                </div>
                                                <div class="ml-4">
                                                    <div class="text-sm font-medium">Scientific Revolution Essay</div>
                                                    <div class="text-sm text-gray-500 dark:text-gray-400">1500 Words</div>
                                                </div>
                                            </div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <div class="text-sm">History of Science</div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <div class="text-sm">Mar 15, 2023</div>
                                            <div class="text-sm text-gray-500 dark:text-gray-400">11:59 PM</div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 dark:bg-green-900/20 text-green-800 dark:text-green-200">
                                                Submitted
                                            </span>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
                                            <a href="#" class="text-primary-light dark:text-primary-dark hover:text-primary-light/80 dark:hover:text-primary-dark/80">View</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <div class="flex items-center">
                                                <div class="flex-shrink-0 h-10 w-10 rounded-full bg-purple-100 dark:bg-purple-900/20 flex items-center justify-center text-purple-500 dark:text-purple-300">
                                                    <i class="fas fa-pen"></i>
                                                </div>
                                                <div class="ml-4">
                                                    <div class="text-sm font-medium">Short Story Draft</div>
                                                    <div class="text-sm text-gray-500 dark:text-gray-400">5 Pages</div>
                                                </div>
                                            </div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <div class="text-sm">Creative Writing</div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <div class="text-sm">Mar 18, 2023</div>
                                            <div class="text-sm text-gray-500 dark:text-gray-400">11:59 PM</div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-200">
                                                Draft Saved
                                            </span>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
                                            <a href="#" class="text-primary-light dark:text-primary-dark hover:text-primary-light/80 dark:hover:text-primary-dark/80">Continue</a>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                
                <!-- Recent Activity -->
                <div>
                    <div class="flex items-center justify-between mb-6">
                        <h2 class="text-xl font-bold">Recent Activity</h2>
                        <button class="text-primary-light dark:text-primary-dark hover:underline">View All</button>
                    </div>
                    
                    <div class="bg-white dark:bg-gray-800 rounded-xl shadow-sm p-6">
                        <div class="space-y-6">
                            <!-- Activity Item 1 -->
                            <div class="flex">
                                <div class="flex-shrink-0">
                                    <div class="h-10 w-10 rounded-full bg-primary-light/10 dark:bg-primary-dark/20 flex items-center justify-center text-primary-light dark:text-primary-dark">
                                        <i class="fas fa-check"></i>
                                    </div>
                                </div>
                                <div class="ml-4 flex-1">
                                    <div class="flex items-center justify-between">
                                        <p class="text-sm font-medium">
                                            You completed <a href="#" class="text-primary-light dark:text-primary-dark">Algebra Basics Quiz</a>
                                        </p>
                                        <span class="text-xs text-gray-500 dark:text-gray-400">2 hours ago</span>
                                    </div>
                                    <p class="text-sm text-gray-500 dark:text-gray-400 mt-1">
                                        Scored 85% on your first attempt.
                                    </p>
                                </div>
                            </div>
                            
                            <!-- Activity Item 2 -->
                            <div class="flex">
                                <div class="flex-shrink-0">
                                    <div class="h-10 w-10 rounded-full bg-blue-100 dark:bg-blue-900/20 flex items-center justify-center text-blue-500 dark:text-blue-300">
                                        <i class="fas fa-comment"></i>
                                    </div>
                                </div>
                                <div class="ml-4 flex-1">
                                    <div class="flex items-center justify-between">
                                        <p class="text-sm font-medium">
                                            New comment on <a href="#" class="text-primary-light dark:text-primary-dark">Scientific Revolution Essay</a>
                                        </p>
                                        <span class="text-xs text-gray-500 dark:text-gray-400">5 hours ago</span>
                                    </div>
                                    <p class="text-sm text-gray-500 dark:text-gray-400 mt-1">
                                        "Great analysis of Galileo's contributions!" - Dr. Johnson
                                    </p>
                                </div>
                            </div>
                            
                            <!-- Activity Item 3 -->
                            <div class="flex">
                                <div class="flex-shrink-0">
                                    <div class="h-10 w-10 rounded-full bg-purple-100 dark:bg-purple-900/20 flex items-center justify-center text-purple-500 dark:text-purple-300">
                                        <i class="fas fa-book"></i>
                                    </div>
                                </div>
                                <div class="ml-4 flex-1">
                                    <div class="flex items-center justify-between">
                                        <p class="text-sm font-medium">
                                            New material added to <a href="#" class="text-primary-light dark:text-primary-dark">Creative Writing</a>
                                        </p>
                                        <span class="text-xs text-gray-500 dark:text-gray-400">1 day ago</span>
                                    </div>
                                    <p class="text-sm text-gray-500 dark:text-gray-400 mt-1">
                                        "Character Development Techniques" lecture notes uploaded.
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </main>
        </div>
    </div>

    <script>
        // Theme toggle functionality
        const themeToggle = document.getElementById('theme-toggle');
        const html = document.documentElement;
        
        themeToggle.addEventListener('click', () => {
            html.classList.toggle('dark');
            localStorage.setItem('theme', html.classList.contains('dark') ? 'dark' : 'light');
        });
        
        // Check for saved theme preference
        if (localStorage.getItem('theme') === 'dark' || (!localStorage.getItem('theme') && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
            html.classList.add('dark');
        } else {
            html.classList.remove('dark');
        }
        
        // Sidebar toggle functionality
        const sidebarToggle = document.getElementById('sidebar-toggle');
        const sidebar = document.querySelector('.sidebar');
        
        sidebarToggle.addEventListener('click', () => {
            sidebar.classList.toggle('collapsed');
            localStorage.setItem('sidebar-collapsed', sidebar.classList.contains('collapsed'));
        });
        
        // Check for saved sidebar state
        if (localStorage.getItem('sidebar-collapsed') === 'true') {
            sidebar.classList.add('collapsed');
        }
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Ben-S/lms" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>