Add 3 files
Browse filesFiles changed (3)
- README.md+7-5
- index.html+426-19
- prompts.txtAdded+1
12345678910---title: Dashboardemoji: 👁colorFrom: graycolorTo: graysdk: staticpinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference123456789101112---title: dashboardemoji: 🐳colorFrom: redcolorTo: redsdk: staticpinned: falsetags:- deepsite---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
12345678910111213141516171819<!doctype html><html><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width" /><title>My static Space</title><link rel="stylesheet" href="style.css" /></head><body><div class="card"><h1>Welcome to your static Space!</h1><p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p><p>Also don't forget to check the<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.</p></div></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426<!DOCTYPE html><html lang="en"><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"><style>:root {--primary: #A6C8FF;--secondary: #CABDFF;--text: #1E293B;}body {font-family: 'Inter', sans-serif;color: var(--text);background-color: #F8FAFC;}h1, h2, h3, h4 {font-family: 'Poppins', sans-serif;}.sidebar {transition: all 0.3s ease;}.card {transition: transform 0.2s ease, box-shadow 0.2s ease;}.card:hover {transform: translateY(-2px);box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);}.progress-ring__circle {transition: stroke-dashoffset 0.5s ease;transform: rotate(-90deg);transform-origin: 50% 50%;}.tab-content {display: none;}.tab-content.active {display: block;animation: fadeIn 0.3s ease;}@keyframes fadeIn {from { opacity: 0; }to { opacity: 1; }}.heatmap-day {transition: all 0.2s ease;}.heatmap-day:hover {transform: scale(1.1);}</style></head><body class="flex h-screen overflow-hidden"><!-- Sidebar Navigation --><div class="sidebar w-64 bg-white border-r border-gray-200 flex flex-col flex-shrink-0"><div class="flex items-center justify-center h-16 px-4 border-b border-gray-200"><div class="flex items-center"><i class="fas fa-brain text-2xl mr-2 text-indigo-500"></i><span class="text-xl font-bold">AI Classroom</span></div></div><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><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-clipboard-check mr-3 text-teal-500"></i>Exams & AI Exam Mode</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-calendar-alt mr-3 text-indigo-500"></i>Study Planner</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-lightbulb mr-3 text-yellow-500"></i>AI Explanation Generator</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-chart-line mr-3 text-green-500"></i>Performance Tracker</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-trophy mr-3 text-amber-500"></i>Rewards</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-cog mr-3 text-gray-500"></i>Settings</a></div></nav></div><div class="p-4 border-t border-gray-200"><div class="flex items-center"><img class="w-10 h-10 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="User profile"><div class="ml-3"><p class="text-sm font-medium">Sarah Johnson</p><p class="text-xs text-gray-500">Premium Plan</p></div></div></div></div><!-- Main Content Area --><div class="flex-1 flex flex-col overflow-hidden"><!-- Top Navigation --><header class="bg-white border-b border-gray-200"><div class="flex items-center justify-between px-6 py-3"><div class="flex items-center"><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"><i class="fas fa-bell"></i><span class="sr-only">Notifications</span></button><div class="relative"><button id="user-menu-button" class="flex items-center focus:outline-none"><span class="sr-only">Open user menu</span><img class="w-8 h-8 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="User menu"></button><!-- Dropdown menu --><div id="user-dropdown" class="hidden absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-10"><a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Your Profile</a><a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Settings</a><a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Sign out</a></div></div></div></div></header><!-- 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></div><script>// User dropdown toggleconst userMenuButton = document.getElementById('user-menu-button');const userDropdown = document.getElementById('user-dropdown');userMenuButton.addEventListener('click', () => {userDropdown.classList.toggle('hidden');});// Close dropdown when clicking outsidedocument.addEventListener('click', (event) => {if (!userMenuButton.contains(event.target) && !userDropdown.contains(event.target)) {userDropdown.classList.add('hidden');}});// Tab functionality (for pages with tabs)function openTab(evt, tabName) {const tabContents = document.getElementsByClassName("tab-content");for (let i = 0; i < tabContents.length; i++) {tabContents[i].classList.remove("active");}const tabButtons = document.getElementsByClassName("tab-button");for (let i = 0; i < tabButtons.length; i++) {tabButtons[i].classList.remove("bg-blue-100", "text-blue-700");tabButtons[i].classList.add("text-gray-700", "hover:bg-gray-100");}document.getElementById(tabName).classList.add("active");evt.currentTarget.classList.remove("text-gray-700", "hover:bg-gray-100");evt.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 toggleconst mobileMenuButton = document.querySelector('.lg\\:hidden');const sidebar = document.querySelector('.sidebar');mobileMenuButton.addEventListener('click', () => {sidebar.classList.toggle('hidden');});</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=MDesign28/dashboard" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body></html>
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 exportREADME.md+7-5
index.html+426-19
prompts.txtAdded+1