File size: 39,012 Bytes
925902d
235e284
925902d
 
 
235e284
925902d
 
 
 
235e284
90a4a03
235e284
 
90a4a03
235e284
 
925902d
235e284
90a4a03
235e284
925902d
235e284
 
 
90a4a03
235e284
 
 
 
90a4a03
235e284
 
 
 
 
 
 
90a4a03
235e284
 
 
 
 
 
 
 
 
 
 
 
 
925902d
 
 
235e284
 
 
 
 
 
 
 
90a4a03
235e284
 
 
925902d
235e284
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
925902d
235e284
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
925902d
235e284
 
 
 
 
 
 
 
 
925902d
 
 
 
235e284
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
925902d
235e284
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
925902d
235e284
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
925902d
 
235e284
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90a4a03
925902d
235e284
925902d
235e284
925902d
 
235e284
 
 
 
 
 
 
90a4a03
235e284
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90a4a03
235e284
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90a4a03
235e284
 
 
 
 
 
90a4a03
925902d
235e284
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
925902d
 
 
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
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Matverse Suite 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>
        .gradient-bg {
            background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
        }
        .sidebar {
            transition: all 0.3s ease;
        }
        .content-area {
            transition: all 0.3s ease;
        }
        .dark-mode {
            background-color: #1a202c;
            color: #f7fafc;
        }
        .dark-mode .card {
            background-color: #2d3748;
            border-color: #4a5568;
        }
        .dark-mode input, .dark-mode select {
            background-color: #2d3748;
            border-color: #4a5568;
            color: #f7fafc;
        }
        .code-block {
            font-family: 'Courier New', monospace;
            background-color: #2d3748;
            color: #f7fafc;
            border-radius: 0.375rem;
            padding: 1rem;
            overflow-x: auto;
        }
        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
                position: fixed;
                z-index: 50;
                height: 100vh;
            }
            .sidebar-open {
                transform: translateX(0);
            }
            .content-area {
                width: 100%;
            }
        }
    </style>
