File size: 27,955 Bytes
a714b9b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Modern Blog Admin Panel">
    <meta name="keywords" content="blog, admin, dashboard, content management">
    <title>Blog Admin Dashboard</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">
    <style>
        .sidebar-collapsed .sidebar-item-text,
        .sidebar-collapsed .sidebar-dropdown-text {
            opacity: 0;
            width: 0;
            height: 0;
            overflow: hidden;
            position: absolute;
        }
        
        .sidebar-collapsed {
            width: 70px;
        }
        
        .main-content-expanded {
            margin-left: 250px;
        }
        
        .main-content-collapsed {
            margin-left: 70px;
        }
        
        .sidebar-transition {
            transition: all 0.3s ease;
        }
        
        .content-transition {
            transition: margin-left 0.3s ease;
        }
        
        .dropdown-enter {
            max-height: 0;
            overflow: hidden;
        }
        
        .dropdown-enter-active {
            max-height: 500px;
            transition: max-height 0.3s ease-in;
        }
        
        .dropdown-exit {
            max-height: 500px;
        }
        
        .dropdown-exit-active {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }
        
        @media (max-width: 768px) {
            .sidebar {
                position: fixed;
                z-index: 1000;
                transform: translateX(-100%);
            }
            
            .sidebar-open {
                transform: translateX(0);
            }
            
            .main-content-expanded, .main-content-collapsed {
                margin-left: 0;
            }
        }
    </style>
