|
<!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 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 class="flex-grow container mx-auto px-4 py-6"> |
|
<div class="bg-white rounded-xl shadow-lg overflow-hidden"> |
|
|
|
<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> |
|
|
|
|
|
<div class="p-6"> |
|
|
|
<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> |
|
|
|
|
|
<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> |
|
|
|
|
|
<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> |
|
|
|
|
|
<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> |
|
|
|
|
|
<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> |
|
|
|
|
|
<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 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> |
|
|
|
document.addEventListener('DOMContentLoaded', function() { |
|
const tabButtons = document.querySelectorAll('.tab-btn'); |
|
|
|
tabButtons.forEach(button => { |
|
button.addEventListener('click', function() { |
|
|
|
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'); |
|
}); |
|
|
|
|
|
this.classList.add('active'); |
|
this.classList.add('border-indigo-600'); |
|
this.classList.add('text-indigo-600'); |
|
|
|
|
|
const tabId = this.getAttribute('data-tab'); |
|
document.getElementById(tabId).classList.add('active'); |
|
}); |
|
}); |
|
|
|
|
|
const waveBars = document.querySelectorAll('.wave-bar'); |
|
setInterval(() => { |
|
waveBars.forEach(bar => { |
|
const randomHeight = Math.random() * 30 + 10; |
|
bar.style.height = `${randomHeight}px`; |
|
}); |
|
}, 300); |
|
|
|
|
|
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> |