Download index.html from MDesign28/ai-classroom-study-planner: direct link, hf CLI and curl.
- Browser
- Download file 41.7 kB
-
https://huggingface.co/spaces/MDesign28/ai-classroom-study-planner/resolve/main/index.html
- Command line
-
hf download hf://spaces/MDesign28/ai-classroom-study-planner/index.html
-
curl -L -o index.html https://huggingface.co/spaces/MDesign28/ai-classroom-study-planner/resolve/main/index.html
41.7 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>AI Classroom - Study Schedule Planner</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@700&family=Inter:wght@400;500&display=swap" rel="stylesheet"> | |
| <style> | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| color: #1E293B; | |
| background-color: #ffffff; | |
| } | |
| h1, h2, h3, h4 { | |
| font-family: 'Poppins', sans-serif; | |
| } | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #A6C8FF 0%, #CABDFF 100%); | |
| } | |
| .card { | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); | |
| transition: all 0.3s ease; | |
| } | |
| .card:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); | |
| } | |
| .progress-ring { | |
| transform: rotate(-90deg); | |
| } | |
| .progress-ring__circle { | |
| transition: stroke-dashoffset 0.5s; | |
| stroke-linecap: round; | |
| } | |
| .heatmap-day { | |
| width: 12px; | |
| height: 12px; | |
| border-radius: 2px; | |
| margin: 2px; | |
| } | |
| .fade-in { | |
| animation: fadeIn 0.5s ease-in; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| </style> | |
| </head> | |
| <body class="min-h-screen"> | |
| <!-- Header --> | |
| <header class="bg-white py-4 px-6 shadow-sm"> | |
| <div class="container mx-auto flex justify-between items-center"> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 rounded-full gradient-bg flex items-center justify-center text-white font-bold text-xl">AI</div> | |
| <h1 class="ml-3 text-xl font-bold">AI Classroom</h1> | |
| </div> | |
| <nav> | |
| <ul class="flex space-x-6"> | |
| <li><a href="#" class="hover:text-blue-500">Dashboard</a></li> | |
| <li><a href="#" class="hover:text-blue-500">Courses</a></li> | |
| <li><a href="#" class="hover:text-blue-500">Analytics</a></li> | |
| <li><a href="#" class="bg-blue-500 text-white px-4 py-2 rounded-full hover:bg-blue-600">Study Planner</a></li> | |
| </ul> | |
| </nav> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="container mx-auto py-8 px-4"> | |
| <!-- Step 1: Topic & Subject Selection --> | |
| <section id="step1" class="max-w-3xl mx-auto fade-in"> | |
| <div class="text-center mb-8"> | |
| <h2 class="text-3xl font-bold mb-2">Create Your Study Plan</h2> | |
| <p class="text-gray-600">Let AI help you structure your learning journey</p> | |
| <div class="flex justify-center mt-6 mb-8"> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 rounded-full bg-blue-500 text-white flex items-center justify-center font-bold">1</div> | |
| <div class="w-16 h-1 bg-blue-200 mx-2"></div> | |
| <div class="w-8 h-8 rounded-full bg-gray-200 text-gray-600 flex items-center justify-center font-bold">2</div> | |
| <div class="w-16 h-1 bg-gray-200 mx-2"></div> | |
| <div class="w-8 h-8 rounded-full bg-gray-200 text-gray-600 flex items-center justify-center font-bold">3</div> | |
| <div class="w-16 h-1 bg-gray-200 mx-2"></div> | |
| <div class="w-8 h-8 rounded-full bg-gray-200 text-gray-600 flex items-center justify-center font-bold">4</div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="card bg-white rounded-xl p-8"> | |
| <h3 class="text-xl font-bold mb-6">What would you like to study?</h3> | |
| <div class="mb-6"> | |
| <label for="subject" class="block text-sm font-medium text-gray-700 mb-2">Subject</label> | |
| <select id="subject" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| <option value="" disabled selected>Select a subject</option> | |
| <option value="math">Mathematics</option> | |
| <option value="science">Science</option> | |
| <option value="history">History</option> | |
| <option value="literature">Literature</option> | |
| <option value="programming">Programming</option> | |
| </select> | |
| </div> | |
| <div class="mb-8"> | |
| <label for="topic" class="block text-sm font-medium text-gray-700 mb-2">Topic/Chapter</label> | |
| <input type="text" id="topic" placeholder="E.g. Calculus, World War II, Machine Learning" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| </div> | |
| <div class="flex justify-end"> | |
| <button onclick="nextStep('step1', 'step2')" class="bg-blue-500 text-white px-6 py-3 rounded-lg hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2">Next</button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Step 2: Time Allocation --> | |
| <section id="step2" class="max-w-3xl mx-auto hidden"> | |
| <div class="text-center mb-8"> | |
| <h2 class="text-3xl font-bold mb-2">Set Your Timeline</h2> | |
| <p class="text-gray-600">How much time can you dedicate to this topic?</p> | |
| <div class="flex justify-center mt-6 mb-8"> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 rounded-full bg-blue-500 text-white flex items-center justify-center font-bold">1</div> | |
| <div class="w-16 h-1 bg-blue-500 mx-2"></div> | |
| <div class="w-8 h-8 rounded-full bg-blue-500 text-white flex items-center justify-center font-bold">2</div> | |
| <div class="w-16 h-1 bg-gray-200 mx-2"></div> | |
| <div class="w-8 h-8 rounded-full bg-gray-200 text-gray-600 flex items-center justify-center font-bold">3</div> | |
| <div class="w-16 h-1 bg-gray-200 mx-2"></div> | |
| <div class="w-8 h-8 rounded-full bg-gray-200 text-gray-600 flex items-center justify-center font-bold">4</div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="card bg-white rounded-xl p-8"> | |
| <h3 class="text-xl font-bold mb-6">Time Allocation</h3> | |
| <div class="mb-6"> | |
| <div class="flex items-center mb-4"> | |
| <input type="radio" id="dateRange" name="timelineOption" class="mr-2" checked> | |
| <label for="dateRange" class="font-medium">Select start and end date</label> | |
| </div> | |
| <div class="flex space-x-4 ml-6"> | |
| <div class="flex-1"> | |
| <label for="startDate" class="block text-sm text-gray-600 mb-1">Start Date</label> | |
| <input type="date" id="startDate" class="w-full px-4 py-2 rounded-lg border border-gray-300"> | |
| </div> | |
| <div class="flex-1"> | |
| <label for="endDate" class="block text-sm text-gray-600 mb-1">End Date</label> | |
| <input type="date" id="endDate" class="w-full px-4 py-2 rounded-lg border border-gray-300"> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mb-6"> | |
| <div class="flex items-center mb-4"> | |
| <input type="radio" id="daysOption" name="timelineOption" class="mr-2"> | |
| <label for="daysOption" class="font-medium">Set number of days</label> | |
| </div> | |
| <div class="ml-6"> | |
| <input type="number" id="daysCount" placeholder="E.g. 14" class="w-24 px-4 py-2 rounded-lg border border-gray-300" disabled> | |
| </div> | |
| </div> | |
| <div class="mb-8"> | |
| <label for="dailyTime" class="block text-sm font-medium text-gray-700 mb-4">Daily Study Time (minutes)</label> | |
| <input type="range" id="dailyTime" min="15" max="120" step="15" value="30" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer"> | |
| <div class="flex justify-between text-sm text-gray-600 mt-2"> | |
| <span>15 min</span> | |
| <span id="dailyTimeValue">30 min</span> | |
| <span>120 min</span> | |
| </div> | |
| </div> | |
| <div class="mb-6"> | |
| <label class="flex items-center"> | |
| <input type="checkbox" class="rounded border-gray-300 text-blue-500 focus:ring-blue-500 mr-2"> | |
| <span class="text-sm text-gray-700">Add holidays/days off</span> | |
| </label> | |
| </div> | |
| <div class="flex justify-between"> | |
| <button onclick="prevStep('step2', 'step1')" class="text-gray-600 px-6 py-3 rounded-lg border border-gray-300 hover:bg-gray-50">Back</button> | |
| <button onclick="nextStep('step2', 'step3')" class="bg-blue-500 text-white px-6 py-3 rounded-lg hover:bg-blue-600">Generate My Plan</button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Step 3: AI Study Schedule Generation --> | |
| <section id="step3" class="max-w-4xl mx-auto hidden"> | |
| <div class="text-center mb-8"> | |
| <h2 class="text-3xl font-bold mb-2">Your Personalized Study Plan</h2> | |
| <p class="text-gray-600">AI-generated schedule based on your inputs</p> | |
| <div class="flex justify-center mt-6 mb-8"> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 rounded-full bg-blue-500 text-white flex items-center justify-center font-bold">1</div> | |
| <div class="w-16 h-1 bg-blue-500 mx-2"></div> | |
| <div class="w-8 h-8 rounded-full bg-blue-500 text-white flex items-center justify-center font-bold">2</div> | |
| <div class="w-16 h-1 bg-blue-500 mx-2"></div> | |
| <div class="w-8 h-8 rounded-full bg-blue-500 text-white flex items-center justify-center font-bold">3</div> | |
| <div class="w-16 h-1 bg-gray-200 mx-2"></div> | |
| <div class="w-8 h-8 rounded-full bg-gray-200 text-gray-600 flex items-center justify-center font-bold">4</div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="card bg-white rounded-xl p-8 mb-8"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h3 class="text-xl font-bold">Calculus Fundamentals</h3> | |
| <div class="flex items-center"> | |
| <span class="text-sm text-gray-600 mr-2">14 days • 30 min/day</span> | |
| <span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">AI Optimized</span> | |
| </div> | |
| </div> | |
| <div class="space-y-4"> | |
| <!-- Day 1 --> | |
| <div class="border border-gray-200 rounded-lg overflow-hidden"> | |
| <div class="bg-gray-50 px-4 py-3 flex justify-between items-center"> | |
| <div> | |
| <span class="font-medium">Day 1</span> | |
| <span class="text-sm text-gray-500 ml-2">Mon, Jun 5</span> | |
| </div> | |
| <button class="text-blue-500 text-sm font-medium">View Details</button> | |
| </div> | |
| <div class="p-4 grid grid-cols-1 md:grid-cols-3 gap-4"> | |
| <div class="bg-blue-50 rounded-lg p-3"> | |
| <div class="flex items-center mb-2"> | |
| <div class="w-6 h-6 rounded-full bg-blue-100 flex items-center justify-center mr-2"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-blue-500" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z" /> | |
| </svg> | |
| </div> | |
| <span class="font-medium">Lecture</span> | |
| </div> | |
| <p class="text-sm text-gray-700">Introduction to Limits</p> | |
| <p class="text-xs text-gray-500 mt-1">10 min</p> | |
| <button class="mt-2 text-xs text-blue-500 hover:text-blue-700">Watch Now</button> | |
| </div> | |
| <div class="bg-purple-50 rounded-lg p-3"> | |
| <div class="flex items-center mb-2"> | |
| <div class="w-6 h-6 rounded-full bg-purple-100 flex items-center justify-center mr-2"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-purple-500" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" /> | |
| </svg> | |
| </div> | |
| <span class="font-medium">Notes</span> | |
| </div> | |
| <p class="text-sm text-gray-700">Key concepts and formulas</p> | |
| <p class="text-xs text-gray-500 mt-1">10 min</p> | |
| <button class="mt-2 text-xs text-purple-500 hover:text-purple-700">View Notes</button> | |
| </div> | |
| <div class="bg-green-50 rounded-lg p-3"> | |
| <div class="flex items-center mb-2"> | |
| <div class="w-6 h-6 rounded-full bg-green-100 flex items-center justify-center mr-2"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-green-500" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" /> | |
| </svg> | |
| </div> | |
| <span class="font-medium">Quiz</span> | |
| </div> | |
| <p class="text-sm text-gray-700">Basic limit problems</p> | |
| <p class="text-xs text-gray-500 mt-1">10 min</p> | |
| <button class="mt-2 text-xs text-green-500 hover:text-green-700">Take Quiz</button> | |
| </div> | |
| </div> | |
| <div class="px-4 py-3 bg-gray-50 border-t border-gray-200 flex justify-end"> | |
| <button class="bg-blue-500 text-white px-4 py-1 rounded text-sm hover:bg-blue-600">Mark as Complete</button> | |
| </div> | |
| </div> | |
| <!-- Day 2 --> | |
| <div class="border border-gray-200 rounded-lg overflow-hidden"> | |
| <div class="bg-gray-50 px-4 py-3 flex justify-between items-center"> | |
| <div> | |
| <span class="font-medium">Day 2</span> | |
| <span class="text-sm text-gray-500 ml-2">Tue, Jun 6</span> | |
| </div> | |
| <button class="text-blue-500 text-sm font-medium">View Details</button> | |
| </div> | |
| <div class="p-4 grid grid-cols-1 md:grid-cols-3 gap-4"> | |
| <div class="bg-blue-50 rounded-lg p-3"> | |
| <div class="flex items-center mb-2"> | |
| <div class="w-6 h-6 rounded-full bg-blue-100 flex items-center justify-center mr-2"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-blue-500" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z" /> | |
| </svg> | |
| </div> | |
| <span class="font-medium">Lecture</span> | |
| </div> | |
| <p class="text-sm text-gray-700">Continuity and Limits</p> | |
| <p class="text-xs text-gray-500 mt-1">15 min</p> | |
| <button class="mt-2 text-xs text-blue-500 hover:text-blue-700">Watch Now</button> | |
| </div> | |
| <div class="bg-purple-50 rounded-lg p-3"> | |
| <div class="flex items-center mb-2"> | |
| <div class="w-6 h-6 rounded-full bg-purple-100 flex items-center justify-center mr-2"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-purple-500" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" /> | |
| </svg> | |
| </div> | |
| <span class="font-medium">Notes</span> | |
| </div> | |
| <p class="text-sm text-gray-700">Continuity examples</p> | |
| <p class="text-xs text-gray-500 mt-1">10 min</p> | |
| <button class="mt-2 text-xs text-purple-500 hover:text-purple-700">View Notes</button> | |
| </div> | |
| <div class="bg-green-50 rounded-lg p-3"> | |
| <div class="flex items-center mb-2"> | |
| <div class="w-6 h-6 rounded-full bg-green-100 flex items-center justify-center mr-2"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-green-500" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" /> | |
| </svg> | |
| </div> | |
| <span class="font-medium">Quiz</span> | |
| </div> | |
| <p class="text-sm text-gray-700">Continuity problems</p> | |
| <p class="text-xs text-gray-500 mt-1">5 min</p> | |
| <button class="mt-2 text-xs text-green-500 hover:text-green-700">Take Quiz</button> | |
| </div> | |
| </div> | |
| <div class="px-4 py-3 bg-gray-50 border-t border-gray-200 flex justify-end"> | |
| <button class="bg-gray-200 text-gray-600 px-4 py-1 rounded text-sm hover:bg-gray-300">Mark as Complete</button> | |
| </div> | |
| </div> | |
| <!-- More days would be shown here --> | |
| <div class="text-center py-4"> | |
| <button class="text-blue-500 text-sm font-medium">Show all 14 days</button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex justify-between"> | |
| <button onclick="prevStep('step3', 'step2')" class="text-gray-600 px-6 py-3 rounded-lg border border-gray-300 hover:bg-gray-50">Back</button> | |
| <button onclick="nextStep('step3', 'step4')" class="bg-blue-500 text-white px-6 py-3 rounded-lg hover:bg-blue-600">Start Now</button> | |
| </div> | |
| </section> | |
| <!-- Step 4: Daily Tracker Page --> | |
| <section id="step4" class="max-w-4xl mx-auto hidden"> | |
| <div class="text-center mb-8"> | |
| <h2 class="text-3xl font-bold mb-2">Today's Study Plan</h2> | |
| <p class="text-gray-600">Tue, Jun 6 - Day 2 of 14</p> | |
| <div class="flex justify-center mt-6 mb-8"> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 rounded-full bg-blue-500 text-white flex items-center justify-center font-bold">1</div> | |
| <div class="w-16 h-1 bg-blue-500 mx-2"></div> | |
| <div class="w-8 h-8 rounded-full bg-blue-500 text-white flex items-center justify-center font-bold">2</div> | |
| <div class="w-16 h-1 bg-blue-500 mx-2"></div> | |
| <div class="w-8 h-8 rounded-full bg-blue-500 text-white flex items-center justify-center font-bold">3</div> | |
| <div class="w-16 h-1 bg-blue-500 mx-2"></div> | |
| <div class="w-8 h-8 rounded-full bg-blue-500 text-white flex items-center justify-center font-bold">4</div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8"> | |
| <!-- Progress Ring --> | |
| <div class="card bg-white rounded-xl p-6"> | |
| <h3 class="text-lg font-bold mb-4">Your Progress</h3> | |
| <div class="flex flex-col items-center"> | |
| <div class="relative w-32 h-32"> | |
| <svg class="progress-ring w-full h-full" viewBox="0 0 36 36"> | |
| <circle class="progress-ring__circle" stroke="#E5E7EB" stroke-width="3" fill="transparent" r="15.9155" cx="18" cy="18"></circle> | |
| <circle class="progress-ring__circle" stroke="#3B82F6" stroke-width="3" stroke-dasharray="100, 100" fill="transparent" r="15.9155" cx="18" cy="18"></circle> | |
| </svg> | |
| <div class="absolute inset-0 flex items-center justify-center"> | |
| <span class="text-2xl font-bold">25%</span> | |
| </div> | |
| </div> | |
| <p class="text-sm text-gray-600 mt-2">3 of 14 days completed</p> | |
| </div> | |
| </div> | |
| <!-- Streak Counter --> | |
| <div class="card bg-white rounded-xl p-6"> | |
| <h3 class="text-lg font-bold mb-4">Current Streak</h3> | |
| <div class="flex flex-col items-center"> | |
| <div class="text-4xl font-bold text-blue-500 mb-2">3</div> | |
| <p class="text-sm text-gray-600">days in a row</p> | |
| <div class="flex mt-4"> | |
| <div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white mx-1"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor"> | |
| <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" /> | |
| </svg> | |
| </div> | |
| <div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white mx-1"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor"> | |
| <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" /> | |
| </svg> | |
| </div> | |
| <div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white mx-1"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor"> | |
| <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" /> | |
| </svg> | |
| </div> | |
| <div class="w-8 h-8 rounded-full bg-gray-200 flex items-center justify-center text-gray-400 mx-1"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor"> | |
| <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" /> | |
| </svg> | |
| </div> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-2">Keep going! 2 more days for a badge</p> | |
| </div> | |
| </div> | |
| <!-- Today's Time --> | |
| <div class="card bg-white rounded-xl p-6"> | |
| <h3 class="text-lg font-bold mb-4">Today's Commitment</h3> | |
| <div class="flex flex-col items-center"> | |
| <div class="text-4xl font-bold text-blue-500 mb-2">30</div> | |
| <p class="text-sm text-gray-600">minutes</p> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5 mt-6"> | |
| <div class="bg-blue-500 h-2.5 rounded-full" style="width: 45%"></div> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-2">13 min completed</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Today's Tasks --> | |
| <div class="card bg-white rounded-xl p-6 mb-8"> | |
| <h3 class="text-xl font-bold mb-6">Today's Tasks</h3> | |
| <div class="space-y-4"> | |
| <!-- Lecture --> | |
| <div class="flex items-start p-4 border border-gray-200 rounded-lg"> | |
| <div class="flex-shrink-0 w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-4"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-blue-500" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z" /> | |
| </svg> | |
| </div> | |
| <div class="flex-1"> | |
| <h4 class="font-medium">Lecture: Continuity and Limits</h4> | |
| <p class="text-sm text-gray-600 mt-1">15 minutes • Not started</p> | |
| </div> | |
| <div> | |
| <button class="bg-blue-500 text-white px-4 py-1 rounded text-sm hover:bg-blue-600">Start</button> | |
| </div> | |
| </div> | |
| <!-- Notes --> | |
| <div class="flex items-start p-4 border border-gray-200 rounded-lg"> | |
| <div class="flex-shrink-0 w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mr-4"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-purple-500" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" /> | |
| </svg> | |
| </div> | |
| <div class="flex-1"> | |
| <h4 class="font-medium">Review Notes: Continuity examples</h4> | |
| <p class="text-sm text-gray-600 mt-1">10 minutes • In progress</p> | |
| </div> | |
| <div> | |
| <button class="bg-purple-500 text-white px-4 py-1 rounded text-sm hover:bg-purple-600">Continue</button> | |
| </div> | |
| </div> | |
| <!-- Quiz --> | |
| <div class="flex items-start p-4 border border-gray-200 rounded-lg bg-gray-50"> | |
| <div class="flex-shrink-0 w-10 h-10 rounded-full bg-green-100 flex items-center justify-center mr-4"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-green-500" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" /> | |
| </svg> | |
| </div> | |
| <div class="flex-1"> | |
| <h4 class="font-medium">Quiz: Continuity problems</h4> | |
| <p class="text-sm text-gray-600 mt-1">5 minutes • Upcoming</p> | |
| </div> | |
| <div> | |
| <button class="bg-gray-300 text-gray-600 px-4 py-1 rounded text-sm" disabled>Start</button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-6 pt-6 border-t border-gray-200 flex justify-end"> | |
| <button class="bg-blue-500 text-white px-6 py-2 rounded-lg hover:bg-blue-600 flex items-center"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" viewBox="0 0 20 20" fill="currentColor"> | |
| <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" /> | |
| </svg> | |
| Mark Day as Complete | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Progress Overview --> | |
| <div class="card bg-white rounded-xl p-6 mb-8"> | |
| <h3 class="text-xl font-bold mb-6">Progress Overview</h3> | |
| <div class="mb-6"> | |
| <h4 class="font-medium mb-2">Completion Heatmap</h4> | |
| <div class="flex flex-wrap"> | |
| <!-- This would be generated dynamically based on actual data --> | |
| <div class="heatmap-day bg-green-100"></div> | |
| <div class="heatmap-day bg-green-200"></div> | |
| <div class="heatmap-day bg-green-300"></div> | |
| <div class="heatmap-day bg-gray-100"></div> | |
| <div class="heatmap-day bg-gray-100"></div> | |
| <div class="heatmap-day bg-gray-100"></div> | |
| <div class="heatmap-day bg-gray-100"></div> | |
| <div class="heatmap-day bg-gray-100"></div> | |
| <div class="heatmap-day bg-gray-100"></div> | |
| <div class="heatmap-day bg-gray-100"></div> | |
| <div class="heatmap-day bg-gray-100"></div> | |
| <div class="heatmap-day bg-gray-100"></div> | |
| <div class="heatmap-day bg-gray-100"></div> | |
| <div class="heatmap-day bg-gray-100"></div> | |
| </div> | |
| <div class="flex justify-between text-xs text-gray-500 mt-1"> | |
| <span>Start</span> | |
| <span>Today</span> | |
| <span>End</span> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6"> | |
| <div> | |
| <h4 class="font-medium mb-2">Lectures Completed</h4> | |
| <div class="text-3xl font-bold text-blue-500">3</div> | |
| <p class="text-sm text-gray-600">of 14 planned</p> | |
| </div> | |
| <div> | |
| <h4 class="font-medium mb-2">Quizzes Taken</h4> | |
| <div class="text-3xl font-bold text-green-500">2</div> | |
| <p class="text-sm text-gray-600">of 14 planned</p> | |
| </div> | |
| <div> | |
| <h4 class="font-medium mb-2">Notes Reviewed</h4> | |
| <div class="text-3xl font-bold text-purple-500">3</div> | |
| <p class="text-sm text-gray-600">of 14 planned</p> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="font-medium mb-2">Your Badges</h4> | |
| <div class="flex space-x-4"> | |
| <div class="text-center"> | |
| <div class="w-16 h-16 rounded-full bg-yellow-100 flex items-center justify-center mx-auto mb-1"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-8 w-8 text-yellow-500" viewBox="0 0 20 20" fill="currentColor"> | |
| <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" /> | |
| </svg> | |
| </div> | |
| <span class="text-xs font-medium">3 Days Streak</span> | |
| </div> | |
| <div class="text-center"> | |
| <div class="w-16 h-16 rounded-full bg-blue-100 flex items-center justify-center mx-auto mb-1"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-8 w-8 text-blue-500" viewBox="0 0 20 20" fill="currentColor"> | |
| <path fill-rule="evenodd" d="M6.267 3.455a3.066 3.066 0 001.745-.723 3.066 3.066 0 013.976 0 3.066 3.066 0 001.745.723 3.066 3.066 0 012.812 2.812c.051.643.304 1.254.723 1.745a3.066 3.066 0 010 3.976 3.066 3.066 0 00-.723 1.745 3.066 3.066 0 01-2.812 2.812 3.066 3.066 0 00-1.745.723 3.066 3.066 0 01-3.976 0 3.066 3.066 0 00-1.745-.723 3.066 3.066 0 01-2.812-2.812 3.066 3.066 0 00-.723-1.745 3.066 3.066 0 010-3.976 3.066 3.066 0 00.723-1.745 3.066 3.066 0 012.812-2.812zm7.44 5.252a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" /> | |
| </svg> | |
| </div> | |
| <span class="text-xs font-medium">Halfway Mark</span> | |
| </div> | |
| <div class="text-center opacity-40"> | |
| <div class="w-16 h-16 rounded-full bg-green-100 flex items-center justify-center mx-auto mb-1"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-8 w-8 text-green-500" viewBox="0 0 20 20" fill="currentColor"> | |
| <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" /> | |
| </svg> | |
| </div> | |
| <span class="text-xs font-medium">100% Completion</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex justify-center"> | |
| <button onclick="showStep('step1')" class="bg-gray-100 text-gray-700 px-6 py-3 rounded-lg hover:bg-gray-200">Create New Plan</button> | |
| </div> | |
| </section> | |
| </main> | |
| <script> | |
| // Navigation between steps | |
| function nextStep(current, next) { | |
| document.getElementById(current).classList.add('hidden'); | |
| document.getElementById(next).classList.remove('hidden'); | |
| document.getElementById(next).classList.add('fade-in'); | |
| } | |
| function prevStep(current, prev) { | |
| document.getElementById(current).classList.add('hidden'); | |
| document.getElementById(prev).classList.remove('hidden'); | |
| document.getElementById(prev).classList.add('fade-in'); | |
| } | |
| function showStep(step) { | |
| document.querySelectorAll('main > section').forEach(section => { | |
| section.classList.add('hidden'); | |
| }); | |
| document.getElementById(step).classList.remove('hidden'); | |
| document.getElementById(step).classList.add('fade-in'); | |
| } | |
| // Update daily time value display | |
| const dailyTimeSlider = document.getElementById('dailyTime'); | |
| const dailyTimeValue = document.getElementById('dailyTimeValue'); | |
| dailyTimeSlider.addEventListener('input', function() { | |
| dailyTimeValue.textContent = this.value + ' min'; | |
| }); | |
| // Toggle between timeline options | |
| const dateRangeOption = document.getElementById('dateRange'); | |
| const daysOption = document.getElementById('daysOption'); | |
| const startDateInput = document.getElementById('startDate'); | |
| const endDateInput = document.getElementById('endDate'); | |
| const daysCountInput = document.getElementById('daysCount'); | |
| dateRangeOption.addEventListener('change', function() { | |
| startDateInput.disabled = !this.checked; | |
| endDateInput.disabled = !this.checked; | |
| daysCountInput.disabled = this.checked; | |
| }); | |
| daysOption.addEventListener('change', function() { | |
| startDateInput.disabled = this.checked; | |
| endDateInput.disabled = this.checked; | |
| daysCountInput.disabled = !this.checked; | |
| }); | |
| // Set default dates | |
| const today = new Date(); | |
| const nextWeek = new Date(); | |
| nextWeek.setDate(today.getDate() + 7); | |
| startDateInput.valueAsDate = today; | |
| endDateInput.valueAsDate = nextWeek; | |
| // Initialize progress ring | |
| function updateProgressRing(percent) { | |
| const circle = document.querySelector('.progress-ring__circle'); | |
| const radius = circle.r.baseVal.value; | |
| const circumference = radius * 2 * Math.PI; | |
| const offset = circumference - (percent / 100) * circumference; | |
| circle.style.strokeDasharray = `${circumference} ${circumference}`; | |
| circle.style.strokeDashoffset = offset; | |
| } | |
| // Update with actual progress (25% in this example) | |
| updateProgressRing(25); | |
| </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/ai-classroom-study-planner" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |