Spaces:
Running
Running
Add 2 files
Browse files- README.md +7 -5
- index.html +503 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: elearning-platform
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: yellow
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,503 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>EduLearn - Online Learning Platform</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.course-card:hover .course-overlay {
|
| 11 |
+
opacity: 1;
|
| 12 |
+
transform: translateY(0);
|
| 13 |
+
}
|
| 14 |
+
.course-overlay {
|
| 15 |
+
transition: all 0.3s ease;
|
| 16 |
+
opacity: 0;
|
| 17 |
+
transform: translateY(10px);
|
| 18 |
+
}
|
| 19 |
+
.sidebar {
|
| 20 |
+
transition: all 0.3s ease;
|
| 21 |
+
}
|
| 22 |
+
.sidebar-collapsed {
|
| 23 |
+
width: 70px;
|
| 24 |
+
}
|
| 25 |
+
.sidebar-collapsed .sidebar-text {
|
| 26 |
+
display: none;
|
| 27 |
+
}
|
| 28 |
+
.sidebar-collapsed .logo-text {
|
| 29 |
+
display: none;
|
| 30 |
+
}
|
| 31 |
+
.progress-ring__circle {
|
| 32 |
+
transition: stroke-dashoffset 0.35s;
|
| 33 |
+
transform: rotate(-90deg);
|
| 34 |
+
transform-origin: 50% 50%;
|
| 35 |
+
}
|
| 36 |
+
.dropdown:hover .dropdown-menu {
|
| 37 |
+
display: block;
|
| 38 |
+
}
|
| 39 |
+
@keyframes pulse {
|
| 40 |
+
0%, 100% {
|
| 41 |
+
opacity: 1;
|
| 42 |
+
}
|
| 43 |
+
50% {
|
| 44 |
+
opacity: 0.5;
|
| 45 |
+
}
|
| 46 |
+
}
|
| 47 |
+
.animate-pulse {
|
| 48 |
+
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
| 49 |
+
}
|
| 50 |
+
</style>
|
| 51 |
+
</head>
|
| 52 |
+
<body class="bg-gray-100 font-sans">
|
| 53 |
+
<!-- Header -->
|
| 54 |
+
<header class="bg-white shadow-sm fixed w-full z-10">
|
| 55 |
+
<div class="flex items-center justify-between px-4 py-3">
|
| 56 |
+
<div class="flex items-center">
|
| 57 |
+
<button id="sidebar-toggle" class="mr-4 text-gray-600 hover:text-blue-600">
|
| 58 |
+
<i class="fas fa-bars text-xl"></i>
|
| 59 |
+
</button>
|
| 60 |
+
<div class="flex items-center">
|
| 61 |
+
<i class="fas fa-graduation-cap text-blue-600 text-2xl mr-2"></i>
|
| 62 |
+
<span class="text-xl font-bold text-blue-600 logo-text">EduLearn</span>
|
| 63 |
+
</div>
|
| 64 |
+
</div>
|
| 65 |
+
|
| 66 |
+
<div class="flex-1 max-w-xl mx-4">
|
| 67 |
+
<div class="relative">
|
| 68 |
+
<input type="text" placeholder="Search courses..." class="w-full pl-10 pr-4 py-2 rounded-full border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent">
|
| 69 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
| 70 |
+
</div>
|
| 71 |
+
</div>
|
| 72 |
+
|
| 73 |
+
<div class="flex items-center space-x-4">
|
| 74 |
+
<button class="text-gray-600 hover:text-blue-600 relative">
|
| 75 |
+
<i class="fas fa-bell text-xl"></i>
|
| 76 |
+
<span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span>
|
| 77 |
+
</button>
|
| 78 |
+
<button class="text-gray-600 hover:text-blue-600">
|
| 79 |
+
<i class="fas fa-envelope text-xl"></i>
|
| 80 |
+
</button>
|
| 81 |
+
|
| 82 |
+
<div class="dropdown relative">
|
| 83 |
+
<button class="flex items-center space-x-2 focus:outline-none">
|
| 84 |
+
<div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white font-semibold">JS</div>
|
| 85 |
+
<span class="hidden md:inline">John Smith</span>
|
| 86 |
+
<i class="fas fa-chevron-down text-xs"></i>
|
| 87 |
+
</button>
|
| 88 |
+
<div class="dropdown-menu absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-20 hidden">
|
| 89 |
+
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Profile</a>
|
| 90 |
+
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Dashboard</a>
|
| 91 |
+
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Settings</a>
|
| 92 |
+
<div class="border-t border-gray-200"></div>
|
| 93 |
+
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Logout</a>
|
| 94 |
+
</div>
|
| 95 |
+
</div>
|
| 96 |
+
</div>
|
| 97 |
+
</div>
|
| 98 |
+
</header>
|
| 99 |
+
|
| 100 |
+
<!-- Sidebar -->
|
| 101 |
+
<aside id="sidebar" class="sidebar bg-blue-800 text-white h-screen fixed pt-16 w-64">
|
| 102 |
+
<nav class="mt-6">
|
| 103 |
+
<div class="px-4 py-3 hover:bg-blue-700 cursor-pointer flex items-center text-blue-100">
|
| 104 |
+
<i class="fas fa-home text-lg w-6"></i>
|
| 105 |
+
<span class="ml-3 sidebar-text">Dashboard</span>
|
| 106 |
+
</div>
|
| 107 |
+
<div class="px-4 py-3 hover:bg-blue-700 cursor-pointer flex items-center text-blue-100">
|
| 108 |
+
<i class="fas fa-book text-lg w-6"></i>
|
| 109 |
+
<span class="ml-3 sidebar-text">My Courses</span>
|
| 110 |
+
</div>
|
| 111 |
+
<div class="px-4 py-3 hover:bg-blue-700 cursor-pointer flex items-center text-blue-100">
|
| 112 |
+
<i class="fas fa-calendar-alt text-lg w-6"></i>
|
| 113 |
+
<span class="ml-3 sidebar-text">Calendar</span>
|
| 114 |
+
</div>
|
| 115 |
+
<div class="px-4 py-3 hover:bg-blue-700 cursor-pointer flex items-center text-blue-100">
|
| 116 |
+
<i class="fas fa-tasks text-lg w-6"></i>
|
| 117 |
+
<span class="ml-3 sidebar-text">Assignments</span>
|
| 118 |
+
</div>
|
| 119 |
+
<div class="px-4 py-3 hover:bg-blue-700 cursor-pointer flex items-center text-blue-100">
|
| 120 |
+
<i class="fas fa-graduation-cap text-lg w-6"></i>
|
| 121 |
+
<span class="ml-3 sidebar-text">Grades</span>
|
| 122 |
+
</div>
|
| 123 |
+
<div class="px-4 py-3 hover:bg-blue-700 cursor-pointer flex items-center text-blue-100">
|
| 124 |
+
<i class="fas fa-users text-lg w-6"></i>
|
| 125 |
+
<span class="ml-3 sidebar-text">Participants</span>
|
| 126 |
+
</div>
|
| 127 |
+
<div class="px-4 py-3 hover:bg-blue-700 cursor-pointer flex items-center text-blue-100">
|
| 128 |
+
<i class="fas fa-comments text-lg w-6"></i>
|
| 129 |
+
<span class="ml-3 sidebar-text">Messages</span>
|
| 130 |
+
</div>
|
| 131 |
+
<div class="px-4 py-3 hover:bg-blue-700 cursor-pointer flex items-center text-blue-100">
|
| 132 |
+
<i class="fas fa-cog text-lg w-6"></i>
|
| 133 |
+
<span class="ml-3 sidebar-text">Settings</span>
|
| 134 |
+
</div>
|
| 135 |
+
</nav>
|
| 136 |
+
|
| 137 |
+
<div class="absolute bottom-0 w-full px-4 py-3 bg-blue-900">
|
| 138 |
+
<div class="flex items-center">
|
| 139 |
+
<i class="fas fa-question-circle text-lg w-6"></i>
|
| 140 |
+
<span class="ml-3 sidebar-text">Help & Support</span>
|
| 141 |
+
</div>
|
| 142 |
+
</div>
|
| 143 |
+
</aside>
|
| 144 |
+
|
| 145 |
+
<!-- Main Content -->
|
| 146 |
+
<main class="ml-64 pt-16 px-6 pb-6 transition-all duration-300" id="main-content">
|
| 147 |
+
<!-- Dashboard Overview -->
|
| 148 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-6">
|
| 149 |
+
<div class="bg-white rounded-lg shadow p-6">
|
| 150 |
+
<div class="flex items-center justify-between">
|
| 151 |
+
<div>
|
| 152 |
+
<p class="text-gray-500">Active Courses</p>
|
| 153 |
+
<h3 class="text-2xl font-bold">5</h3>
|
| 154 |
+
</div>
|
| 155 |
+
<div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center">
|
| 156 |
+
<i class="fas fa-book text-blue-600 text-xl"></i>
|
| 157 |
+
</div>
|
| 158 |
+
</div>
|
| 159 |
+
<div class="mt-4 text-sm text-blue-600 font-medium">
|
| 160 |
+
<a href="#" class="hover:underline">View all courses</a>
|
| 161 |
+
</div>
|
| 162 |
+
</div>
|
| 163 |
+
|
| 164 |
+
<div class="bg-white rounded-lg shadow p-6">
|
| 165 |
+
<div class="flex items-center justify-between">
|
| 166 |
+
<div>
|
| 167 |
+
<p class="text-gray-500">Assignments Due</p>
|
| 168 |
+
<h3 class="text-2xl font-bold">3</h3>
|
| 169 |
+
</div>
|
| 170 |
+
<div class="w-12 h-12 rounded-full bg-orange-100 flex items-center justify-center">
|
| 171 |
+
<i class="fas fa-tasks text-orange-600 text-xl"></i>
|
| 172 |
+
</div>
|
| 173 |
+
</div>
|
| 174 |
+
<div class="mt-4 text-sm text-orange-600 font-medium">
|
| 175 |
+
<a href="#" class="hover:underline">View assignments</a>
|
| 176 |
+
</div>
|
| 177 |
+
</div>
|
| 178 |
+
|
| 179 |
+
<div class="bg-white rounded-lg shadow p-6">
|
| 180 |
+
<div class="flex items-center justify-between">
|
| 181 |
+
<div>
|
| 182 |
+
<p class="text-gray-500">Messages</p>
|
| 183 |
+
<h3 class="text-2xl font-bold">7</h3>
|
| 184 |
+
</div>
|
| 185 |
+
<div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center">
|
| 186 |
+
<i class="fas fa-envelope text-green-600 text-xl"></i>
|
| 187 |
+
</div>
|
| 188 |
+
</div>
|
| 189 |
+
<div class="mt-4 text-sm text-green-600 font-medium">
|
| 190 |
+
<a href="#" class="hover:underline">View messages</a>
|
| 191 |
+
</div>
|
| 192 |
+
</div>
|
| 193 |
+
|
| 194 |
+
<div class="bg-white rounded-lg shadow p-6">
|
| 195 |
+
<div class="flex items-center justify-between">
|
| 196 |
+
<div>
|
| 197 |
+
<p class="text-gray-500">Overall Progress</p>
|
| 198 |
+
<div class="flex items-center">
|
| 199 |
+
<div class="relative w-10 h-10 mr-3">
|
| 200 |
+
<svg class="w-full h-full" viewBox="0 0 36 36">
|
| 201 |
+
<circle cx="18" cy="18" r="16" fill="none" class="stroke-gray-200" stroke-width="3"></circle>
|
| 202 |
+
<circle cx="18" cy="18" r="16" fill="none" class="stroke-blue-600 progress-ring__circle" stroke-width="3" stroke-dasharray="100" stroke-dashoffset="35"></circle>
|
| 203 |
+
</svg>
|
| 204 |
+
<div class="absolute inset-0 flex items-center justify-center text-xs font-bold">65%</div>
|
| 205 |
+
</div>
|
| 206 |
+
<h3 class="text-2xl font-bold">Good</h3>
|
| 207 |
+
</div>
|
| 208 |
+
</div>
|
| 209 |
+
<div class="w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center">
|
| 210 |
+
<i class="fas fa-chart-line text-purple-600 text-xl"></i>
|
| 211 |
+
</div>
|
| 212 |
+
</div>
|
| 213 |
+
<div class="mt-4 text-sm text-purple-600 font-medium">
|
| 214 |
+
<a href="#" class="hover:underline">View progress</a>
|
| 215 |
+
</div>
|
| 216 |
+
</div>
|
| 217 |
+
</div>
|
| 218 |
+
|
| 219 |
+
<!-- Current Courses -->
|
| 220 |
+
<div class="bg-white rounded-lg shadow mb-6">
|
| 221 |
+
<div class="px-6 py-4 border-b border-gray-200">
|
| 222 |
+
<h2 class="text-xl font-semibold text-gray-800">My Current Courses</h2>
|
| 223 |
+
</div>
|
| 224 |
+
<div class="p-6">
|
| 225 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 226 |
+
<!-- Course Card 1 -->
|
| 227 |
+
<div class="course-card bg-white rounded-lg border border-gray-200 overflow-hidden hover:shadow-lg transition-shadow duration-300 relative">
|
| 228 |
+
<div class="h-40 bg-gradient-to-r from-blue-500 to-blue-400 flex items-center justify-center">
|
| 229 |
+
<i class="fas fa-laptop-code text-white text-5xl"></i>
|
| 230 |
+
</div>
|
| 231 |
+
<div class="p-4">
|
| 232 |
+
<div class="flex justify-between items-start">
|
| 233 |
+
<div>
|
| 234 |
+
<h3 class="font-bold text-lg mb-1">Web Development</h3>
|
| 235 |
+
<p class="text-gray-600 text-sm">Prof. Sarah Johnson</p>
|
| 236 |
+
</div>
|
| 237 |
+
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">Active</span>
|
| 238 |
+
</div>
|
| 239 |
+
<div class="mt-4 flex items-center justify-between">
|
| 240 |
+
<div class="w-full bg-gray-200 rounded-full h-2">
|
| 241 |
+
<div class="bg-blue-600 h-2 rounded-full" style="width: 75%"></div>
|
| 242 |
+
</div>
|
| 243 |
+
<span class="ml-2 text-sm text-gray-600">75%</span>
|
| 244 |
+
</div>
|
| 245 |
+
</div>
|
| 246 |
+
<div class="course-overlay absolute inset-0 bg-black bg-opacity-70 flex items-center justify-center space-x-2">
|
| 247 |
+
<button class="bg-white text-blue-600 px-4 py-2 rounded-lg font-medium hover:bg-blue-50">
|
| 248 |
+
<i class="fas fa-play mr-1"></i> Continue
|
| 249 |
+
</button>
|
| 250 |
+
<button class="bg-blue-600 text-white px-4 py-2 rounded-lg font-medium hover:bg-blue-700">
|
| 251 |
+
<i class="fas fa-info-circle mr-1"></i> Details
|
| 252 |
+
</button>
|
| 253 |
+
</div>
|
| 254 |
+
</div>
|
| 255 |
+
|
| 256 |
+
<!-- Course Card 2 -->
|
| 257 |
+
<div class="course-card bg-white rounded-lg border border-gray-200 overflow-hidden hover:shadow-lg transition-shadow duration-300 relative">
|
| 258 |
+
<div class="h-40 bg-gradient-to-r from-purple-500 to-purple-400 flex items-center justify-center">
|
| 259 |
+
<i class="fas fa-database text-white text-5xl"></i>
|
| 260 |
+
</div>
|
| 261 |
+
<div class="p-4">
|
| 262 |
+
<div class="flex justify-between items-start">
|
| 263 |
+
<div>
|
| 264 |
+
<h3 class="font-bold text-lg mb-1">Database Design</h3>
|
| 265 |
+
<p class="text-gray-600 text-sm">Prof. Michael Chen</p>
|
| 266 |
+
</div>
|
| 267 |
+
<span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded-full">Active</span>
|
| 268 |
+
</div>
|
| 269 |
+
<div class="mt-4 flex items-center justify-between">
|
| 270 |
+
<div class="w-full bg-gray-200 rounded-full h-2">
|
| 271 |
+
<div class="bg-purple-600 h-2 rounded-full" style="width: 45%"></div>
|
| 272 |
+
</div>
|
| 273 |
+
<span class="ml-2 text-sm text-gray-600">45%</span>
|
| 274 |
+
</div>
|
| 275 |
+
</div>
|
| 276 |
+
<div class="course-overlay absolute inset-0 bg-black bg-opacity-70 flex items-center justify-center space-x-2">
|
| 277 |
+
<button class="bg-white text-purple-600 px-4 py-2 rounded-lg font-medium hover:bg-purple-50">
|
| 278 |
+
<i class="fas fa-play mr-1"></i> Continue
|
| 279 |
+
</button>
|
| 280 |
+
<button class="bg-purple-600 text-white px-4 py-2 rounded-lg font-medium hover:bg-purple-700">
|
| 281 |
+
<i class="fas fa-info-circle mr-1"></i> Details
|
| 282 |
+
</button>
|
| 283 |
+
</div>
|
| 284 |
+
</div>
|
| 285 |
+
|
| 286 |
+
<!-- Course Card 3 -->
|
| 287 |
+
<div class="course-card bg-white rounded-lg border border-gray-200 overflow-hidden hover:shadow-lg transition-shadow duration-300 relative">
|
| 288 |
+
<div class="h-40 bg-gradient-to-r from-green-500 to-green-400 flex items-center justify-center">
|
| 289 |
+
<i class="fas fa-mobile-alt text-white text-5xl"></i>
|
| 290 |
+
</div>
|
| 291 |
+
<div class="p-4">
|
| 292 |
+
<div class="flex justify-between items-start">
|
| 293 |
+
<div>
|
| 294 |
+
<h3 class="font-bold text-lg mb-1">Mobile App Development</h3>
|
| 295 |
+
<p class="text-gray-600 text-sm">Prof. Emily Rodriguez</p>
|
| 296 |
+
</div>
|
| 297 |
+
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">Active</span>
|
| 298 |
+
</div>
|
| 299 |
+
<div class="mt-4 flex items-center justify-between">
|
| 300 |
+
<div class="w-full bg-gray-200 rounded-full h-2">
|
| 301 |
+
<div class="bg-green-600 h-2 rounded-full" style="width: 60%"></div>
|
| 302 |
+
</div>
|
| 303 |
+
<span class="ml-2 text-sm text-gray-600">60%</span>
|
| 304 |
+
</div>
|
| 305 |
+
</div>
|
| 306 |
+
<div class="course-overlay absolute inset-0 bg-black bg-opacity-70 flex items-center justify-center space-x-2">
|
| 307 |
+
<button class="bg-white text-green-600 px-4 py-2 rounded-lg font-medium hover:bg-green-50">
|
| 308 |
+
<i class="fas fa-play mr-1"></i> Continue
|
| 309 |
+
</button>
|
| 310 |
+
<button class="bg-green-600 text-white px-4 py-2 rounded-lg font-medium hover:bg-green-700">
|
| 311 |
+
<i class="fas fa-info-circle mr-1"></i> Details
|
| 312 |
+
</button>
|
| 313 |
+
</div>
|
| 314 |
+
</div>
|
| 315 |
+
</div>
|
| 316 |
+
|
| 317 |
+
<div class="mt-6 text-center">
|
| 318 |
+
<button class="bg-white border border-blue-500 text-blue-500 px-6 py-2 rounded-lg font-medium hover:bg-blue-50 hover:text-blue-600">
|
| 319 |
+
View All Courses
|
| 320 |
+
</button>
|
| 321 |
+
</div>
|
| 322 |
+
</div>
|
| 323 |
+
</div>
|
| 324 |
+
|
| 325 |
+
<!-- Upcoming Deadlines & Recent Activity -->
|
| 326 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
|
| 327 |
+
<!-- Upcoming Deadlines -->
|
| 328 |
+
<div class="bg-white rounded-lg shadow">
|
| 329 |
+
<div class="px-6 py-4 border-b border-gray-200">
|
| 330 |
+
<h2 class="text-xl font-semibold text-gray-800">Upcoming Deadlines</h2>
|
| 331 |
+
</div>
|
| 332 |
+
<div class="p-6">
|
| 333 |
+
<div class="space-y-4">
|
| 334 |
+
<!-- Deadline 1 -->
|
| 335 |
+
<div class="flex items-start">
|
| 336 |
+
<div class="flex-shrink-0 mt-1">
|
| 337 |
+
<div class="w-10 h-10 rounded-full bg-red-100 flex items-center justify-center">
|
| 338 |
+
<i class="fas fa-exclamation text-red-600"></i>
|
| 339 |
+
</div>
|
| 340 |
+
</div>
|
| 341 |
+
<div class="ml-4">
|
| 342 |
+
<h3 class="font-medium text-gray-900">Web Development Project</h3>
|
| 343 |
+
<p class="text-sm text-gray-500">Due in 2 days - May 15, 2023</p>
|
| 344 |
+
<div class="mt-1 flex items-center text-sm text-gray-500">
|
| 345 |
+
<i class="fas fa-book mr-1"></i>
|
| 346 |
+
<span>Web Development Course</span>
|
| 347 |
+
</div>
|
| 348 |
+
</div>
|
| 349 |
+
</div>
|
| 350 |
+
|
| 351 |
+
<!-- Deadline 2 -->
|
| 352 |
+
<div class="flex items-start">
|
| 353 |
+
<div class="flex-shrink-0 mt-1">
|
| 354 |
+
<div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center">
|
| 355 |
+
<i class="fas fa-tasks text-yellow-600"></i>
|
| 356 |
+
</div>
|
| 357 |
+
</div>
|
| 358 |
+
<div class="ml-4">
|
| 359 |
+
<h3 class="font-medium text-gray-900">Database Design Quiz</h3>
|
| 360 |
+
<p class="text-sm text-gray-500">Due in 5 days - May 18, 2023</p>
|
| 361 |
+
<div class="mt-1 flex items-center text-sm text-gray-500">
|
| 362 |
+
<i class="fas fa-book mr-1"></i>
|
| 363 |
+
<span>Database Design Course</span>
|
| 364 |
+
</div>
|
| 365 |
+
</div>
|
| 366 |
+
</div>
|
| 367 |
+
|
| 368 |
+
<!-- Deadline 3 -->
|
| 369 |
+
<div class="flex items-start">
|
| 370 |
+
<div class="flex-shrink-0 mt-1">
|
| 371 |
+
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center">
|
| 372 |
+
<i class="fas fa-file-alt text-blue-600"></i>
|
| 373 |
+
</div>
|
| 374 |
+
</div>
|
| 375 |
+
<div class="ml-4">
|
| 376 |
+
<h3 class="font-medium text-gray-900">Mobile App Wireframes</h3>
|
| 377 |
+
<p class="text-sm text-gray-500">Due in 7 days - May 20, 2023</p>
|
| 378 |
+
<div class="mt-1 flex items-center text-sm text-gray-500">
|
| 379 |
+
<i class="fas fa-book mr-1"></i>
|
| 380 |
+
<span>Mobile App Development</span>
|
| 381 |
+
</div>
|
| 382 |
+
</div>
|
| 383 |
+
</div>
|
| 384 |
+
</div>
|
| 385 |
+
|
| 386 |
+
<div class="mt-6">
|
| 387 |
+
<button class="w-full bg-gray-100 hover:bg-gray-200 text-gray-800 font-medium py-2 px-4 rounded-lg">
|
| 388 |
+
View All Deadlines
|
| 389 |
+
</button>
|
| 390 |
+
</div>
|
| 391 |
+
</div>
|
| 392 |
+
</div>
|
| 393 |
+
|
| 394 |
+
<!-- Recent Activity -->
|
| 395 |
+
<div class="bg-white rounded-lg shadow">
|
| 396 |
+
<div class="px-6 py-4 border-b border-gray-200">
|
| 397 |
+
<h2 class="text-xl font-semibold text-gray-800">Recent Activity</h2>
|
| 398 |
+
</div>
|
| 399 |
+
<div class="p-6">
|
| 400 |
+
<div class="space-y-4">
|
| 401 |
+
<!-- Activity 1 -->
|
| 402 |
+
<div class="flex">
|
| 403 |
+
<div class="flex-shrink-0">
|
| 404 |
+
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center">
|
| 405 |
+
<i class="fas fa-comment text-blue-600"></i>
|
| 406 |
+
</div>
|
| 407 |
+
</div>
|
| 408 |
+
<div class="ml-4">
|
| 409 |
+
<p class="text-sm text-gray-800">
|
| 410 |
+
<span class="font-medium">Prof. Sarah Johnson</span> posted a new announcement in <span class="font-medium text-blue-600">Web Development</span>
|
| 411 |
+
</p>
|
| 412 |
+
<p class="text-xs text-gray-500 mt-1">2 hours ago</p>
|
| 413 |
+
</div>
|
| 414 |
+
</div>
|
| 415 |
+
|
| 416 |
+
<!-- Activity 2 -->
|
| 417 |
+
<div class="flex">
|
| 418 |
+
<div class="flex-shrink-0">
|
| 419 |
+
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center">
|
| 420 |
+
<i class="fas fa-check-circle text-green-600"></i>
|
| 421 |
+
</div>
|
| 422 |
+
</div>
|
| 423 |
+
<div class="ml-4">
|
| 424 |
+
<p class="text-sm text-gray-800">
|
| 425 |
+
You submitted <span class="font-medium">Assignment #3</span> for <span class="font-medium text-green-600">Database Design</span>
|
| 426 |
+
</p>
|
| 427 |
+
<p class="text-xs text-gray-500 mt-1">1 day ago</p>
|
| 428 |
+
</div>
|
| 429 |
+
</div>
|
| 430 |
+
|
| 431 |
+
<!-- Activity 3 -->
|
| 432 |
+
<div class="flex">
|
| 433 |
+
<div class="flex-shrink-0">
|
| 434 |
+
<div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center">
|
| 435 |
+
<i class="fas fa-graduation-cap text-purple-600"></i>
|
| 436 |
+
</div>
|
| 437 |
+
</div>
|
| 438 |
+
<div class="ml-4">
|
| 439 |
+
<p class="text-sm text-gray-800">
|
| 440 |
+
You earned a badge <span class="font-medium">"Quick Learner"</span> in <span class="font-medium text-purple-600">Mobile App Development</span>
|
| 441 |
+
</p>
|
| 442 |
+
<p class="text-xs text-gray-500 mt-1">2 days ago</p>
|
| 443 |
+
</div>
|
| 444 |
+
</div>
|
| 445 |
+
</div>
|
| 446 |
+
|
| 447 |
+
<div class="mt-6">
|
| 448 |
+
<button class="w-full bg-gray-100 hover:bg-gray-200 text-gray-800 font-medium py-2 px-4 rounded-lg">
|
| 449 |
+
View All Activity
|
| 450 |
+
</button>
|
| 451 |
+
</div>
|
| 452 |
+
</div>
|
| 453 |
+
</div>
|
| 454 |
+
</div>
|
| 455 |
+
</main>
|
| 456 |
+
|
| 457 |
+
<script>
|
| 458 |
+
// Toggle sidebar
|
| 459 |
+
document.getElementById('sidebar-toggle').addEventListener('click', function() {
|
| 460 |
+
const sidebar = document.getElementById('sidebar');
|
| 461 |
+
const mainContent = document.getElementById('main-content');
|
| 462 |
+
|
| 463 |
+
sidebar.classList.toggle('sidebar-collapsed');
|
| 464 |
+
mainContent.classList.toggle('ml-64');
|
| 465 |
+
mainContent.classList.toggle('ml-20');
|
| 466 |
+
});
|
| 467 |
+
|
| 468 |
+
// Simulate loading courses (for demo purposes)
|
| 469 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 470 |
+
// You could add AJAX calls here to load real data
|
| 471 |
+
console.log('Platform loaded');
|
| 472 |
+
|
| 473 |
+
// Example: Add click event to course cards
|
| 474 |
+
const courseCards = document.querySelectorAll('.course-card');
|
| 475 |
+
courseCards.forEach(card => {
|
| 476 |
+
card.addEventListener('click', function(e) {
|
| 477 |
+
if(!e.target.closest('button')) {
|
| 478 |
+
// Navigate to course details if not clicking a button
|
| 479 |
+
console.log('Navigating to course details');
|
| 480 |
+
}
|
| 481 |
+
});
|
| 482 |
+
});
|
| 483 |
+
});
|
| 484 |
+
|
| 485 |
+
// Dropdown functionality
|
| 486 |
+
document.querySelectorAll('.dropdown').forEach(dropdown => {
|
| 487 |
+
const button = dropdown.querySelector('button');
|
| 488 |
+
const menu = dropdown.querySelector('.dropdown-menu');
|
| 489 |
+
|
| 490 |
+
button.addEventListener('click', function() {
|
| 491 |
+
menu.classList.toggle('hidden');
|
| 492 |
+
});
|
| 493 |
+
|
| 494 |
+
// Close when clicking outside
|
| 495 |
+
document.addEventListener('click', function(e) {
|
| 496 |
+
if (!dropdown.contains(e.target)) {
|
| 497 |
+
menu.classList.add('hidden');
|
| 498 |
+
}
|
| 499 |
+
});
|
| 500 |
+
});
|
| 501 |
+
</script>
|
| 502 |
+
<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=ZakheTH/elearning-platform" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 503 |
+
</html>
|