</head>
<body class="bg-gray-100 font-sans">
    <div class="flex h-screen overflow-hidden">
        <!-- Sidebar -->
        <div id="sidebar" class="sidebar bg-indigo-800 text-white sidebar-transition w-64 flex flex-col">
            <!-- Sidebar Header -->
            <div class="p-4 flex items-center justify-between border-b border-indigo-700">
                <div class="flex items-center">
                    <i class="fas fa-blog text-2xl mr-3"></i>
                    <span class="sidebar-item-text font-bold text-xl">Blog Admin</span>
                </div>
                <button id="toggleSidebar" class="text-white focus:outline-none">
                    <i class="fas fa-bars"></i>
                </button>
            </div>
            
            <!-- Sidebar Content -->
            <div class="flex-1 overflow-y-auto">
                <!-- Dashboard -->
                <div class="p-4">
                    <a href="#" class="flex items-center text-white hover:bg-indigo-700 p-2 rounded">
                        <i class="fas fa-tachometer-alt mr-3"></i>
                        <span class="sidebar-item-text">Dashboard</span>
                    </a>
                </div>
                
                <!-- Content Management -->
                <div class="border-t border-indigo-700 pt-2 pb-2">
                    <div class="dropdown-item">
                        <button class="flex items-center justify-between w-full text-white hover:bg-indigo-700 p-2 rounded focus:outline-none">
                            <div class="flex items-center">
                                <i class="fas fa-pen-fancy mr-3"></i>
                                <span class="sidebar-item-text">Content</span>
                            </div>
                            <i class="fas fa-chevron-down sidebar-dropdown-text text-xs"></i>
                        </button>
                        <div class="dropdown-content pl-8 mt-1 hidden">
                            <a href="#" class="block text-white hover:bg-indigo-700 p-2 rounded sidebar-item-text">All Posts</a>
                            <a href="#" class="block text-white hover:bg-indigo-700 p-2 rounded sidebar-item-text">Add New</a>
                            <a href="#" class="block text-white hover:bg-indigo-700 p-2 rounded sidebar-item-text">Categories</a>
                            <a href="#" class="block text-white hover:bg-indigo-700 p-2 rounded sidebar-item-text">Tags</a>
                        </div>
                    </div>
                </div>
                
                <!-- Media -->
                <div class="border-t border-indigo-700 pt-2 pb-2">
                    <a href="#" class="flex items-center text-white hover:bg-indigo-700 p-2 rounded">
                        <i class="fas fa-images mr-3"></i>
                        <span class="sidebar-item-text">Media Library</span>
                    </a>
                </div>
                
                <!-- Comments -->
                <div class="border-t border-indigo-700 pt-2 pb-2">
                    <a href="#" class="flex items-center text-white hover:bg-indigo-700 p-2 rounded">
                        <i class="fas fa-comments mr-3"></i>
                        <span class="sidebar-item-text">Comments</span>
                    </a>
                </div>
                
                <!-- SEO -->
                <div class="border-t border-indigo-700 pt-2 pb-2">
                    <div class="dropdown-item">
                        <button class="flex items-center justify-between w-full text-white hover:bg-indigo-700 p-2 rounded focus:outline-none">
                            <div class="flex items-center">
                                <i class="fas fa-search mr-3"></i>
                                <span class="sidebar-item-text">SEO Tools</span>
                            </div>
                            <i class="fas fa-chevron-down sidebar-dropdown-text text-xs"></i>
                        </button>
                        <div class="dropdown-content pl-8 mt-1 hidden">
                            <a href="#" class="block text-white hover:bg-indigo-700 p-2 rounded sidebar-item-text">SEO Analysis</a>
                            <a href="#" class="block text-white hover:bg-indigo-700 p-2 rounded sidebar-item-text">Keywords</a>
                            <a href="#" class="block text-white hover:bg-indigo-700 p-2 rounded sidebar-item-text">Sitemap</a>
                        </div>
                    </div>
                </div>
                
                <!-- Analytics -->
                <div class="border-t border-indigo-700 pt-2 pb-2">
                    <a href="#" class="flex items-center text-white hover:bg-indigo-700 p-2 rounded">
                        <i class="fas fa-chart-line mr-3"></i>
                        <span class="sidebar-item-text">Analytics</span>
                    </a>
                </div>
                
                <!-- Settings -->
                <div class="border-t border-indigo-700 pt-2 pb-2">
                    <div class="dropdown-item">
                        <button class="flex items-center justify-between w-full text-white hover:bg-indigo-700 p-2 rounded focus:outline-none">
                            <div class="flex items-center">
                                <i class="fas fa-cog mr-3"></i>
                                <span class="sidebar-item-text">Settings</span>
                            </div>
                            <i class="fas fa-chevron-down sidebar-dropdown-text text-xs"></i>
                        </button>
                        <div class="dropdown-content pl-8 mt-1 hidden">
                            <a href="#" class="block text-white hover:bg-indigo-700 p-2 rounded sidebar-item-text">General</a>
                            <a href="#" class="block text-white hover:bg-indigo-700 p-2 rounded sidebar-item-text">Reading</a>
                            <a href="#" class="block text-white hover:bg-indigo-700 p-2 rounded sidebar-item-text">Writing</a>
                            <a href="#" class="block text-white hover:bg-indigo-700 p-2 rounded sidebar-item-text">Discussion</a>
                            <a href="#" class="block text-white hover:bg-indigo-700 p-2 rounded sidebar-item-text">Permalinks</a>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Sidebar Footer -->
            <div class="p-4 border-t border-indigo-700">
                <div class="flex items-center">
                    <img src="https://via.placeholder.com/40" alt="User" class="rounded-full w-8 h-8">
                    <div class="ml-3 sidebar-item-text">
                        <div class="font-medium">Admin User</div>
                        <div class="text-xs text-indigo-300">Super Admin</div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Main Content -->
        <div id="mainContent" class="main-content-expanded content-transition flex-1 overflow-auto">
            <!-- Top Navigation -->
            <header class="bg-white shadow-sm">
                <div class="px-6 py-4 flex items-center justify-between">
                    <div class="flex items-center">
                        <button id="mobileToggleSidebar" class="mr-4 text-gray-500 focus:outline-none md:hidden">
                            <i class="fas fa-bars text-xl"></i>
                        </button>
                        <h1 class="text-xl font-semibold text-gray-800">Dashboard</h1>
                    </div>
                    <div class="flex items-center space-x-4">
                        <div class="relative">
                            <button class="text-gray-500 focus:outline-none">
                                <i class="fas fa-bell text-xl"></i>
                                <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span>
                            </button>
                        </div>
                        <div class="relative">
                            <button class="text-gray-500 focus:outline-none">
                                <i class="fas fa-envelope text-xl"></i>
                                <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span>
                            </button>
                        </div>
                        <div class="relative">
                            <button class="flex items-center focus:outline-none">
                                <img src="https://via.placeholder.com/40" alt="User" class="rounded-full w-8 h-8">
                                <i class="fas fa-chevron-down ml-1 text-gray-500"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </header>
            
            <!-- Content Area -->
            <main class="p-6">
                <!-- Stats Cards -->
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
                    <div class="bg-white rounded-lg shadow p-6">
                        <div class="flex items-center">
                            <div class="p-3 rounded-full bg-indigo-100 text-indigo-600 mr-4">
                                <i class="fas fa-file-alt text-xl"></i>
                            </div>
                            <div>
                                <p class="text-sm text-gray-500">Total Posts</p>
                                <h3 class="text-2xl font-bold">1,248</h3>
                            </div>
                        </div>
                    </div>
                    <div class="bg-white rounded-lg shadow p-6">
                        <div class="flex items-center">
                            <div class="p-3 rounded-full bg-green-100 text-green-600 mr-4">
                                <i class="fas fa-eye text-xl"></i>
                            </div>
                            <div>
                                <p class="text-sm text-gray-500">Total Views</p>
                                <h3 class="text-2xl font-bold">24,589</h3>
                            </div>
                        </div>
                    </div>
                    <div class="bg-white rounded-lg shadow p-6">
                        <div class="flex items-center">
                            <div class="p-3 rounded-full bg-blue-100 text-blue-600 mr-4">
                                <i class="fas fa-comment text-xl"></i>
                            </div>
                            <div>
                                <p class="text-sm text-gray-500">Comments</p>
                                <h3 class="text-2xl font-bold">342</h3>
                            </div>
                        </div>
                    </div>
                    <div class="bg-white rounded-lg shadow p-6">
                        <div class="flex items-center">
                            <div class="p-3 rounded-full bg-purple-100 text-purple-600 mr-4">
                                <i class="fas fa-users text-xl"></i>
                            </div>
                            <div>
                                <p class="text-sm text-gray-500">Subscribers</p>
                                <h3 class="text-2xl font-bold">1,024</h3>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- Recent Posts -->
                <div class="bg-white rounded-lg shadow mb-6">
                    <div class="p-6 border-b border-gray-200">
                        <h2 class="text-lg font-semibold text-gray-800">Recent Posts</h2>
                    </div>
                    <div class="overflow-x-auto">
                        <table class="min-w-full divide-y divide-gray-200">
                            <thead class="bg-gray-50">
                                <tr>
                                    <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Title</th>
                                    <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Author</th>
                                    <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Categories</th>
                                    <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
                                    <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Views</th>
                                    <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
                                </tr>
                            </thead>
                            <tbody class="bg-white divide-y divide-gray-200">
                                <tr>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <div class="text-sm font-medium text-gray-900">10 Tips for Better Blog Writing</div>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <div class="flex items-center">
                                            <img src="https://via.placeholder.com/40" alt="Author" class="w-6 h-6 rounded-full mr-2">
                                            <div class="text-sm text-gray-500">John Doe</div>
                                        </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 text-green-800">Writing</span>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 15, 2023</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">1,245</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
                                        <a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3">Edit</a>
                                        <a href="#" class="text-red-600 hover:text-red-900">Delete</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <div class="text-sm font-medium text-gray-900">SEO Best Practices for 2023</div>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <div class="flex items-center">
                                            <img src="https://via.placeholder.com/40" alt="Author" class="w-6 h-6 rounded-full mr-2">
                                            <div class="text-sm text-gray-500">Jane Smith</div>
                                        </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-blue-100 text-blue-800">SEO</span>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 10, 2023</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2,876</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
                                        <a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3">Edit</a>
                                        <a href="#" class="text-red-600 hover:text-red-900">Delete</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <div class="text-sm font-medium text-gray-900">How to Increase Blog Traffic</div>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap">
                                        <div class="flex items-center">
                                            <img src="https://via.placeholder.com/40" alt="Author" class="w-6 h-6 rounded-full mr-2">
                                            <div class="text-sm text-gray-500">Mike Johnson</div>
                                        </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-purple-100 text-purple-800">Marketing</span>
                                    </td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 5, 2023</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">3,421</td>
                                    <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
                                        <a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3">Edit</a>
                                        <a href="#" class="text-red-600 hover:text-red-900">Delete</a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="p-4 border-t border-gray-200">
                        <a href="#" class="text-indigo-600 hover:text-indigo-900 font-medium">View All Posts →</a>
                    </div>
                </div>
                
                <!-- SEO Analysis -->
                <div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
                    <div class="bg-white rounded-lg shadow">
                        <div class="p-6 border-b border-gray-200">
                            <h2 class="text-lg font-semibold text-gray-800">SEO Analysis</h2>
                        </div>
                        <div class="p-6">
                            <div class="mb-4">
                                <div class="flex justify-between mb-1">
                                    <span class="text-sm font-medium text-gray-700">SEO Score</span>
                                    <span class="text-sm font-medium text-gray-700">85%</span>
                                </div>
                                <div class="w-full bg-gray-200 rounded-full h-2.5">
                                    <div class="bg-green-600 h-2.5 rounded-full" style="width: 85%"></div>
                                </div>
                            </div>
                            <div class="space-y-3">
                                <div class="flex items-center">
                                    <i class="fas fa-check-circle text-green-500 mr-2"></i>
                                    <span class="text-sm text-gray-700">All posts have meta descriptions</span>
                                </div>
                                <div class="flex items-center">
                                    <i class="fas fa-check-circle text-green-500 mr-2"></i>
                                    <span class="text-sm text-gray-700">Images have alt text</span>
                                </div>
                                <div class="flex items-center">
                                    <i class="fas fa-exclamation-triangle text-yellow-500 mr-2"></i>
                                    <span class="text-sm text-gray-700">5 posts need internal links</span>
                                </div>
                                <div class="flex items-center">
                                    <i class="fas fa-exclamation-triangle text-yellow-500 mr-2"></i>
                                    <span class="text-sm text-gray-700">3 posts have long titles</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Recent Comments -->
                    <div class="bg-white rounded-lg shadow">
                        <div class="p-6 border-b border-gray-200">
                            <h2 class="text-lg font-semibold text-gray-800">Recent Comments</h2>
                        </div>
                        <div class="divide-y divide-gray-200">
                            <div class="p-4">
                                <div class="flex items-start">
                                    <img src="https://via.placeholder.com/40" alt="User" class="w-8 h-8 rounded-full mr-3">
                                    <div>
                                        <div class="font-medium text-gray-800">Sarah Williams</div>
                                        <div class="text-sm text-gray-600 mb-1">Great post! Very informative.</div>
                                        <div class="text-xs text-gray-500">On: 10 Tips for Better Blog Writing</div>
                                    </div>
                                </div>
                            </div>
                            <div class="p-4">
                                <div class="flex items-start">
                                    <img src="https://via.placeholder.com/40" alt="User" class="w-8 h-8 rounded-full mr-3">
                                    <div>
                                        <div class="font-medium text-gray-800">Robert Chen</div>
                                        <div class="text-sm text-gray-600 mb-1">I disagree with point #3, here's why...</div>
                                        <div class="text-xs text-gray-500">On: SEO Best Practices for 2023</div>
                                    </div>
                                </div>
                            </div>
                            <div class="p-4">
                                <div class="flex items-start">
                                    <img src="https://via.placeholder.com/40" alt="User" class="w-8 h-8 rounded-full mr-3">
                                    <div>
                                        <div class="font-medium text-gray-800">Emily Parker</div>
                                        <div class="text-sm text-gray-600 mb-1">Thanks for sharing these insights!</div>
                                        <div class="text-xs text-gray-500">On: How to Increase Blog Traffic</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </main>
        </div>
    </div>

    <script>
        // Toggle sidebar
        const toggleSidebar = document.getElementById('toggleSidebar');
        const mobileToggleSidebar = document.getElementById('mobileToggleSidebar');
        const sidebar = document.getElementById('sidebar');
        const mainContent = document.getElementById('mainContent');
        
        toggleSidebar.addEventListener('click', () => {
            sidebar.classList.toggle('sidebar-collapsed');
            mainContent.classList.toggle('main-content-expanded');
            mainContent.classList.toggle('main-content-collapsed');
        });
        
        mobileToggleSidebar.addEventListener('click', () => {
            sidebar.classList.toggle('sidebar-open');
        });
        
        // Dropdown functionality
        const dropdownItems = document.querySelectorAll('.dropdown-item');
        
        dropdownItems.forEach(item => {
            const button = item.querySelector('button');
            const content = item.querySelector('.dropdown-content');
            
            button.addEventListener('click', () => {
                content.classList.toggle('hidden');
                
                // Rotate chevron icon
                const chevron = button.querySelector('.fa-chevron-down');
                chevron.classList.toggle('transform');
                chevron.classList.toggle('rotate-180');
            });
        });
        
        // Close sidebar when clicking outside on mobile
        document.addEventListener('click', (e) => {
            if (window.innerWidth <= 768 && !sidebar.contains(e.target) && !mobileToggleSidebar.contains(e.target)) {
                sidebar.classList.remove('sidebar-open');
            }
        });
    </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=kayrahan/ww" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>