</head>
<body class="bg-gray-100">
    <div class="flex h-screen overflow-hidden">
        <!-- Sidebar -->
        <div class="sidebar w-64 gradient-bg text-white p-4 hidden md:block">
            <div class="flex items-center justify-between mb-8">
                <div class="flex items-center space-x-2">
                    <i class="fas fa-cube text-2xl"></i>
                    <h1 class="text-xl font-bold">Matverse Suite</h1>
                </div>
                <button id="mobile-menu-close" class="md:hidden">
                    <i class="fas fa-times"></i>
                </button>
            </div>
            
            <div class="mb-6">
                <h2 class="text-xs uppercase tracking-wider text-gray-300 mb-2">Main</h2>
                <ul>
                    <li class="mb-1">
                        <a href="#" class="flex items-center px-3 py-2 rounded bg-blue-800 text-white">
                            <i class="fas fa-tachometer-alt mr-3"></i>
                            Dashboard
                        </a>
                    </li>
                    <li class="mb-1">
                        <a href="#" class="flex items-center px-3 py-2 rounded hover:bg-blue-800 text-blue-100">
                            <i class="fas fa-mobile-alt mr-3"></i>
                            FRP Command
                        </a>
                    </li>
                    <li class="mb-1">
                        <a href="#" class="flex items-center px-3 py-2 rounded hover:bg-blue-800 text-blue-100">
                            <i class="fas fa-code mr-3"></i>
                            Mercure Coder
                        </a>
                    </li>
                </ul>
            </div>
            
            <div class="mb-6">
                <h2 class="text-xs uppercase tracking-wider text-gray-300 mb-2">Tools</h2>
                <ul>
                    <li class="mb-1">
                        <a href="#" class="flex items-center px-3 py-2 rounded hover:bg-blue-800 text-blue-100">
                            <i class="fas fa-key mr-3"></i>
                            Key Generator
                        </a>
                    </li>
                    <li class="mb-1">
                        <a href="#" class="flex items-center px-3 py-2 rounded hover:bg-blue-800 text-blue-100">
                            <i class="fas fa-shield-alt mr-3"></i>
                            Security Audit
                        </a>
                    </li>
                    <li class="mb-1">
                        <a href="#" class="flex items-center px-3 py-2 rounded hover:bg-blue-800 text-blue-100">
                            <i class="fas fa-chart-line mr-3"></i>
                            Metrics
                        </a>
                    </li>
                </ul>
            </div>
            
            <div class="mt-auto pt-4 border-t border-blue-800">
                <div class="flex items-center">
                    <div class="w-10 h-10 rounded-full bg-blue-700 flex items-center justify-center">
                        <i class="fas fa-user"></i>
                    </div>
                    <div class="ml-3">
                        <p class="text-sm font-medium">Admin User</p>
                        <p class="text-xs text-blue-200">admin@matverse.com</p>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Main Content -->
        <div class="content-area flex-1 flex flex-col overflow-hidden">
            <!-- Top Navigation -->
            <header class="bg-white shadow-sm z-10">
                <div class="flex items-center justify-between px-4 py-3">
                    <div class="flex items-center">
                        <button id="mobile-menu-button" class="md:hidden mr-4">
                            <i class="fas fa-bars text-gray-600"></i>
                        </button>
                        <h2 class="text-xl font-semibold text-gray-800">Dashboard</h2>
                    </div>
                    <div class="flex items-center space-x-4">
                        <button id="dark-mode-toggle" class="p-2 rounded-full hover:bg-gray-200">
                            <i class="fas fa-moon text-gray-600"></i>
                        </button>
                        <div class="relative">
                            <button class="p-2 rounded-full hover:bg-gray-200">
                                <i class="fas fa-bell text-gray-600"></i>
                                <span class="absolute top-0 right-0 w-2 h-2 bg-red-500 rounded-full"></span>
                            </button>
                        </div>
                        <div class="relative">
                            <button class="flex items-center space-x-2">
                                <div class="w-8 h-8 rounded-full bg-blue-600 flex items-center justify-center text-white">
                                    <i class="fas fa-user"></i>
                                </div>
                                <span class="hidden md:inline text-gray-700">Admin</span>
                            </button>
                        </div>
                    </div>
                </div>
            </header>
            
            <!-- Main Content Area -->
            <main class="flex-1 overflow-y-auto p-4 bg-gray-50 dark:bg-gray-900">
                <!-- Stats Cards -->
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-6">
                    <div class="card bg-white dark:bg-gray-800 rounded-lg shadow p-4 border-l-4 border-blue-500">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-gray-500 dark:text-gray-300 text-sm">Active Devices</p>
                                <h3 class="text-2xl font-bold dark:text-white">142</h3>
                            </div>
                            <div class="p-3 rounded-full bg-blue-100 dark:bg-blue-900">
                                <i class="fas fa-mobile-alt text-blue-500 dark:text-blue-300"></i>
                            </div>
                        </div>
                        <p class="text-green-500 text-sm mt-2">
                            <i class="fas fa-arrow-up mr-1"></i> 12% from last week
                        </p>
                    </div>
                    
                    <div class="card bg-white dark:bg-gray-800 rounded-lg shadow p-4 border-l-4 border-green-500">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-gray-500 dark:text-gray-300 text-sm">Code Generations</p>
                                <h3 class="text-2xl font-bold dark:text-white">1,284</h3>
                            </div>
                            <div class="p-3 rounded-full bg-green-100 dark:bg-green-900">
                                <i class="fas fa-code text-green-500 dark:text-green-300"></i>
                            </div>
                        </div>
                        <p class="text-green-500 text-sm mt-2">
                            <i class="fas fa-arrow-up mr-1"></i> 24% from last week
                        </p>
                    </div>
                    
                    <div class="card bg-white dark:bg-gray-800 rounded-lg shadow p-4 border-l-4 border-purple-500">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-gray-500 dark:text-gray-300 text-sm">Security Audits</p>
                                <h3 class="text-2xl font-bold dark:text-white">86</h3>
                            </div>
                            <div class="p-3 rounded-full bg-purple-100 dark:bg-purple-900">
                                <i class="fas fa-shield-alt text-purple-500 dark:text-purple-300"></i>
                            </div>
                        </div>
                        <p class="text-red-500 text-sm mt-2">
                            <i class="fas fa-arrow-down mr-1"></i> 5% from last week
                        </p>
                    </div>
                    
                    <div class="card bg-white dark:bg-gray-800 rounded-lg shadow p-4 border-l-4 border-yellow-500">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-gray-500 dark:text-gray-300 text-sm">Entropy Score</p>
                                <h3 class="text-2xl font-bold dark:text-white">7.2</h3>
                            </div>
                            <div class="p-3 rounded-full bg-yellow-100 dark:bg-yellow-900">
                                <i class="fas fa-chart-pie text-yellow-500 dark:text-yellow-300"></i>
                            </div>
                        </div>
                        <p class="text-green-500 text-sm mt-2">
                            <i class="fas fa-arrow-up mr-1"></i> 1.2 from last week
                        </p>
                    </div>
                </div>
                
                <!-- Main Dashboard Content -->
                <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
                    <!-- FRP Command Center -->
                    <div class="lg:col-span-2">
                        <div class="card bg-white dark:bg-gray-800 rounded-lg shadow p-4 mb-6">
                            <div class="flex items-center justify-between mb-4">
                                <h3 class="text-lg font-semibold dark:text-white">
                                    <i class="fas fa-mobile-alt mr-2 text-blue-500"></i>
                                    FRP Command Center
                                </h3>
                                <div class="flex space-x-2">
                                    <button class="px-3 py-1 bg-blue-500 text-white rounded text-sm hover:bg-blue-600">
                                        <i class="fas fa-plus mr-1"></i> Add Device
                                    </button>
                                    <button class="px-3 py-1 bg-gray-200 dark:bg-gray-700 dark:text-white rounded text-sm hover:bg-gray-300 dark:hover:bg-gray-600">
                                        <i class="fas fa-sync-alt mr-1"></i> Refresh
                                    </button>
                                </div>
                            </div>
                            
                            <div class="mb-4">
                                <div class="flex flex-col md:flex-row md:space-x-4 space-y-4 md:space-y-0">
                                    <div class="flex-1">
                                        <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Device ID</label>
                                        <input type="text" class="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white" placeholder="Enter device ID">
                                    </div>
                                    <div class="flex-1">
                                        <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Status</label>
                                        <select class="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white">
                                            <option>All Status</option>
                                            <option>Active</option>
                                            <option>Pending</option>
                                            <option>Blocked</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            
                            <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 class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Device ID</th>
                                            <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Model</th>
                                            <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Status</th>
                                            <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Last Active</th>
                                            <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Actions</th>
                                        </tr>
                                    </thead>
                                    <tbody class="bg-white divide-y divide-gray-200 dark:bg-gray-800 dark:divide-gray-700">
                                        <tr>
                                            <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900 dark:text-white">DVC-2847-ABX</td>
                                            <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">Samsung Galaxy S23</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 dark:bg-green-900 dark:text-green-200">Active</span>
                                            </td>
                                            <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">2 mins ago</td>
                                            <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
                                                <button class="text-blue-600 hover:text-blue-900 dark:text-blue-400 dark:hover:text-blue-300 mr-3">Manage</button>
                                                <button class="text-red-600 hover:text-red-900 dark:text-red-400 dark:hover:text-red-300">Block</button>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900 dark:text-white">DVC-1942-KLM</td>
                                            <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">Google Pixel 7</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 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-200">Pending</span>
                                            </td>
                                            <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">15 mins ago</td>
                                            <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
                                                <button class="text-blue-600 hover:text-blue-900 dark:text-blue-400 dark:hover:text-blue-300 mr-3">Manage</button>
                                                <button class="text-red-600 hover:text-red-900 dark:text-red-400 dark:hover:text-red-300">Block</button>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900 dark:text-white">DVC-5739-XYZ</td>
                                            <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">OnePlus 11</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 dark:bg-green-900 dark:text-green-200">Active</span>
                                            </td>
                                            <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">1 hour ago</td>
                                            <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
                                                <button class="text-blue-600 hover:text-blue-900 dark:text-blue-400 dark:hover:text-blue-300 mr-3">Manage</button>
                                                <button class="text-red-600 hover:text-red-900 dark:text-red-400 dark:hover:text-red-300">Block</button>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                            
                            <div class="mt-4 flex items-center justify-between">
                                <div class="text-sm text-gray-500 dark:text-gray-400">
                                    Showing <span class="font-medium">1</span> to <span class="font-medium">3</span> of <span class="font-medium">24</span> devices
                                </div>
                                <div class="flex space-x-2">
                                    <button class="px-3 py-1 border border-gray-300 dark:border-gray-600 rounded text-sm hover:bg-gray-100 dark:hover:bg-gray-700">
                                        Previous
                                    </button>
                                    <button class="px-3 py-1 bg-blue-500 text-white rounded text-sm hover:bg-blue-600">
                                        1
                                    </button>
                                    <button class="px-3 py-1 border border-gray-300 dark:border-gray-600 rounded text-sm hover:bg-gray-100 dark:hover:bg-gray-700">
                                        2
                                    </button>
                                    <button class="px-3 py-1 border border-gray-300 dark:border-gray-600 rounded text-sm hover:bg-gray-100 dark:hover:bg-gray-700">
                                        Next
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Mercure Coder -->
                    <div>
                        <div class="card bg-white dark:bg-gray-800 rounded-lg shadow p-4 mb-6">
                            <h3 class="text-lg font-semibold mb-4 dark:text-white">
                                <i class="fas fa-code mr-2 text-green-500"></i>
                                Mercure Coder
                            </h3>
                            
                            <div class="mb-4">
                                <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Model</label>
                                <select class="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white">
                                    <option>Mixtral 8x22B (MMAX)</option>
                                    <option>DeepSeek Coder 6.7B</option>
                                    <option>Llama 3 70B</option>
                                </select>
                            </div>
                            
                            <div class="mb-4">
                                <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Prompt</label>
                                <textarea rows="4" class="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white" placeholder="Enter your coding prompt..."></textarea>
                            </div>
                            
                            <div class="grid grid-cols-2 gap-4 mb-4">
                                <div>
                                    <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Max Tokens</label>
                                    <input type="number" value="512" class="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white">
                                </div>
                                <div>
                                    <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Temperature</label>
                                    <input type="number" value="0.1" step="0.1" max="1" min="0" class="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white">
                                </div>
                            </div>
                            
                            <button class="w-full bg-green-500 hover:bg-green-600 text-white py-2 px-4 rounded-md flex items-center justify-center">
                                <i class="fas fa-play mr-2"></i> Generate Code
                            </button>
                            
                            <div class="mt-4">
                                <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Context File</label>
                                <div class="flex">
                                    <input type="text" class="flex-1 px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-l-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white" placeholder="Select a file...">
                                    <button class="bg-gray-200 dark:bg-gray-700 px-4 py-2 rounded-r-md border border-l-0 border-gray-300 dark:border-gray-600">
                                        <i class="fas fa-folder-open"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                        
                        <!-- Recent Code Generations -->
                        <div class="card bg-white dark:bg-gray-800 rounded-lg shadow p-4">
                            <h3 class="text-lg font-semibold mb-4 dark:text-white">
                                <i class="fas fa-history mr-2 text-purple-500"></i>
                                Recent Generations
                            </h3>
                            
                            <div class="space-y-4">
                                <div class="border-b border-gray-200 dark:border-gray-700 pb-3">
                                    <div class="flex justify-between items-start">
                                        <div>
                                            <p class="text-sm font-medium dark:text-white">Python Fibonacci function</p>
                                            <p class="text-xs text-gray-500 dark:text-gray-400">2 mins ago</p>
                                        </div>
                                        <button class="text-blue-500 hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300">
                                            <i class="fas fa-redo"></i>
                                        </button>
                                    </div>
                                    <div class="code-block mt-2 text-xs">
                                        def fibonacci(n):<br>
                                        &nbsp;&nbsp;&nbsp;&nbsp;if n <= 1:<br>
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return n<br>
                                        &nbsp;&nbsp;&nbsp;&nbsp;else:<br>
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return fibonacci(n-1) + fibonacci(n-2)
                                    </div>
                                </div>
                                
                                <div class="border-b border-gray-200 dark:border-gray-700 pb-3">
                                    <div class="flex justify-between items-start">
                                        <div>
                                            <p class="text-sm font-medium dark:text-white">React useState hook example</p>
                                            <p class="text-xs text-gray-500 dark:text-gray-400">15 mins ago</p>
                                        </div>
                                        <button class="text-blue-500 hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300">
                                            <i class="fas fa-redo"></i>
                                        </button>
                                    </div>
                                    <div class="code-block mt-2 text-xs">
                                        import React, { useState } from 'react';<br><br>
                                        function Counter() {<br>
                                        &nbsp;&nbsp;&nbsp;&nbsp;const [count, setCount] = useState(0);<br><br>
                                        &nbsp;&nbsp;&nbsp;&nbsp;return (<br>
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div&gt;<br>
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;You clicked {count} times&lt;/p&gt;<br>
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;button onClick={() =&gt; setCount(count + 1)}&gt;<br>
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Click me<br>
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/button&gt;<br>
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br>
                                        &nbsp;&nbsp;&nbsp;&nbsp;);<br>
                                        }
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- Key Generator & Security -->
                <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mt-6">
                    <!-- Key Generator -->
                    <div class="card bg-white dark:bg-gray-800 rounded-lg shadow p-4">
                        <h3 class="text-lg font-semibold mb-4 dark:text-white">
                            <i class="fas fa-key mr-2 text-yellow-500"></i>
                            SHA-256 Key Generator
                        </h3>
                        
                        <div class="mb-4">
                            <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Key Type</label>
                            <select class="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white">
                                <option>KNOX_API_KEY</option>
                                <option>AMAPI_TOKEN</option>
                                <option>BASE44_API_KEY</option>
                                <option>API_KEY</option>
                            </select>
                        </div>
                        
                        <button id="generate-key" class="w-full bg-yellow-500 hover:bg-yellow-600 text-white py-2 px-4 rounded-md flex items-center justify-center mb-4">
                            <i class="fas fa-bolt mr-2"></i> Generate Key
                        </button>
                        
                        <div>
                            <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Generated Key</label>
                            <div class="flex">
                                <input id="generated-key" type="text" readonly class="flex-1 px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-l-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white bg-gray-100 dark:bg-gray-600" placeholder="Key will appear here...">
                                <button id="copy-key" class="bg-gray-200 dark:bg-gray-700 px-4 py-2 rounded-r-md border border-l-0 border-gray-300 dark:border-gray-600">
                                    <i class="fas fa-copy"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Security Audit -->
                    <div class="card bg-white dark:bg-gray-800 rounded-lg shadow p-4">
                        <h3 class="text-lg font-semibold mb-4 dark:text-white">
                            <i class="fas fa-shield-alt mr-2 text-red-500"></i>
                            Security Audit
                        </h3>
                        
                        <div class="space-y-4">
                            <div class="flex items-start">
                                <div class="flex-shrink-0 h-10 w-10 rounded-full bg-red-100 dark:bg-red-900 flex items-center justify-center mt-1">
                                    <i class="fas fa-check-circle text-red-500 dark:text-red-300"></i>
                                </div>
                                <div class="ml-3">
                                    <h4 class="text-sm font-medium dark:text-white">SHA3-256 Ledger</h4>
                                    <p class="text-sm text-gray-500 dark:text-gray-400">All operations are cryptographically signed and logged in the Merkle Tree ledger.</p>
                                </div>
                            </div>
                            
                            <div class="flex items-start">
                                <div class="flex-shrink-0 h-10 w-10 rounded-full bg-green-100 dark:bg-green-900 flex items-center justify-center mt-1">
                                    <i class="fas fa-check-circle text-green-500 dark:text-green-300"></i>
                                </div>
                                <div class="ml-3">
                                    <h4 class="text-sm font-medium dark:text-white">Rate Limiting</h4>
                                    <p class="text-sm text-gray-500 dark:text-gray-400">API endpoints are protected with rate limiting (30 requests/10 seconds).</p>
                                </div>
                            </div>
                            
                            <div class="flex items-start">
                                <div class="flex-shrink-0 h-10 w-10 rounded-full bg-yellow-100 dark:bg-yellow-900 flex items-center justify-center mt-1">
                                    <i class="fas fa-exclamation-triangle text-yellow-500 dark:text-yellow-300"></i>
                                </div>
                                <div class="ml-3">
                                    <h4 class="text-sm font-medium dark:text-white">Pending Audit</h4>
                                    <p class="text-sm text-gray-500 dark:text-gray-400">Phase 2 audit for Mercure Coder is pending. Click to initiate.</p>
                                </div>
                            </div>
                        </div>
                        
                        <button class="w-full mt-4 bg-red-500 hover:bg-red-600 text-white py-2 px-4 rounded-md flex items-center justify-center">
                            <i class="fas fa-shield-alt mr-2"></i> Run Full Security Audit
                        </button>
                    </div>
                </div>
            </main>
        </div>
    </div>

    <script>
        // Mobile menu toggle
        const mobileMenuButton = document.getElementById('mobile-menu-button');
        const mobileMenuClose = document.getElementById('mobile-menu-close');
        const sidebar = document.querySelector('.sidebar');
        
        mobileMenuButton.addEventListener('click', () => {
            sidebar.classList.add('sidebar-open');
        });
        
        mobileMenuClose.addEventListener('click', () => {
            sidebar.classList.remove('sidebar-open');
        });
        
        // Dark mode toggle
        const darkModeToggle = document.getElementById('dark-mode-toggle');
        const body = document.body;
        
        darkModeToggle.addEventListener('click', () => {
            body.classList.toggle('dark-mode');
            const icon = darkModeToggle.querySelector('i');
            if (body.classList.contains('dark-mode')) {
                icon.classList.remove('fa-moon');
                icon.classList.add('fa-sun');
            } else {
                icon.classList.remove('fa-sun');
                icon.classList.add('fa-moon');
            }
        });
        
        // Key generator
        const generateKeyButton = document.getElementById('generate-key');
        const copyKeyButton = document.getElementById('copy-key');
        const generatedKeyInput = document.getElementById('generated-key');
        
        generateKeyButton.addEventListener('click', () => {
            // Simulate SHA-256 key generation
            const randomString = Math.random().toString(36).substring(2) + 
                                Math.random().toString(36).substring(2) + 
                                Math.random().toString(36).substring(2);
            const key = 'sha256-' + btoa(randomString).substring(0, 64);
            generatedKeyInput.value = key;
        });
        
        copyKeyButton.addEventListener('click', () => {
            if (generatedKeyInput.value) {
                generatedKeyInput.select();
                document.execCommand('copy');
                
                // Show copied feedback
                const originalText = copyKeyButton.innerHTML;
                copyKeyButton.innerHTML = '<i class="fas fa-check"></i>';
                setTimeout(() => {
                    copyKeyButton.innerHTML = originalText;
                }, 2000);
            }
        });
        
        // Simulate code generation
        const codeGenerateButton = document.querySelector('.card .bg-green-500');
        if (codeGenerateButton) {
            codeGenerateButton.addEventListener('click', () => {
                // Simulate loading
                codeGenerateButton.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Generating...';
                codeGenerateButton.classList.remove('bg-green-500', 'hover:bg-green-600');
                codeGenerateButton.classList.add('bg-green-600');
                
                setTimeout(() => {
                    codeGenerateButton.innerHTML = '<i class="fas fa-play mr-2"></i> Generate Code';
                    codeGenerateButton.classList.remove('bg-green-600');
                    codeGenerateButton.classList.add('bg-green-500', 'hover:bg-green-600');
                    
                    // Show success alert
                    alert('Code generation complete! Check the Recent Generations section.');
                }, 2000);
            });
        }
    </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=matversedao/matverse-codex-like" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>