File size: 49,753 Bytes
2ded6da
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Maori Music 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>
        .tab-content {
            display: none;
        }
        .tab-content.active {
            display: block;
            animation: fadeIn 0.5s;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        .audio-wave {
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .wave-bar {
            width: 4px;
            height: 10px;
            margin: 0 2px;
            background-color: #4F46E5;
            border-radius: 2px;
            animation: wave 1.2s infinite ease-in-out;
        }
        .wave-bar:nth-child(2) { animation-delay: 0.1s; }
        .wave-bar:nth-child(3) { animation-delay: 0.2s; }
        .wave-bar:nth-child(4) { animation-delay: 0.3s; }
        .wave-bar:nth-child(5) { animation-delay: 0.4s; }
        @keyframes wave {
            0%, 100% { transform: scaleY(0.5); }
            50% { transform: scaleY(2); }
        }
        .maori-pattern {
            background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZD0iTTAgNTBoNTB2NTBINTB2LTUwSDB6IiBmaWxsPSIjNGY0NmU1IiBvcGFjaXR5PSIwLjEiLz48L3N2Zz4=');
            background-size: 100px 100px;
        }
    </style>
</head>
<body class="bg-gray-100 font-sans">
    <div class="min-h-screen flex flex-col">
        <!-- Header -->
        <header class="bg-indigo-700 text-white shadow-lg maori-pattern">
            <div class="container mx-auto px-4 py-6">
                <div class="flex justify-between items-center">
                    <div class="flex items-center space-x-4">
                        <i class="fas fa-music text-3xl"></i>
                        <h1 class="text-2xl font-bold">Maori Music Dashboard</h1>
                    </div>
                    <div class="flex items-center space-x-4">
                        <button class="bg-indigo-600 hover:bg-indigo-500 px-4 py-2 rounded-lg flex items-center">
                            <i class="fas fa-user-circle mr-2"></i>
                            Profile
                        </button>
                    </div>
                </div>
            </div>
        </header>

        <!-- Main Content -->
        <main class="flex-grow container mx-auto px-4 py-6">
            <div class="bg-white rounded-xl shadow-lg overflow-hidden">
                <!-- Tabs Navigation -->
                <div class="flex border-b border-gray-200">
                    <button class="tab-btn px-6 py-4 font-medium text-gray-600 hover:text-indigo-600 hover:bg-indigo-50 transition-all border-b-2 border-transparent hover:border-indigo-300 active" data-tab="songs">
                        <i class="fas fa-pen-fancy mr-2"></i>Song Writing
                    </button>
                    <button class="tab-btn px-6 py-4 font-medium text-gray-600 hover:text-indigo-600 hover:bg-indigo-50 transition-all border-b-2 border-transparent hover:border-indigo-300" data-tab="genres">
                        <i class="fas fa-guitar mr-2"></i>Genres
                    </button>
                    <button class="tab-btn px-6 py-4 font-medium text-gray-600 hover:text-indigo-600 hover:bg-indigo-50 transition-all border-b-2 border-transparent hover:border-indigo-300" data-tab="ideas">
                        <i class="fas fa-lightbulb mr-2"></i>Ideas
                    </button>
                    <button class="tab-btn px-6 py-4 font-medium text-gray-600 hover:text-indigo-600 hover:bg-indigo-50 transition-all border-b-2 border-transparent hover:border-indigo-300" data-tab="translate">
                        <i class="fas fa-language mr-2"></i>Translations
                    </button>
                    <button class="tab-btn px-6 py-4 font-medium text-gray-600 hover:text-indigo-600 hover:bg-indigo-50 transition-all border-b-2 border-transparent hover:border-indigo-300" data-tab="audio">
                        <i class="fas fa-microphone mr-2"></i>Audio
                    </button>
                    <button class="tab-btn px-6 py-4 font-medium text-gray-600 hover:text-indigo-600 hover:bg-indigo-50 transition-all border-b-2 border-transparent hover:border-indigo-300" data-tab="ai">
                        <i class="fas fa-robot mr-2"></i>AI Assistant
                    </button>
                </div>

                <!-- Tab Contents -->
                <div class="p-6">
                    <!-- Song Writing Tab -->
                    <div id="songs" class="tab-content active">
                        <div class="mb-6">
                            <h2 class="text-xl font-bold text-gray-800 mb-4">Write Your Maori Song</h2>
                            <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                                <div>
                                    <label class="block text-gray-700 mb-2">Title (English)</label>
                                    <input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" placeholder="Song title in English">
                                </div>
                                <div>
                                    <label class="block text-gray-700 mb-2">Title (Te Reo Maori)</label>
                                    <input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" placeholder="Waiata ingoa i roto i te reo Māori">
                                </div>
                            </div>
                        </div>

                        <div class="mb-6">
                            <label class="block text-gray-700 mb-2">Lyrics (English)</label>
                            <textarea class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 h-40" placeholder="Write your lyrics in English"></textarea>
                        </div>

                        <div class="mb-6">
                            <label class="block text-gray-700 mb-2">Lyrics (Te Reo Maori)</label>
                            <textarea class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 h-40" placeholder="Tuhia ō kupu i roto i te reo Māori"></textarea>
                        </div>

                        <div class="flex flex-wrap gap-3 mb-6">
                            <button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg flex items-center">
                                <i class="fas fa-save mr-2"></i> Save
                            </button>
                            <button class="bg-gray-200 hover:bg-gray-300 text-gray-800 px-4 py-2 rounded-lg flex items-center">
                                <i class="fas fa-copy mr-2"></i> Copy
                            </button>
                            <button class="bg-gray-200 hover:bg-gray-300 text-gray-800 px-4 py-2 rounded-lg flex items-center">
                                <i class="fas fa-download mr-2"></i> Download
                            </button>
                            <button class="bg-gray-200 hover:bg-gray-300 text-gray-800 px-4 py-2 rounded-lg flex items-center">
                                <i class="fas fa-book mr-2"></i> Send to Notion
                            </button>
                            <button class="bg-gray-200 hover:bg-gray-300 text-gray-800 px-4 py-2 rounded-lg flex items-center">
                                <i class="fas fa-music mr-2"></i> Send to Suno
                            </button>
                        </div>

                        <div class="bg-gray-50 p-4 rounded-lg">
                            <h3 class="font-medium text-gray-700 mb-2">Recent Songs</h3>
                            <div class="space-y-2">
                                <div class="p-3 hover:bg-gray-100 rounded-lg cursor-pointer">
                                    <div class="font-medium">Whakaaria Mai</div>
                                    <div class="text-sm text-gray-500">Traditional hymn</div>
                                </div>
                                <div class="p-3 hover:bg-gray-100 rounded-lg cursor-pointer">
                                    <div class="font-medium">Pōkarekare Ana</div>
                                    <div class="text-sm text-gray-500">Love song</div>
                                </div>
                                <div class="p-3 hover:bg-gray-100 rounded-lg cursor-pointer">
                                    <div class="font-medium">E Ipo</div>
                                    <div class="text-sm text-gray-500">Contemporary waiata</div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- Genres Tab -->
                    <div id="genres" class="tab-content">
                        <h2 class="text-xl font-bold text-gray-800 mb-6">Maori Music Genres</h2>
                        
                        <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                            <div class="bg-indigo-50 p-6 rounded-lg border border-indigo-100">
                                <div class="flex items-center mb-4">
                                    <div class="bg-indigo-100 p-3 rounded-full mr-4">
                                        <i class="fas fa-drum text-indigo-600 text-xl"></i>
                                    </div>
                                    <h3 class="font-bold text-lg">Traditional Waiata</h3>
                                </div>
                                <p class="text-gray-600 mb-4">Ancient songs passed down through generations, often telling stories of ancestors and history.</p>
                                <button class="text-indigo-600 hover:text-indigo-800 font-medium">Explore Songs →</button>
                            </div>
                            
                            <div class="bg-yellow-50 p-6 rounded-lg border border-yellow-100">
                                <div class="flex items-center mb-4">
                                    <div class="bg-yellow-100 p-3 rounded-full mr-4">
                                        <i class="fas fa-guitar text-yellow-600 text-xl"></i>
                                    </div>
                                    <h3 class="font-bold text-lg">Waiata-ā-Ringa</h3>
                                </div>
                                <p class="text-gray-600 mb-4">Action songs combining singing with synchronized hand movements, popular in kapa haka.</p>
                                <button class="text-yellow-600 hover:text-yellow-800 font-medium">Explore Songs →</button>
                            </div>
                            
                            <div class="bg-green-50 p-6 rounded-lg border border-green-100">
                                <div class="flex items-center mb-4">
                                    <div class="bg-green-100 p-3 rounded-full mr-4">
                                        <i class="fas fa-headphones text-green-600 text-xl"></i>
                                    </div>
                                    <h3 class="font-bold text-lg">Contemporary Maori</h3>
                                </div>
                                <p class="text-gray-600 mb-4">Modern music blending traditional Maori elements with pop, rock, hip-hop and other genres.</p>
                                <button class="text-green-600 hover:text-green-800 font-medium">Explore Songs →</button>
                            </div>
                            
                            <div class="bg-purple-50 p-6 rounded-lg border border-purple-100">
                                <div class="flex items-center mb-4">
                                    <div class="bg-purple-100 p-3 rounded-full mr-4">
                                        <i class="fas fa-pray text-purple-600 text-xl"></i>
                                    </div>
                                    <h3 class="font-bold text-lg">Karakia</h3>
                                </div>
                                <p class="text-gray-600 mb-4">Chants and incantations used for spiritual purposes, blessings and ceremonies.</p>
                                <button class="text-purple-600 hover:text-purple-800 font-medium">Explore Songs →</button>
                            </div>
                            
                            <div class="bg-red-50 p-6 rounded-lg border border-red-100">
                                <div class="flex items-center mb-4">
                                    <div class="bg-red-100 p-3 rounded-full mr-4">
                                        <i class="fas fa-users text-red-600 text-xl"></i>
                                    </div>
                                    <h3 class="font-bold text-lg">Haka</h3>
                                </div>
                                <p class="text-gray-600 mb-4">Vibrant traditional war dances with powerful chanting and vigorous movements.</p>
                                <button class="text-red-600 hover:text-red-800 font-medium">Explore Songs →</button>
                            </div>
                            
                            <div class="bg-blue-50 p-6 rounded-lg border border-blue-100">
                                <div class="flex items-center mb-4">
                                    <div class="bg-blue-100 p-3 rounded-full mr-4">
                                        <i class="fas fa-child text-blue-600 text-xl"></i>
                                    </div>
                                    <h3 class="font-bold text-lg">Oriori</h3>
                                </div>
                                <p class="text-gray-600 mb-4">Lullabies and children's songs often containing genealogical information and tribal history.</p>
                                <button class="text-blue-600 hover:text-blue-800 font-medium">Explore Songs →</button>
                            </div>
                        </div>
                    </div>

                    <!-- Ideas Tab -->
                    <div id="ideas" class="tab-content">
                        <h2 class="text-xl font-bold text-gray-800 mb-6">Song Ideas & Inspiration</h2>
                        
                        <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
                            <div class="bg-white border border-gray-200 rounded-lg p-6 shadow-sm">
                                <h3 class="font-bold text-lg mb-4">New Idea</h3>
                                <textarea class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 h-32" placeholder="Write your song idea here..."></textarea>
                                <div class="mt-4 flex justify-between">
                                    <div>
                                        <label class="inline-flex items-center">
                                            <input type="checkbox" class="rounded text-indigo-600">
                                            <span class="ml-2">Melody</span>
                                        </label>
                                        <label class="inline-flex items-center ml-4">
                                            <input type="checkbox" class="rounded text-indigo-600">
                                            <span class="ml-2">Lyrics</span>
                                        </label>
                                    </div>
                                    <button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg">
                                        Save Idea
                                    </button>
                                </div>
                            </div>
                            
                            <div class="bg-white border border-gray-200 rounded-lg p-6 shadow-sm">
                                <h3 class="font-bold text-lg mb-4">Inspiration Generator</h3>
                                <div class="mb-4">
                                    <label class="block text-gray-700 mb-2">Theme</label>
                                    <select class="w-full px-4 py-2 border border-gray-300 rounded-lg">
                                        <option>Love</option>
                                        <option>Nature</option>
                                        <option>Ancestors</option>
                                        <option>War</option>
                                        <option>Peace</option>
                                        <option>Journey</option>
                                    </select>
                                </div>
                                <div class="mb-4">
                                    <label class="block text-gray-700 mb-2">Mood</label>
                                    <select class="w-full px-4 py-2 border border-gray-300 rounded-lg">
                                        <option>Happy</option>
                                        <option>Sad</option>
                                        <option>Powerful</option>
                                        <option>Calm</option>
                                        <option>Mysterious</option>
                                    </select>
                                </div>
                                <button class="w-full bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg">
                                    Generate Inspiration
                                </button>
                            </div>
                        </div>
                        
                        <h3 class="font-bold text-lg mb-4">Your Idea Bank</h3>
                        <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                            <div class="bg-indigo-50 p-4 rounded-lg border border-indigo-100">
                                <div class="flex justify-between items-start mb-2">
                                    <h4 class="font-medium">Ocean Journey</h4>
                                    <div class="flex space-x-2">
                                        <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-edit"></i></button>
                                        <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-trash"></i></button>
                                    </div>
                                </div>
                                <p class="text-sm text-gray-600 mb-2">A song about the great migration across the Pacific...</p>
                                <div class="flex justify-between text-xs text-gray-500">
                                    <span>Last edited: 2 days ago</span>
                                    <span><i class="fas fa-music mr-1"></i>Melody</span>
                                </div>
                            </div>
                            
                            <div class="bg-yellow-50 p-4 rounded-lg border border-yellow-100">
                                <div class="flex justify-between items-start mb-2">
                                    <h4 class="font-medium">Mountain's Call</h4>
                                    <div class="flex space-x-2">
                                        <button class="text-yellow-600 hover:text-yellow-800"><i class="fas fa-edit"></i></button>
                                        <button class="text-yellow-600 hover:text-yellow-800"><i class="fas fa-trash"></i></button>
                                    </div>
                                </div>
                                <p class="text-sm text-gray-600 mb-2">The sacred mountains speaking to the people...</p>
                                <div class="flex justify-between text-xs text-gray-500">
                                    <span>Last edited: 1 week ago</span>
                                    <span><i class="fas fa-pen mr-1"></i>Lyrics</span>
                                </div>
                            </div>
                            
                            <div class="bg-green-50 p-4 rounded-lg border border-green-100">
                                <div class="flex justify-between items-start mb-2">
                                    <h4 class="font-medium">Dawn Chant</h4>
                                    <div class="flex space-x-2">
                                        <button class="text-green-600 hover:text-green-800"><i class="fas fa-edit"></i></button>
                                        <button class="text-green-600 hover:text-green-800"><i class="fas fa-trash"></i></button>
                                    </div>
                                </div>
                                <p class="text-sm text-gray-600 mb-2">Welcoming the new day with traditional chants...</p>
                                <div class="flex justify-between text-xs text-gray-500">
                                    <span>Last edited: 3 days ago</span>
                                    <span><i class="fas fa-music mr-1"></i><i class="fas fa-pen mr-1"></i>Both</span>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- Translations Tab -->
                    <div id="translate" class="tab-content">
                        <h2 class="text-xl font-bold text-gray-800 mb-6">Te Reo Maori Translations</h2>
                        
                        <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
                            <div class="bg-white border border-gray-200 rounded-lg p-6 shadow-sm">
                                <h3 class="font-bold text-lg mb-4">English to Te Reo</h3>
                                <textarea class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 h-32" placeholder="Enter English text to translate"></textarea>
                                <button class="mt-4 bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg w-full">
                                    Translate to Te Reo
                                </button>
                            </div>
                            
                            <div class="bg-white border border-gray-200 rounded-lg p-6 shadow-sm">
                                <h3 class="font-bold text-lg mb-4">Te Reo to English</h3>
                                <textarea class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 h-32" placeholder="Enter Te Reo text to translate"></textarea>
                                <button class="mt-4 bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg w-full">
                                    Translate to English
                                </button>
                            </div>
                        </div>
                        
                        <div class="bg-indigo-50 p-6 rounded-lg">
                            <h3 class="font-bold text-lg mb-4">Translation History</h3>
                            <div class="space-y-4">
                                <div class="bg-white p-4 rounded-lg shadow-sm">
                                    <div class="flex justify-between items-start mb-2">
                                        <div>
                                            <div class="font-medium">Original: "The river flows swiftly"</div>
                                            <div class="text-sm text-indigo-600">Translated: "Kei te rere tino tere te awa"</div>
                                        </div>
                                        <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-copy"></i></button>
                                    </div>
                                    <div class="text-xs text-gray-500">Translated 3 hours ago</div>
                                </div>
                                
                                <div class="bg-white p-4 rounded-lg shadow-sm">
                                    <div class="flex justify-between items-start mb-2">
                                        <div>
                                            <div class="font-medium">Original: "Kei te aroha au ki a koe"</div>
                                            <div class="text-sm text-indigo-600">Translated: "I love you"</div>
                                        </div>
                                        <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-copy"></i></button>
                                    </div>
                                    <div class="text-xs text-gray-500">Translated 1 day ago</div>
                                </div>
                                
                                <div class="bg-white p-4 rounded-lg shadow-sm">
                                    <div class="flex justify-between items-start mb-2">
                                        <div>
                                            <div class="font-medium">Original: "The stars shine brightly tonight"</div>
                                            <div class="text-sm text-indigo-600">Translated: "Kei te tino whiti te whetū i tēnei pō"</div>
                                        </div>
                                        <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-copy"></i></button>
                                    </div>
                                    <div class="text-xs text-gray-500">Translated 2 days ago</div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- Audio Tab -->
                    <div id="audio" class="tab-content">
                        <h2 class="text-xl font-bold text-gray-800 mb-6">Audio Management</h2>
                        
                        <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
                            <div class="bg-white border border-gray-200 rounded-lg p-6 shadow-sm">
                                <h3 class="font-bold text-lg mb-4">Upload Audio</h3>
                                <div class="border-2 border-dashed border-gray-300 rounded-lg p-8 text-center">
                                    <i class="fas fa-cloud-upload-alt text-4xl text-gray-400 mb-4"></i>
                                    <p class="text-gray-600 mb-4">Drag & drop your audio files here or click to browse</p>
                                    <button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg">
                                        Select Files
                                    </button>
                                </div>
                                <div class="mt-4">
                                    <label class="block text-gray-700 mb-2">File Name</label>
                                    <input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg" placeholder="Enter a name for your audio file">
                                </div>
                                <div class="mt-4">
                                    <label class="block text-gray-700 mb-2">Description</label>
                                    <textarea class="w-full px-4 py-2 border border-gray-300 rounded-lg h-20" placeholder="Add a description"></textarea>
                                </div>
                                <button class="mt-4 w-full bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg">
                                    Upload Audio
                                </button>
                            </div>
                            
                            <div class="bg-white border border-gray-200 rounded-lg p-6 shadow-sm">
                                <h3 class="font-bold text-lg mb-4">Record Audio</h3>
                                <div class="bg-gray-100 rounded-lg p-6 text-center mb-4">
                                    <div class="audio-wave mb-4">
                                        <div class="wave-bar"></div>
                                        <div class="wave-bar"></div>
                                        <div class="wave-bar"></div>
                                        <div class="wave-bar"></div>
                                        <div class="wave-bar"></div>
                                    </div>
                                    <div class="flex justify-center space-x-4">
                                        <button class="bg-red-500 hover:bg-red-600 text-white p-3 rounded-full">
                                            <i class="fas fa-microphone"></i>
                                        </button>
                                        <button class="bg-gray-300 hover:bg-gray-400 text-gray-800 p-3 rounded-full" disabled>
                                            <i class="fas fa-stop"></i>
                                        </button>
                                        <button class="bg-gray-300 hover:bg-gray-400 text-gray-800 p-3 rounded-full" disabled>
                                            <i class="fas fa-play"></i>
                                        </button>
                                    </div>
                                </div>
                                <div class="mb-4">
                                    <label class="block text-gray-700 mb-2">Recording Name</label>
                                    <input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg" placeholder="Enter a name for your recording">
                                </div>
                                <div class="mb-4">
                                    <label class="block text-gray-700 mb-2">Description</label>
                                    <textarea class="w-full px-4 py-2 border border-gray-300 rounded-lg h-20" placeholder="Add a description"></textarea>
                                </div>
                                <button class="w-full bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg">
                                    Save Recording
                                </button>
                            </div>
                        </div>
                        
                        <h3 class="font-bold text-lg mb-4">Your Audio Files</h3>
                        <div class="overflow-x-auto">
                            <table class="min-w-full bg-white rounded-lg overflow-hidden">
                                <thead class="bg-gray-100">
                                    <tr>
                                        <th class="py-3 px-4 text-left">Name</th>
                                        <th class="py-3 px-4 text-left">Type</th>
                                        <th class="py-3 px-4 text-left">Date</th>
                                        <th class="py-3 px-4 text-left">Size</th>
                                        <th class="py-3 px-4 text-left">Actions</th>
                                    </tr>
                                </thead>
                                <tbody class="divide-y divide-gray-200">
                                    <tr>
                                        <td class="py-3 px-4">
                                            <div class="flex items-center">
                                                <i class="fas fa-music text-indigo-600 mr-3"></i>
                                                <span>Waiata Traditional</span>
                                            </div>
                                        </td>
                                        <td class="py-3 px-4">MP3</td>
                                        <td class="py-3 px-4">2023-05-15</td>
                                        <td class="py-3 px-4">3.2 MB</td>
                                        <td class="py-3 px-4">
                                            <div class="flex space-x-2">
                                                <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-play"></i></button>
                                                <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-download"></i></button>
                                                <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-share-alt"></i></button>
                                                <button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="py-3 px-4">
                                            <div class="flex items-center">
                                                <i class="fas fa-microphone text-indigo-600 mr-3"></i>
                                                <span>Haka Practice</span>
                                            </div>
                                        </td>
                                        <td class="py-3 px-4">WAV</td>
                                        <td class="py-3 px-4">2023-05-10</td>
                                        <td class="py-3 px-4">12.5 MB</td>
                                        <td class="py-3 px-4">
                                            <div class="flex space-x-2">
                                                <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-play"></i></button>
                                                <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-download"></i></button>
                                                <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-share-alt"></i></button>
                                                <button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="py-3 px-4">
                                            <div class="flex items-center">
                                                <i class="fas fa-music text-indigo-600 mr-3"></i>
                                                <span>Karakia Morning</span>
                                            </div>
                                        </td>
                                        <td class="py-3 px-4">MP3</td>
                                        <td class="py-3 px-4">2023-05-05</td>
                                        <td class="py-3 px-4">2.8 MB</td>
                                        <td class="py-3 px-4">
                                            <div class="flex space-x-2">
                                                <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-play"></i></button>
                                                <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-download"></i></button>
                                                <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-share-alt"></i></button>
                                                <button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>

                    <!-- AI Assistant Tab -->
                    <div id="ai" class="tab-content">
                        <h2 class="text-xl font-bold text-gray-800 mb-6">AI Songwriting Assistant</h2>
                        
                        <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
                            <div class="md:col-span-2 bg-white border border-gray-200 rounded-lg p-6 shadow-sm">
                                <h3 class="font-bold text-lg mb-4">AI Prompt</h3>
                                <textarea class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 h-40" placeholder="Ask the AI to help with your song... (e.g. 'Write a Maori love song about the ocean', 'Suggest rhymes for 'aroha'', 'Help translate this verse to Te Reo')"></textarea>
                                <div class="mt-4 flex justify-between">
                                    <div class="flex space-x-2">
                                        <button class="bg-gray-200 hover:bg-gray-300 text-gray-800 px-3 py-1 rounded-lg text-sm">
                                            <i class="fas fa-lightbulb mr-1"></i> Ideas
                                        </button>
                                        <button class="bg-gray-200 hover:bg-gray-300 text-gray-800 px-3 py-1 rounded-lg text-sm">
                                            <i class="fas fa-language mr-1"></i> Translate
                                        </button>
                                        <button class="bg-gray-200 hover:bg-gray-300 text-gray-800 px-3 py-1 rounded-lg text-sm">
                                            <i class="fas fa-rhombus mr-1"></i> Rhyme
                                        </button>
                                    </div>
                                    <button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg">
                                        Generate
                                    </button>
                                </div>
                            </div>
                            
                            <div class="bg-white border border-gray-200 rounded-lg p-6 shadow-sm">
                                <h3 class="font-bold text-lg mb-4">AI Settings</h3>
                                <div class="mb-4">
                                    <label class="block text-gray-700 mb-2">Creativity Level</label>
                                    <input type="range" class="w-full" min="0" max="100" value="70">
                                    <div class="flex justify-between text-xs text-gray-500 mt-1">
                                        <span>Precise</span>
                                        <span>Balanced</span>
                                        <span>Creative</span>
                                    </div>
                                </div>
                                <div class="mb-4">
                                    <label class="block text-gray-700 mb-2">Language Focus</label>
                                    <select class="w-full px-4 py-2 border border-gray-300 rounded-lg">
                                        <option>Te Reo Maori</option>
                                        <option>English</option>
                                        <option>Bilingual</option>
                                    </select>
                                </div>
                                <div class="mb-4">
                                    <label class="block text-gray-700 mb-2">Song Type</label>
                                    <select class="w-full px-4 py-2 border border-gray-300 rounded-lg">
                                        <option>Waiata (Song)</option>
                                        <option>Haka</option>
                                        <option>Karakia (Chant)</option>
                                        <option>Oriori (Lullaby)</option>
                                        <option>Contemporary</option>
                                    </select>
                                </div>
                                <button class="w-full bg-gray-200 hover:bg-gray-300 text-gray-800 px-4 py-2 rounded-lg">
                                    Save Settings
                                </button>
                            </div>
                        </div>
                        
                        <div class="bg-indigo-50 rounded-lg p-6 mb-8">
                            <h3 class="font-bold text-lg mb-4">AI Response</h3>
                            <div class="bg-white p-4 rounded-lg shadow-sm mb-4">
                                <div class="flex justify-between items-start mb-2">
                                    <h4 class="font-medium">Maori Love Song About the Ocean</h4>
                                    <div class="flex space-x-2">
                                        <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-copy"></i></button>
                                        <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-save"></i></button>
                                    </div>
                                </div>
                                <div class="text-gray-700 mb-2">
                                    <p class="mb-2"><strong>English:</strong> The ocean waves call to me, carrying your love across the sea...</p>
                                    <p><strong>Te Reo:</strong> Kei te karanga mai ngā ngaru o te moana, e mau ana tō aroha i runga i te moana...</p>
                                </div>
                                <div class="text-xs text-gray-500">Generated 5 minutes ago</div>
                            </div>
                            
                            <div class="bg-white p-4 rounded-lg shadow-sm">
                                <div class="flex justify-between items-start mb-2">
                                    <h4 class="font-medium">Rhymes for "Aroha"</h4>
                                    <div class="flex space-x-2">
                                        <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-copy"></i></button>
                                        <button class="text-indigo-600 hover:text-indigo-800"><i class="fas fa-save"></i></button>
                                    </div>
                                </div>
                                <div class="text-gray-700 mb-2">
                                    <ul class="list-disc pl-5">
                                        <li>Poha (basket)</li>
                                        <li>Koha (gift)</li>
                                        <li>Moha (knowledge)</li>
                                        <li>Roha (spread out)</li>
                                        <li>Toha (distribute)</li>
                                    </ul>
                                </div>
                                <div class="text-xs text-gray-500">Generated 1 day ago</div>
                            </div>
                        </div>
                        
                        <h3 class="font-bold text-lg mb-4">AI Suggestions</h3>
                        <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                            <button class="bg-white border border-gray-200 rounded-lg p-4 text-left hover:bg-indigo-50 hover:border-indigo-200 transition-all">
                                <div class="font-medium mb-2">Write a haka for sports team</div>
                                <div class="text-sm text-gray-600">Generate a powerful haka with traditional elements</div>
                            </button>
                            <button class="bg-white border border-gray-200 rounded-lg p-4 text-left hover:bg-indigo-50 hover:border-indigo-200 transition-all">
                                <div class="font-medium mb-2">Translate common phrases</div>
                                <div class="text-sm text-gray-600">Get Te Reo translations for songwriting phrases</div>
                            </button>
                            <button class="bg-white border border-gray-200 rounded-lg p-4 text-left hover:bg-indigo-50 hover:border-indigo-200 transition-all">
                                <div class="font-medium mb-2">Suggest song structure</div>
                                <div class="text-sm text-gray-600">Get help organizing verses, chorus, bridge</div>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </main>

        <!-- Footer -->
        <footer class="bg-gray-800 text-white py-6 maori-pattern">
            <div class="container mx-auto px-4">
                <div class="flex flex-col md:flex-row justify-between items-center">
                    <div class="mb-4 md:mb-0">
                        <h2 class="text-xl font-bold">Maori Music Dashboard</h2>
                        <p class="text-gray-400">Preserving and creating taonga puoro</p>
                    </div>
                    <div class="flex space-x-6">
                        <a href="#" class="hover:text-indigo-300"><i class="fab fa-facebook-f"></i></a>
                        <a href="#" class="hover:text-indigo-300"><i class="fab fa-twitter"></i></a>
                        <a href="#" class="hover:text-indigo-300"><i class="fab fa-instagram"></i></a>
                        <a href="#" class="hover:text-indigo-300"><i class="fab fa-youtube"></i></a>
                    </div>
                </div>
                <div class="mt-6 pt-6 border-t border-gray-700 text-center text-gray-400 text-sm">
                    <p>© 2023 Maori Music Dashboard. All rights reserved.</p>
                </div>
            </div>
        </footer>
    </div>

    <script>
        // Tab functionality
        document.addEventListener('DOMContentLoaded', function() {
            const tabButtons = document.querySelectorAll('.tab-btn');
            
            tabButtons.forEach(button => {
                button.addEventListener('click', function() {
                    // Remove active class from all buttons and contents
                    document.querySelectorAll('.tab-btn').forEach(btn => {
                        btn.classList.remove('active');
                        btn.classList.remove('border-indigo-600');
                        btn.classList.remove('text-indigo-600');
                    });
                    
                    document.querySelectorAll('.tab-content').forEach(content => {
                        content.classList.remove('active');
                    });
                    
                    // Add active class to clicked button
                    this.classList.add('active');
                    this.classList.add('border-indigo-600');
                    this.classList.add('text-indigo-600');
                    
                    // Show corresponding content
                    const tabId = this.getAttribute('data-tab');
                    document.getElementById(tabId).classList.add('active');
                });
            });
            
            // Simulate audio wave animation
            const waveBars = document.querySelectorAll('.wave-bar');
            setInterval(() => {
                waveBars.forEach(bar => {
                    const randomHeight = Math.random() * 30 + 10;
                    bar.style.height = `${randomHeight}px`;
                });
            }, 300);
            
            // Demo functionality for AI generate button
            const aiGenerateBtn = document.querySelector('#ai button.bg-indigo-600');
            if (aiGenerateBtn) {
                aiGenerateBtn.addEventListener('click', function(e) {
                    e.preventDefault();
                    alert('AI generation functionality would be implemented here with a proper backend service.');
                });
            }
        });
    </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=XXXMARK/madash" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>