Add 2 files
Browse filesFiles changed (2)
- index.html+786-156
- prompts.txt+2-1
2 unmodified lines345678947 unmodified lines5758596061626364656667689 unmodified lines787980818283848586878844 unmodified lines13313413513613713813918 unmodified lines15815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436515 unmodified lines38138238338438538638711 unmodified lines3994004014024034044054064074084094104114124134144154164172 unmodified lines<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>AI Classroom 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"><link href="https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Inter:wght@400;500&display=swap" rel="stylesheet">47 unmodified linesto { opacity: 1; }}.heatmap-day {transition: all 0.2s ease;}.heatmap-day:hover {transform: scale(1.1);}</style></head>9 unmodified lines<div class="flex-1 overflow-y-auto"><nav class="px-4 py-6"><div class="space-y-1"><a href="#" class="flex items-center px-3 py-2 text-sm font-medium rounded-md bg-blue-50 text-blue-700"><i class="fas fa-home mr-3 text-blue-500"></i>Dashboard</a><a href="#" class="flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-700 hover:bg-gray-100"><i class="fas fa-file-alt mr-3 text-purple-500"></i>Notes & AI Videos</a>44 unmodified lines<button class="mr-4 text-gray-500 focus:outline-none lg:hidden"><i class="fas fa-bars"></i></button><h1 class="text-xl font-bold">Dashboard</h1></div><div class="flex items-center space-x-4"><button class="p-2 text-gray-500 rounded-full hover:bg-gray-100">18 unmodified lines<!-- Main Content --><main class="flex-1 overflow-y-auto p-6 bg-gray-50"><!-- Welcome Section --><div class="mb-8"><h2 class="text-2xl font-bold mb-2">Welcome back, Sarah!</h2><p class="text-gray-600">Here's what's happening with your learning today.</p></div><!-- Quick Stats --><div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8"><div class="card bg-white rounded-xl shadow-sm p-6"><div class="flex items-center justify-between"><div><p class="text-sm font-medium text-gray-500">Today's Study Goals</p><p class="text-2xl font-bold mt-1">3/5</p></div><div class="relative w-16 h-16"><svg class="w-full h-full" viewBox="0 0 36 36"><circle cx="18" cy="18" r="16" fill="none" stroke="#E5E7EB" stroke-width="2"></circle><circle cx="18" cy="18" r="16" fill="none" stroke="#4F46E5" stroke-width="2" stroke-dasharray="100" stroke-dashoffset="40" class="progress-ring__circle"></circle></svg><div class="absolute inset-0 flex items-center justify-center"><span class="text-sm font-bold">60%</span></div></div></div></div><div class="card bg-white rounded-xl shadow-sm p-6"><div class="flex items-center justify-between"><div><p class="text-sm font-medium text-gray-500">Assigned Tests</p><p class="text-2xl font-bold mt-1">2</p></div><div class="p-3 rounded-full bg-purple-100 text-purple-600"><i class="fas fa-clipboard-list text-xl"></i></div></div></div><div class="card bg-white rounded-xl shadow-sm p-6"><div class="flex items-center justify-between"><div><p class="text-sm font-medium text-gray-500">Notes to Review</p><p class="text-2xl font-bold mt-1">7</p></div><div class="p-3 rounded-full bg-blue-100 text-blue-600"><i class="fas fa-file-alt text-xl"></i></div></div></div></div><!-- Quick Access Widgets --><div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8"><!-- Recently Viewed Notes --><div class="card bg-white rounded-xl shadow-sm p-6 lg:col-span-1"><h3 class="text-lg font-bold mb-4">Recently Viewed Notes</h3><div class="space-y-4"><div class="flex items-start"><div class="flex-shrink-0 h-10 w-10 rounded-md bg-indigo-100 flex items-center justify-center text-indigo-600"><i class="fas fa-file-pdf"></i></div><div class="ml-3"><p class="text-sm font-medium">Physics - Quantum Mechanics</p><p class="text-xs text-gray-500">Viewed 2 hours ago</p></div></div><div class="flex items-start"><div class="flex-shrink-0 h-10 w-10 rounded-md bg-blue-100 flex items-center justify-center text-blue-600"><i class="fas fa-file-alt"></i></div><div class="ml-3"><p class="text-sm font-medium">Math - Linear Algebra</p><p class="text-xs text-gray-500">Viewed yesterday</p></div></div><div class="flex items-start"><div class="flex-shrink-0 h-10 w-10 rounded-md bg-purple-100 flex items-center justify-center text-purple-600"><i class="fas fa-file-word"></i></div><div class="ml-3"><p class="text-sm font-medium">Chemistry - Organic Reactions</p><p class="text-xs text-gray-500">Viewed 2 days ago</p></div></div></div><button class="mt-4 text-sm font-medium text-blue-600 hover:text-blue-800">View all notes</button></div><!-- Upcoming Exams --><div class="card bg-white rounded-xl shadow-sm p-6 lg:col-span-1"><h3 class="text-lg font-bold mb-4">Upcoming Exams</h3><div class="space-y-4"><div class="flex items-start"><div class="flex-shrink-0 h-10 w-10 rounded-md bg-red-100 flex items-center justify-center text-red-600"><i class="fas fa-flask"></i></div><div class="ml-3"><p class="text-sm font-medium">Chemistry Midterm</p><p class="text-xs text-gray-500">Due in 3 days</p></div></div><div class="flex items-start"><div class="flex-shrink-0 h-10 w-10 rounded-md bg-green-100 flex items-center justify-center text-green-600"><i class="fas fa-square-root-alt"></i></div><div class="ml-3"><p class="text-sm font-medium">Math Quiz</p><p class="text-xs text-gray-500">Due in 5 days</p></div></div></div><button class="mt-4 text-sm font-medium text-blue-600 hover:text-blue-800">View all exams</button></div><!-- Study Schedule --><div class="card bg-white rounded-xl shadow-sm p-6 lg:col-span-1"><h3 class="text-lg font-bold mb-4">Today's Study Plan</h3><div class="space-y-3"><div class="flex items-center"><div class="flex-shrink-0 h-8 w-8 rounded-full bg-blue-100 flex items-center justify-center text-blue-600"><i class="fas fa-check text-xs"></i></div><div class="ml-3"><p class="text-sm">Physics - 30 mins</p></div></div><div class="flex items-center"><div class="flex-shrink-0 h-8 w-8 rounded-full bg-blue-100 flex items-center justify-center text-blue-600"><i class="fas fa-check text-xs"></i></div><div class="ml-3"><p class="text-sm">Math - 45 mins</p></div></div><div class="flex items-center"><div class="flex-shrink-0 h-8 w-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-400"><i class="fas fa-clock text-xs"></i></div><div class="ml-3"><p class="text-sm">Chemistry - 1 hour</p></div></div><div class="flex items-center"><div class="flex-shrink-0 h-8 w-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-400"><i class="fas fa-clock text-xs"></i></div><div class="ml-3"><p class="text-sm">Literature - 30 mins</p></div></div></div><button class="mt-4 text-sm font-medium text-blue-600 hover:text-blue-800">View full schedule</button></div></div><!-- AI Tip of the Day --><div class="card bg-gradient-to-r from-blue-50 to-purple-50 rounded-xl shadow-sm p-6 mb-8"><div class="flex items-start"><div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center text-blue-600"><i class="fas fa-lightbulb"></i></div><div class="ml-4"><h3 class="text-lg font-bold mb-2">AI Tip of the Day</h3><p class="text-gray-700">"Spaced repetition is key to long-term retention. Review material at increasing intervals to strengthen memory pathways. Our AI can automatically schedule your reviews for optimal learning!"</p></div></div></div><!-- Recent Activity --><div class="card bg-white rounded-xl shadow-sm p-6"><div class="flex items-center justify-between mb-6"><h2 class="text-xl font-bold">Recent Activity</h2><button class="text-sm font-medium text-blue-600 hover:text-blue-800">View all</button></div><div class="space-y-4"><div class="flex items-start"><div class="flex-shrink-0 h-10 w-10 rounded-full bg-green-100 flex items-center justify-center text-green-600"><i class="fas fa-check"></i></div><div class="ml-4"><p class="text-sm font-medium">Completed Math practice test</p><p class="text-xs text-gray-500">Score: 85% • 2 hours ago</p></div></div><div class="flex items-start"><div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center text-blue-600"><i class="fas fa-video"></i></div><div class="ml-4"><p class="text-sm font-medium">Generated AI video from Physics notes</p><p class="text-xs text-gray-500">Yesterday at 4:23 PM</p></div></div><div class="flex items-start"><div class="flex-shrink-0 h-10 w-10 rounded-full bg-purple-100 flex items-center justify-center text-purple-600"><i class="fas fa-calendar-plus"></i></div><div class="ml-4"><p class="text-sm font-medium">Added new study session to planner</p><p class="text-xs text-gray-500">Yesterday at 10:15 AM</p></div></div></div></div></main>15 unmodified lines}});// Tab functionality (for pages with tabs)function openTab(evt, tabName) {const tabContents = document.getElementsByClassName("tab-content");for (let i = 0; i < tabContents.length; i++) {11 unmodified linesevt.currentTarget.classList.add("bg-blue-100", "text-blue-700");}// Simulate progress animationdocument.addEventListener('DOMContentLoaded', () => {const progressCircles = document.querySelectorAll('.progress-ring__circle');progressCircles.forEach(circle => {const radius = circle.r.baseVal.value;const circumference = 2 * Math.PI * radius;circle.style.strokeDasharray = `${circumference} ${circumference}`;// Set progress based on data attribute or default to 60%const progress = circle.dataset.progress || 60;const offset = circumference - (progress / 100) * circumference;circle.style.strokeDashoffset = offset;});});// Mobile sidebar toggle2 unmodified lines345678947 unmodified lines575859606162636465666768697071727374759 unmodified lines858687888990919293949544 unmodified lines14014114214314414514618 unmodified lines16516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195215 unmodified lines96896997097197297397411 unmodified lines9869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610472 unmodified lines<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Notes & AI Videos | AI Classroom</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"><link href="https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Inter:wght@400;500&display=swap" rel="stylesheet">47 unmodified linesto { opacity: 1; }}.upload-area {border: 2px dashed #CBD5E0;transition: all 0.2s ease;}.upload-area:hover {border-color: #A6C8FF;background-color: #F0F7FF;}.upload-area.dragover {border-color: #4F46E5;background-color: #E0E7FF;}</style></head>9 unmodified lines<div class="flex-1 overflow-y-auto"><nav class="px-4 py-6"><div class="space-y-1"><a href="#" class="flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-700 hover:bg-gray-100"><i class="fas fa-home mr-3 text-blue-500"></i>Dashboard</a><a href="#" class="flex items-center px-3 py-2 text-sm font-medium rounded-md bg-blue-50 text-blue-700"><i class="fas fa-file-alt mr-3 text-purple-500"></i>Notes & AI Videos</a>44 unmodified lines<button class="mr-4 text-gray-500 focus:outline-none lg:hidden"><i class="fas fa-bars"></i></button><h1 class="text-xl font-bold">Notes & AI Videos</h1></div><div class="flex items-center space-x-4"><button class="p-2 text-gray-500 rounded-full hover:bg-gray-100">18 unmodified lines<!-- Main Content --><main class="flex-1 overflow-y-auto p-6 bg-gray-50"><!-- Tabs Navigation --><div class="flex border-b border-gray-200 mb-6"><button onclick="openTab(event, 'text-to-video')" class="tab-button px-4 py-2 text-sm font-medium rounded-t-lg bg-blue-100 text-blue-700">Text to Video</button><button onclick="openTab(event, 'pdf-to-video')" class="tab-button px-4 py-2 text-sm font-medium rounded-t-lg text-gray-700 hover:bg-gray-100">PDF to Video</button><button onclick="openTab(event, 'my-notes')" class="tab-button px-4 py-2 text-sm font-medium rounded-t-lg text-gray-700 hover:bg-gray-100">My Notes</button><button onclick="openTab(event, 'video-library')" class="tab-button px-4 py-2 text-sm font-medium rounded-t-lg text-gray-700 hover:bg-gray-100">Video Library</button></div><!-- Text to Video Tab --><div id="text-to-video" class="tab-content active"><div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8"><!-- Input Section --><div class="card bg-white rounded-xl shadow-sm p-6"><h2 class="text-xl font-bold mb-4">Create AI Video from Text</h2><div class="mb-4"><label for="subject" class="block text-sm font-medium text-gray-700 mb-1">Subject</label><select id="subject" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500"><option>Physics</option><option>Mathematics</option><option>Chemistry</option><option>Biology</option><option>History</option><option>Literature</option></select></div><div class="mb-4"><label for="topic" class="block text-sm font-medium text-gray-700 mb-1">Topic</label><input type="text" id="topic" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500" placeholder="E.g. Quantum Mechanics, Calculus, etc."></div><div class="mb-4"><label for="notes-text" class="block text-sm font-medium text-gray-700 mb-1">Your Notes</label><textarea id="notes-text" rows="10" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500" placeholder="Paste or type your notes here..."></textarea></div><div class="flex justify-between items-center"><div><label class="inline-flex items-center"><input type="checkbox" class="rounded border-gray-300 text-blue-600 shadow-sm focus:border-blue-300 focus:ring focus:ring-offset-0 focus:ring-blue-200 focus:ring-opacity-50"><span class="ml-2 text-sm text-gray-600">Include quiz questions</span></label></div><button class="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2">Generate Video</button></div></div><!-- Output Preview Section --><div class="card bg-white rounded-xl shadow-sm p-6"><h2 class="text-xl font-bold mb-4">Video Preview</h2><div class="bg-gray-100 rounded-lg aspect-video flex items-center justify-center mb-4"><div class="text-center"><i class="fas fa-play-circle text-5xl text-gray-400 mb-2"></i><p class="text-gray-600">Your generated video will appear here</p></div></div><div class="mb-4"><label class="block text-sm font-medium text-gray-700 mb-1">Video Summary</label><div class="bg-gray-50 p-4 rounded-md"><p class="text-gray-600 italic">No summary available yet. Generate a video to see the AI-generated summary.</p></div></div><div class="flex space-x-3"><button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 hover:bg-gray-50" disabled><i class="fas fa-download mr-1"></i> Download</button><button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 hover:bg-gray-50" disabled><i class="fas fa-save mr-1"></i> Save to Library</button><button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 hover:bg-gray-50" disabled><i class="fas fa-share-alt mr-1"></i> Share</button></div></div></div><!-- Recent Text-to-Video Conversions --><div class="card bg-white rounded-xl shadow-sm p-6"><div class="flex items-center justify-between mb-4"><h2 class="text-xl font-bold">Recent Text-to-Video Conversions</h2><button class="text-sm font-medium text-blue-600 hover:text-blue-800">View all</button></div><div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"><div class="border rounded-lg overflow-hidden hover:shadow-md transition-shadow"><div class="bg-gray-100 aspect-video flex items-center justify-center"><i class="fas fa-play-circle text-4xl text-gray-400"></i></div><div class="p-3"><h3 class="font-medium">Quantum Mechanics Basics</h3><p class="text-sm text-gray-500">Physics • 2 days ago</p></div></div><div class="border rounded-lg overflow-hidden hover:shadow-md transition-shadow"><div class="bg-gray-100 aspect-video flex items-center justify-center"><i class="fas fa-play-circle text-4xl text-gray-400"></i></div><div class="p-3"><h3 class="font-medium">Linear Algebra Review</h3><p class="text-sm text-gray-500">Mathematics • 1 week ago</p></div></div><div class="border rounded-lg overflow-hidden hover:shadow-md transition-shadow"><div class="bg-gray-100 aspect-video flex items-center justify-center"><i class="fas fa-play-circle text-4xl text-gray-400"></i></div><div class="p-3"><h3 class="font-medium">Organic Chemistry Reactions</h3><p class="text-sm text-gray-500">Chemistry • 2 weeks ago</p></div></div></div></div></div><!-- PDF to Video Tab --><div id="pdf-to-video" class="tab-content"><div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8"><!-- Upload Section --><div class="card bg-white rounded-xl shadow-sm p-6"><h2 class="text-xl font-bold mb-4">Create AI Video from PDF</h2><div class="mb-4"><label for="pdf-subject" class="block text-sm font-medium text-gray-700 mb-1">Subject</label><select id="pdf-subject" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500"><option>Physics</option><option>Mathematics</option><option>Chemistry</option><option>Biology</option><option>History</option><option>Literature</option></select></div><div class="mb-4"><label for="pdf-topic" class="block text-sm font-medium text-gray-700 mb-1">Topic (Optional)</label><input type="text" id="pdf-topic" class="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500" placeholder="Helps with video title and organization"></div><div class="mb-4"><label class="block text-sm font-medium text-gray-700 mb-2">Upload PDF</label><div id="upload-container" class="upload-area border-2 border-dashed rounded-lg p-8 text-center cursor-pointer"><i class="fas fa-file-pdf text-4xl text-gray-400 mb-2"></i><p class="text-gray-600">Drag & drop your PDF here or click to browse</p><p class="text-xs text-gray-500 mt-2">Max file size: 10MB</p><input type="file" id="pdf-upload" class="hidden" accept=".pdf"></div><div id="file-info" class="hidden mt-2 text-sm text-gray-600"><i class="fas fa-check-circle text-green-500 mr-1"></i><span id="file-name">example.pdf</span><button id="remove-file" class="ml-2 text-red-500 hover:text-red-700"><i class="fas fa-times"></i></button></div></div><div class="flex justify-between items-center"><div><label class="inline-flex items-center"><input type="checkbox" class="rounded border-gray-300 text-blue-600 shadow-sm focus:border-blue-300 focus:ring focus:ring-offset-0 focus:ring-blue-200 focus:ring-opacity-50"><span class="ml-2 text-sm text-gray-600">Generate quiz from content</span></label></div><button id="generate-pdf-video" class="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2" disabled>Generate Video</button></div></div><!-- Output Preview Section --><div class="card bg-white rounded-xl shadow-sm p-6"><h2 class="text-xl font-bold mb-4">Video Preview</h2><div class="bg-gray-100 rounded-lg aspect-video flex items-center justify-center mb-4"><div class="text-center"><i class="fas fa-play-circle text-5xl text-gray-400 mb-2"></i><p class="text-gray-600">Your generated video will appear here</p></div></div><div class="mb-4"><label class="block text-sm font-medium text-gray-700 mb-1">Extracted Text Preview</label><div class="bg-gray-50 p-4 rounded-md max-h-40 overflow-y-auto"><p class="text-gray-600 italic">No PDF content extracted yet. Upload a PDF to see the extracted text.</p></div></div><div class="flex space-x-3"><button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 hover:bg-gray-50" disabled><i class="fas fa-download mr-1"></i> Download</button><button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 hover:bg-gray-50" disabled><i class="fas fa-save mr-1"></i> Save to Library</button><button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 hover:bg-gray-50" disabled><i class="fas fa-share-alt mr-1"></i> Share</button></div></div></div><!-- Recent PDF-to-Video Conversions --><div class="card bg-white rounded-xl shadow-sm p-6"><div class="flex items-center justify-between mb-4"><h2 class="text-xl font-bold">Recent PDF-to-Video Conversions</h2><button class="text-sm font-medium text-blue-600 hover:text-blue-800">View all</button></div><div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"><div class="border rounded-lg overflow-hidden hover:shadow-md transition-shadow"><div class="bg-gray-100 aspect-video flex items-center justify-center"><i class="fas fa-play-circle text-4xl text-gray-400"></i></div><div class="p-3"><h3 class="font-medium">Electromagnetism Notes</h3><p class="text-sm text-gray-500">From: physics_notes.pdf</p><p class="text-xs text-gray-400">3 days ago</p></div></div><div class="border rounded-lg overflow-hidden hover:shadow-md transition-shadow"><div class="bg-gray-100 aspect-video flex items-center justify-center"><i class="fas fa-play-circle text-4xl text-gray-400"></i></div><div class="p-3"><h3 class="font-medium">Calculus Derivatives</h3><p class="text-sm text-gray-500">From: math_lecture_3.pdf</p><p class="text-xs text-gray-400">1 week ago</p></div></div><div class="border rounded-lg overflow-hidden hover:shadow-md transition-shadow"><div class="bg-gray-100 aspect-video flex items-center justify-center"><i class="fas fa-play-circle text-4xl text-gray-400"></i></div><div class="p-3"><h3 class="font-medium">World War II Timeline</h3><p class="text-sm text-gray-500">From: history_chapter5.pdf</p><p class="text-xs text-gray-400">2 weeks ago</p></div></div></div></div></div><!-- My Notes Tab --><div id="my-notes" class="tab-content"><div class="flex justify-between items-center mb-6"><h2 class="text-xl font-bold">My Notes</h2><button class="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2"><i class="fas fa-plus mr-2"></i> Create New Note</button></div><!-- Search and Filter --><div class="card bg-white rounded-xl shadow-sm p-4 mb-6"><div class="grid grid-cols-1 md:grid-cols-3 gap-4"><div><label for="search-notes" class="sr-only">Search notes</label><div class="relative"><div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"><i class="fas fa-search text-gray-400"></i></div><input type="text" id="search-notes" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:placeholder-gray-400 focus:ring-1 focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="Search notes..."></div></div><div><label for="filter-subject" class="sr-only">Filter by subject</label><select id="filter-subject" class="block w-full pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md"><option>All Subjects</option><option>Physics</option><option>Mathematics</option><option>Chemistry</option><option>Biology</option><option>History</option><option>Literature</option></select></div><div><label for="sort-notes" class="sr-only">Sort by</label><select id="sort-notes" class="block w-full pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md"><option>Recently Updated</option><option>Alphabetical</option><option>Oldest First</option><option>Most Viewed</option></select></div></div></div><!-- Notes List --><div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"><div class="card bg-white rounded-xl shadow-sm overflow-hidden hover:shadow-md transition-shadow"><div class="p-4 border-b border-gray-200 bg-blue-50"><div class="flex justify-between items-start"><h3 class="font-bold text-lg">Quantum Mechanics</h3><span class="px-2 py-1 text-xs font-semibold bg-blue-100 text-blue-800 rounded-full">Physics</span></div><p class="text-sm text-gray-500 mt-1">Last updated: 2 days ago</p></div><div class="p-4"><p class="text-gray-600 text-sm line-clamp-3">Notes on wave-particle duality, Schrödinger's equation, and the uncertainty principle. Includes examples from recent lectures and textbook readings.</p><div class="mt-4 flex justify-between items-center"><div class="flex space-x-2"><span class="px-2 py-1 text-xs bg-gray-100 text-gray-600 rounded-full"><i class="fas fa-eye mr-1"></i> 12</span><span class="px-2 py-1 text-xs bg-gray-100 text-gray-600 rounded-full"><i class="fas fa-video mr-1"></i> 1</span></div><div class="flex space-x-2"><button class="p-1 text-gray-500 hover:text-blue-600"><i class="fas fa-edit"></i></button><button class="p-1 text-gray-500 hover:text-red-600"><i class="fas fa-trash"></i></button></div></div></div></div><div class="card bg-white rounded-xl shadow-sm overflow-hidden hover:shadow-md transition-shadow"><div class="p-4 border-b border-gray-200 bg-purple-50"><div class="flex justify-between items-start"><h3 class="font-bold text-lg">Linear Algebra</h3><span class="px-2 py-1 text-xs font-semibold bg-purple-100 text-purple-800 rounded-full">Mathematics</span></div><p class="text-sm text-gray-500 mt-1">Last updated: 1 week ago</p></div><div class="p-4"><p class="text-gray-600 text-sm line-clamp-3">Matrix operations, vector spaces, eigenvalues and eigenvectors. Summary of key concepts with practice problems and solutions.</p><div class="mt-4 flex justify-between items-center"><div class="flex space-x-2"><span class="px-2 py-1 text-xs bg-gray-100 text-gray-600 rounded-full"><i class="fas fa-eye mr-1"></i> 8</span><span class="px-2 py-1 text-xs bg-gray-100 text-gray-600 rounded-full"><i class="fas fa-video mr-1"></i> 2</span></div><div class="flex space-x-2"><button class="p-1 text-gray-500 hover:text-blue-600"><i class="fas fa-edit"></i></button><button class="p-1 text-gray-500 hover:text-red-600"><i class="fas fa-trash"></i></button></div></div></div></div><div class="card bg-white rounded-xl shadow-sm overflow-hidden hover:shadow-md transition-shadow"><div class="p-4 border-b border-gray-200 bg-green-50"><div class="flex justify-between items-start"><h3 class="font-bold text-lg">Organic Chemistry</h3><span class="px-2 py-1 text-xs font-semibold bg-green-100 text-green-800 rounded-full">Chemistry</span></div><p class="text-sm text-gray-500 mt-1">Last updated: 2 weeks ago</p></div><div class="p-4"><p class="text-gray-600 text-sm line-clamp-3">Reaction mechanisms, functional groups, and stereochemistry. Includes color-coded diagrams of important reactions.</p><div class="mt-4 flex justify-between items-center"><div class="flex space-x-2"><span class="px-2 py-1 text-xs bg-gray-100 text-gray-600 rounded-full"><i class="fas fa-eye mr-1"></i> 15</span><span class="px-2 py-1 text-xs bg-gray-100 text-gray-600 rounded-full"><i class="fas fa-video mr-1"></i> 1</span></div><div class="flex space-x-2"><button class="p-1 text-gray-500 hover:text-blue-600"><i class="fas fa-edit"></i></button><button class="p-1 text-gray-500 hover:text-red-600"><i class="fas fa-trash"></i></button></div></div></div></div><div class="card bg-white rounded-xl shadow-sm overflow-hidden hover:shadow-md transition-shadow"><div class="p-4 border-b border-gray-200 bg-yellow-50"><div class="flex justify-between items-start"><h3 class="font-bold text-lg">Cell Biology</h3><span class="px-2 py-1 text-xs font-semibold bg-yellow-100 text-yellow-800 rounded-full">Biology</span></div><p class="text-sm text-gray-500 mt-1">Last updated: 3 weeks ago</p></div><div class="p-4"><p class="text-gray-600 text-sm line-clamp-3">Structure and function of organelles, cell division, and cellular transport. Includes comparison tables between plant and animal cells.</p><div class="mt-4 flex justify-between items-center"><div class="flex space-x-2"><span class="px-2 py-1 text-xs bg-gray-100 text-gray-600 rounded-full"><i class="fas fa-eye mr-1"></i> 6</span><span class="px-2 py-1 text-xs bg-gray-100 text-gray-600 rounded-full"><i class="fas fa-video mr-1"></i> 0</span></div><div class="flex space-x-2"><button class="p-1 text-gray-500 hover:text-blue-600"><i class="fas fa-edit"></i></button><button class="p-1 text-gray-500 hover:text-red-600"><i class="fas fa-trash"></i></button></div></div></div></div><div class="card bg-white rounded-xl shadow-sm overflow-hidden hover:shadow-md transition-shadow"><div class="p-4 border-b border-gray-200 bg-red-50"><div class="flex justify-between items-start"><h3 class="font-bold text-lg">French Revolution</h3><span class="px-2 py-1 text-xs font-semibold bg-red-100 text-red-800 rounded-full">History</span></div><p class="text-sm text-gray-500 mt-1">Last updated: 1 month ago</p></div><div class="p-4"><p class="text-gray-600 text-sm line-clamp-3">Causes, key events, and consequences of the French Revolution. Timeline of major events and profiles of important figures.</p><div class="mt-4 flex justify-between items-center"><div class="flex space-x-2"><span class="px-2 py-1 text-xs bg-gray-100 text-gray-600 rounded-full"><i class="fas fa-eye mr-1"></i> 9</span><span class="px-2 py-1 text-xs bg-gray-100 text-gray-600 rounded-full"><i class="fas fa-video mr-1"></i> 1</span></div><div class="flex space-x-2"><button class="p-1 text-gray-500 hover:text-blue-600"><i class="fas fa-edit"></i></button><button class="p-1 text-gray-500 hover:text-red-600"><i class="fas fa-trash"></i></button></div></div></div></div><div class="card bg-white rounded-xl shadow-sm overflow-hidden hover:shadow-md transition-shadow"><div class="p-4 border-b border-gray-200 bg-indigo-50"><div class="flex justify-between items-start"><h3 class="font-bold text-lg">Shakespeare's Sonnets</h3><span class="px-2 py-1 text-xs font-semibold bg-indigo-100 text-indigo-800 rounded-full">Literature</span></div><p class="text-sm text-gray-500 mt-1">Last updated: 1 month ago</p></div><div class="p-4"><p class="text-gray-600 text-sm line-clamp-3">Analysis of themes, structure, and literary devices in selected sonnets. Comparison between the "Fair Youth" and "Dark Lady" sequences.</p><div class="mt-4 flex justify-between items-center"><div class="flex space-x-2"><span class="px-2 py-1 text-xs bg-gray-100 text-gray-600 rounded-full"><i class="fas fa-eye mr-1"></i> 5</span><span class="px-2 py-1 text-xs bg-gray-100 text-gray-600 rounded-full"><i class="fas fa-video mr-1"></i> 0</span></div><div class="flex space-x-2"><button class="p-1 text-gray-500 hover:text-blue-600"><i class="fas fa-edit"></i></button><button class="p-1 text-gray-500 hover:text-red-600"><i class="fas fa-trash"></i></button></div></div></div></div></div><!-- Pagination --><div class="mt-6 flex items-center justify-between"><div class="text-sm text-gray-500">Showing <span class="font-medium">1</span> to <span class="font-medium">6</span> of <span class="font-medium">24</span> notes</div><div class="flex space-x-2"><button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 bg-white hover:bg-gray-50">Previous</button><button class="px-3 py-1 border border-blue-500 rounded-md text-white bg-blue-600 hover:bg-blue-700">1</button><button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 bg-white hover:bg-gray-50">2</button><button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 bg-white hover:bg-gray-50">3</button><button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 bg-white hover:bg-gray-50">Next</button></div></div></div><!-- Video Library Tab --><div id="video-library" class="tab-content"><div class="flex justify-between items-center mb-6"><h2 class="text-xl font-bold">My Video Library</h2><div class="flex space-x-3"><button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 bg-white hover:bg-gray-50"><i class="fas fa-filter mr-1"></i> Filter</button><button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 bg-white hover:bg-gray-50"><i class="fas fa-sort mr-1"></i> Sort</button></div></div><!-- Video Categories --><div class="mb-6"><div class="flex space-x-2 overflow-x-auto pb-2"><button class="px-4 py-1 bg-blue-600 text-white rounded-full text-sm font-medium">All Videos</button><button class="px-4 py-1 bg-white border border-gray-300 rounded-full text-sm font-medium hover:bg-gray-50">Physics</button><button class="px-4 py-1 bg-white border border-gray-300 rounded-full text-sm font-medium hover:bg-gray-50">Mathematics</button><button class="px-4 py-1 bg-white border border-gray-300 rounded-full text-sm font-medium hover:bg-gray-50">Chemistry</button><button class="px-4 py-1 bg-white border border-gray-300 rounded-full text-sm font-medium hover:bg-gray-50">Biology</button><button class="px-4 py-1 bg-white border border-gray-300 rounded-full text-sm font-medium hover:bg-gray-50">History</button><button class="px-4 py-1 bg-white border border-gray-300 rounded-full text-sm font-medium hover:bg-gray-50">Literature</button></div></div><!-- Video Grid --><div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"><div class="card bg-white rounded-xl shadow-sm overflow-hidden hover:shadow-md transition-shadow"><div class="relative"><div class="bg-gray-100 aspect-video flex items-center justify-center"><i class="fas fa-play-circle text-5xl text-gray-400"></i></div><div class="absolute top-2 right-2"><span class="px-2 py-1 text-xs font-medium bg-blue-100 text-blue-800 rounded-full">Physics</span></div><div class="absolute bottom-2 left-2 flex items-center"><i class="fas fa-clock text-xs text-gray-500 mr-1"></i><span class="text-xs text-gray-500">5:24</span></div></div><div class="p-4"><h3 class="font-bold mb-1">Quantum Mechanics Explained</h3><p class="text-sm text-gray-500 mb-2">Created: 2 days ago</p><p class="text-sm text-gray-600 line-clamp-2">An animated explanation of wave-particle duality and the double-slit experiment, generated from your physics notes.</p><div class="mt-3 flex justify-between items-center"><div class="flex space-x-2"><button class="p-1 text-gray-500 hover:text-blue-600"><i class="fas fa-play"></i></button><button class="p-1 text-gray-500 hover:text-green-600"><i class="fas fa-download"></i></button><button class="p-1 text-gray-500 hover:text-purple-600"><i class="fas fa-share-alt"></i></button></div><button class="p-1 text-gray-500 hover:text-red-600"><i class="fas fa-trash"></i></button></div></div></div><div class="card bg-white rounded-xl shadow-sm overflow-hidden hover:shadow-md transition-shadow"><div class="relative"><div class="bg-gray-100 aspect-video flex items-center justify-center"><i class="fas fa-play-circle text-5xl text-gray-400"></i></div><div class="absolute top-2 right-2"><span class="px-2 py-1 text-xs font-medium bg-purple-100 text-purple-800 rounded-full">Mathematics</span></div><div class="absolute bottom-2 left-2 flex items-center"><i class="fas fa-clock text-xs text-gray-500 mr-1"></i><span class="text-xs text-gray-500">8:12</span></div></div><div class="p-4"><h3 class="font-bold mb-1">Linear Algebra Basics</h3><p class="text-sm text-gray-500 mb-2">Created: 1 week ago</p><p class="text-sm text-gray-600 line-clamp-2">Visual guide to matrix operations and vector spaces, with animated examples from your lecture notes.</p><div class="mt-3 flex justify-between items-center"><div class="flex space-x-2"><button class="p-1 text-gray-500 hover:text-blue-600"><i class="fas fa-play"></i></button><button class="p-1 text-gray-500 hover:text-green-600"><i class="fas fa-download"></i></button><button class="p-1 text-gray-500 hover:text-purple-600"><i class="fas fa-share-alt"></i></button></div><button class="p-1 text-gray-500 hover:text-red-600"><i class="fas fa-trash"></i></button></div></div></div><div class="card bg-white rounded-xl shadow-sm overflow-hidden hover:shadow-md transition-shadow"><div class="relative"><div class="bg-gray-100 aspect-video flex items-center justify-center"><i class="fas fa-play-circle text-5xl text-gray-400"></i></div><div class="absolute top-2 right-2"><span class="px-2 py-1 text-xs font-medium bg-green-100 text-green-800 rounded-full">Chemistry</span></div><div class="absolute bottom-2 left-2 flex items-center"><i class="fas fa-clock text-xs text-gray-500 mr-1"></i><span class="text-xs text-gray-500">6:45</span></div></div><div class="p-4"><h3 class="font-bold mb-1">Organic Reactions</h3><p class="text-sm text-gray-500 mb-2">Created: 2 weeks ago</p><p class="text-sm text-gray-600 line-clamp-2">Mechanisms of nucleophilic substitution and elimination reactions, with 3D molecular animations.</p><div class="mt-3 flex justify-between items-center"><div class="flex space-x-2"><button class="p-1 text-gray-500 hover:text-blue-600"><i class="fas fa-play"></i></button><button class="p-1 text-gray-500 hover:text-green-600"><i class="fas fa-download"></i></button><button class="p-1 text-gray-500 hover:text-purple-600"><i class="fas fa-share-alt"></i></button></div><button class="p-1 text-gray-500 hover:text-red-600"><i class="fas fa-trash"></i></button></div></div></div><div class="card bg-white rounded-xl shadow-sm overflow-hidden hover:shadow-md transition-shadow"><div class="relative"><div class="bg-gray-100 aspect-video flex items-center justify-center"><i class="fas fa-play-circle text-5xl text-gray-400"></i></div><div class="absolute top-2 right-2"><span class="px-2 py-1 text-xs font-medium bg-yellow-100 text-yellow-800 rounded-full">Biology</span></div><div class="absolute bottom-2 left-2 flex items-center"><i class="fas fa-clock text-xs text-gray-500 mr-1"></i><span class="text-xs text-gray-500">7:18</span></div></div><div class="p-4"><h3 class="font-bold mb-1">Cell Division Process</h3><p class="text-sm text-gray-500 mb-2">Created: 3 weeks ago</p><p class="text-sm text-gray-600 line-clamp-2">Mitosis and meiosis explained with detailed animations and comparisons between the two processes.</p><div class="mt-3 flex justify-between items-center"><div class="flex space-x-2"><button class="p-1 text-gray-500 hover:text-blue-600"><i class="fas fa-play"></i></button><button class="p-1 text-gray-500 hover:text-green-600"><i class="fas fa-download"></i></button><button class="p-1 text-gray-500 hover:text-purple-600"><i class="fas fa-share-alt"></i></button></div><button class="p-1 text-gray-500 hover:text-red-600"><i class="fas fa-trash"></i></button></div></div></div><div class="card bg-white rounded-xl shadow-sm overflow-hidden hover:shadow-md transition-shadow"><div class="relative"><div class="bg-gray-100 aspect-video flex items-center justify-center"><i class="fas fa-play-circle text-5xl text-gray-400"></i></div><div class="absolute top-2 right-2"><span class="px-2 py-1 text-xs font-medium bg-red-100 text-red-800 rounded-full">History</span></div><div class="absolute bottom-2 left-2 flex items-center"><i class="fas fa-clock text-xs text-gray-500 mr-1"></i><span class="text-xs text-gray-500">9:32</span></div></div><div class="p-4"><h3 class="font-bold mb-1">French Revolution</h3><p class="text-sm text-gray-500 mb-2">Created: 1 month ago</p><p class="text-sm text-gray-600 line-clamp-2">Timeline of key events from the Estates-General to the rise of Napoleon, with historical images and maps.</p><div class="mt-3 flex justify-between items-center"><div class="flex space-x-2"><button class="p-1 text-gray-500 hover:text-blue-600"><i class="fas fa-play"></i></button><button class="p-1 text-gray-500 hover:text-green-600"><i class="fas fa-download"></i></button><button class="p-1 text-gray-500 hover:text-purple-600"><i class="fas fa-share-alt"></i></button></div><button class="p-1 text-gray-500 hover:text-red-600"><i class="fas fa-trash"></i></button></div></div></div><div class="card bg-white rounded-xl shadow-sm overflow-hidden hover:shadow-md transition-shadow"><div class="relative"><div class="bg-gray-100 aspect-video flex items-center justify-center"><i class="fas fa-play-circle text-5xl text-gray-400"></i></div><div class="absolute top-2 right-2"><span class="px-2 py-1 text-xs font-medium bg-indigo-100 text-indigo-800 rounded-full">Literature</span></div><div class="absolute bottom-2 left-2 flex items-center"><i class="fas fa-clock text-xs text-gray-500 mr-1"></i><span class="text-xs text-gray-500">4:56</span></div></div><div class="p-4"><h3 class="font-bold mb-1">Shakespeare's Sonnets</h3><p class="text-sm text-gray-500 mb-2">Created: 1 month ago</p><p class="text-sm text-gray-600 line-clamp-2">Analysis of Sonnet 18 with visual annotations highlighting poetic devices and thematic elements.</p><div class="mt-3 flex justify-between items-center"><div class="flex space-x-2"><button class="p-1 text-gray-500 hover:text-blue-600"><i class="fas fa-play"></i></button><button class="p-1 text-gray-500 hover:text-green-600"><i class="fas fa-download"></i></button><button class="p-1 text-gray-500 hover:text-purple-600"><i class="fas fa-share-alt"></i></button></div><button class="p-1 text-gray-500 hover:text-red-600"><i class="fas fa-trash"></i></button></div></div></div></div><!-- Pagination --><div class="mt-6 flex items-center justify-between"><div class="text-sm text-gray-500">Showing <span class="font-medium">1</span> to <span class="font-medium">6</span> of <span class="font-medium">18</span> videos</div><div class="flex space-x-2"><button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 bg-white hover:bg-gray-50">Previous</button><button class="px-3 py-1 border border-blue-500 rounded-md text-white bg-blue-600 hover:bg-blue-700">1</button><button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 bg-white hover:bg-gray-50">2</button><button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 bg-white hover:bg-gray-50">3</button><button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 bg-white hover:bg-gray-50">Next</button></div></div></div></main>15 unmodified lines}});// Tab functionalityfunction openTab(evt, tabName) {const tabContents = document.getElementsByClassName("tab-content");for (let i = 0; i < tabContents.length; i++) {11 unmodified linesevt.currentTarget.classList.add("bg-blue-100", "text-blue-700");}// PDF Upload functionalityconst uploadContainer = document.getElementById('upload-container');const pdfUpload = document.getElementById('pdf-upload');const fileInfo = document.getElementById('file-info');const fileName = document.getElementById('file-name');const removeFile = document.getElementById('remove-file');const generatePdfVideo = document.getElementById('generate-pdf-video');uploadContainer.addEventListener('click', () => {pdfUpload.click();});pdfUpload.addEventListener('change', (e) => {if (e.target.files.length > 0) {const file = e.target.files[0];fileName.textContent = file.name;fileInfo.classList.remove('hidden');generatePdfVideo.disabled = false;uploadContainer.classList.add('hidden');}});removeFile.addEventListener('click', (e) => {e.stopPropagation();pdfUpload.value = '';fileInfo.classList.add('hidden');generatePdfVideo.disabled = true;uploadContainer.classList.remove('hidden');});// Drag and drop for PDF uploaduploadContainer.addEventListener('dragover', (e) => {e.preventDefault();uploadContainer.classList.add('dragover');});uploadContainer.addEventListener('dragleave', () => {uploadContainer.classList.remove('dragover');});uploadContainer.addEventListener('drop', (e) => {e.preventDefault();uploadContainer.classList.remove('dragover');if (e.dataTransfer.files.length > 0) {const file = e.dataTransfer.files[0];if (file.type === 'application/pdf') {// For demo purposes, we'll just show the file namefileName.textContent = file.name;fileInfo.classList.remove('hidden');generatePdfVideo.disabled = false;uploadContainer.classList.add('hidden');} else {alert('Please upload a PDF file.');}}});// Mobile sidebar toggle
1Project Summary: You're tasked with building a feature-rich, modern, and immersive B2C dashboard interface for the educational platform AI Classroom. This dashboard will be used by individual students to access AI-powered learning tools, track their academic progress, and plan their study schedules. The goal is to build a clean, engaging, responsive dashboard UI that is consistent with the platform’s existing design system and is fully navigable across multiple tools, pages, and modules. Visual Design & Theming Guidelines: Color Palette: Background: White (#FFFFFF) Primary: Pastel Blue (#A6C8FF) Secondary: Light Purple (#CABDFF) Accents: Teal, Light Indigo, gradients Text: Slate / Dark Grey (#1E293B) Typography: Headings: Poppins, bold and modern Body Text: Inter or SF Pro, medium-light weight Layout Style: Card-based, spacious and grid-driven Rounded corners, soft drop shadows Consistent iconography (Lucide or Tabler) Smooth transitions and scroll reveals (Framer Motion) Responsive for desktop, tablet, and mobile Main Navigation (Sidebar + Top Navbar) Primary Sidebar Menus (left): Dashboard (Home) Notes & AI Videos Exams & AI Exam Mode Study Planner AI Explanation Generator Performance Tracker Rewards Settings Top Navbar Elements: Profile Dropdown (View Profile, Log Out, Edit Details) Notifications Bell Current Plan/Subscription Badge Pages, Sections, and Subpages to Create 1. Dashboard (Home Page) Daily summary Welcome header Quick links to Today’s Study Goals, Assigned Tests, and Notes Progress overview (cards with % completion) Quick Access widgets: Recently viewed notes Upcoming exams Active schedule from study planner Motivational quote / Tip of the day from AI 2. Notes to AI Video Generator Upload area for PDFs or typed notes Option to generate: Animation-based Explanation Videos Summarized Audio Narration Page Layout: Left: Input section (Text box or PDF uploader) Right: Generated video player + summary transcript CTA: “Generate Video” Download/Save Video Options Subtabs: Text-to-Video PDF-to-Video 3. AI Exam Mode Choose: Subject Difficulty (Basic / Moderate / Advanced) Exam Length (15 mins – 2 hours) MCQ-based quiz interface with timer and navigation sidebar Result + analysis page after submission Tabs: Start New Exam Previous Attempts (History) Performance Insights 4. AI Topic-Based Explanation Generator Input field: Enter topic or concept name (e.g., Newton’s Laws) Output: AI-generated video explanation Text summary + visual mindmap CTA: “Explain This” Integration with Notes section (option to save result) 5. Study Schedule Planner (Integrated) Link to launch schedule creation Current Study Plan Overview (Daily roadmap) Widgets for: Time Spent Today Completion Status Upcoming Tasks Subpages: Generate New Plan View Weekly Schedule Daily Goals Progress & Analytics 6. Performance Tracker Graphs showing: Weekly active minutes AI Exam scores Completion rate of Study Plan Calendar heatmap of usage Learning streaks Badges unlocked 7. Rewards Coins earned Redeemable rewards Redemption history Leaderboards (optional) 8. Settings Profile Management Learning Preferences (Time/Notifications) AI Voice Assistant preferences Theme Toggle (Light/Dark) Submenus and Navigational UX Notes: Each main page (Notes, Exams, Study Planner, etc.) should have its own sub-navigation tabs or horizontal segmented controls for: Switching modes (e.g., Text input vs PDF input) Accessing history, analytics, or settings for that module Breadcrumb navigation is encouraged for multi-step sections (like Study Planner) Include persistent sidebar with collapsible mode and tooltips Technical Requirements: Framework: React + Tailwind CSS (or AI-based exportable web platform) Animations: Framer Motion (scroll reveals, page transitions, hover effects) Use mock data and placeholder images where necessary Build components: <StudyDashboard />, <NoteVideoCard />, <ExamCard />, <DailyGoalWidget /> <UploadArea />, <VideoPlayer />, <ProgressChart />, <SideNavigation /> Output Expectations Build a fully functional, scrollable, multi-page B2C student dashboard interface that is: Modern, clean, and highly interactive Consistent with the AI Classroom design system Responsive and scalable Ready for backend integration or export12Project Summary: You're tasked with building a feature-rich, modern, and immersive B2C dashboard interface for the educational platform AI Classroom. This dashboard will be used by individual students to access AI-powered learning tools, track their academic progress, and plan their study schedules. The goal is to build a clean, engaging, responsive dashboard UI that is consistent with the platform’s existing design system and is fully navigable across multiple tools, pages, and modules. Visual Design & Theming Guidelines: Color Palette: Background: White (#FFFFFF) Primary: Pastel Blue (#A6C8FF) Secondary: Light Purple (#CABDFF) Accents: Teal, Light Indigo, gradients Text: Slate / Dark Grey (#1E293B) Typography: Headings: Poppins, bold and modern Body Text: Inter or SF Pro, medium-light weight Layout Style: Card-based, spacious and grid-driven Rounded corners, soft drop shadows Consistent iconography (Lucide or Tabler) Smooth transitions and scroll reveals (Framer Motion) Responsive for desktop, tablet, and mobile Main Navigation (Sidebar + Top Navbar) Primary Sidebar Menus (left): Dashboard (Home) Notes & AI Videos Exams & AI Exam Mode Study Planner AI Explanation Generator Performance Tracker Rewards Settings Top Navbar Elements: Profile Dropdown (View Profile, Log Out, Edit Details) Notifications Bell Current Plan/Subscription Badge Pages, Sections, and Subpages to Create 1. Dashboard (Home Page) Daily summary Welcome header Quick links to Today’s Study Goals, Assigned Tests, and Notes Progress overview (cards with % completion) Quick Access widgets: Recently viewed notes Upcoming exams Active schedule from study planner Motivational quote / Tip of the day from AI 2. Notes to AI Video Generator Upload area for PDFs or typed notes Option to generate: Animation-based Explanation Videos Summarized Audio Narration Page Layout: Left: Input section (Text box or PDF uploader) Right: Generated video player + summary transcript CTA: “Generate Video” Download/Save Video Options Subtabs: Text-to-Video PDF-to-Video 3. AI Exam Mode Choose: Subject Difficulty (Basic / Moderate / Advanced) Exam Length (15 mins – 2 hours) MCQ-based quiz interface with timer and navigation sidebar Result + analysis page after submission Tabs: Start New Exam Previous Attempts (History) Performance Insights 4. AI Topic-Based Explanation Generator Input field: Enter topic or concept name (e.g., Newton’s Laws) Output: AI-generated video explanation Text summary + visual mindmap CTA: “Explain This” Integration with Notes section (option to save result) 5. Study Schedule Planner (Integrated) Link to launch schedule creation Current Study Plan Overview (Daily roadmap) Widgets for: Time Spent Today Completion Status Upcoming Tasks Subpages: Generate New Plan View Weekly Schedule Daily Goals Progress & Analytics 6. Performance Tracker Graphs showing: Weekly active minutes AI Exam scores Completion rate of Study Plan Calendar heatmap of usage Learning streaks Badges unlocked 7. Rewards Coins earned Redeemable rewards Redemption history Leaderboards (optional) 8. Settings Profile Management Learning Preferences (Time/Notifications) AI Voice Assistant preferences Theme Toggle (Light/Dark) Submenus and Navigational UX Notes: Each main page (Notes, Exams, Study Planner, etc.) should have its own sub-navigation tabs or horizontal segmented controls for: Switching modes (e.g., Text input vs PDF input) Accessing history, analytics, or settings for that module Breadcrumb navigation is encouraged for multi-step sections (like Study Planner) Include persistent sidebar with collapsible mode and tooltips Technical Requirements: Framework: React + Tailwind CSS (or AI-based exportable web platform) Animations: Framer Motion (scroll reveals, page transitions, hover effects) Use mock data and placeholder images where necessary Build components: <StudyDashboard />, <NoteVideoCard />, <ExamCard />, <DailyGoalWidget /> <UploadArea />, <VideoPlayer />, <ProgressChart />, <SideNavigation /> Output Expectations Build a fully functional, scrollable, multi-page B2C student dashboard interface that is: Modern, clean, and highly interactive Consistent with the AI Classroom design system Responsive and scalable Ready for backend integration or exportnow create the next page of notes and ai videos with same design interface
index.html+786-156
prompts.txt+2-1