aops02 commited on
Commit
adbe2df
·
verified ·
1 Parent(s): 75ecef0

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +376 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Practice Page
3
- emoji: 📉
4
- colorFrom: yellow
5
- colorTo: purple
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: practice-page
3
+ emoji: 🐳
4
+ colorFrom: gray
5
+ colorTo: blue
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,376 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>English Practice Tests</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
+ .exam-card:hover {
11
+ transform: translateY(-5px);
12
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
13
+ }
14
+ .progress-ring__circle {
15
+ transition: stroke-dashoffset 0.5s;
16
+ transform: rotate(-90deg);
17
+ transform-origin: 50% 50%;
18
+ }
19
+ </style>
20
+ </head>
21
+ <body class="bg-gray-50 min-h-screen">
22
+ <!-- Header -->
23
+ <header class="bg-indigo-600 text-white shadow-lg">
24
+ <div class="container mx-auto px-4 py-6">
25
+ <div class="flex justify-between items-center">
26
+ <div class="flex items-center space-x-3">
27
+ <i class="fas fa-book-open text-2xl"></i>
28
+ <h1 class="text-2xl font-bold">EnglishMaster</h1>
29
+ </div>
30
+ <div class="flex items-center space-x-4">
31
+ <div class="relative">
32
+ <i class="fas fa-bell text-xl cursor-pointer"></i>
33
+ <span class="absolute -top-1 -right-1 h-4 w-4 bg-red-500 rounded-full text-xs flex items-center justify-center">3</span>
34
+ </div>
35
+ <div class="flex items-center space-x-2">
36
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile" class="h-8 w-8 rounded-full object-cover">
37
+ <span class="font-medium">Sarah</span>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ </div>
42
+ </header>
43
+
44
+ <!-- Main Content -->
45
+ <main class="container mx-auto px-4 py-8">
46
+ <!-- Dashboard Overview -->
47
+ <section class="mb-12">
48
+ <h2 class="text-3xl font-bold text-gray-800 mb-6">Practice Tests Dashboard</h2>
49
+
50
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8">
51
+ <!-- Progress Card -->
52
+ <div class="bg-white rounded-xl shadow-md p-6 flex items-center">
53
+ <div class="relative w-16 h-16 mr-4">
54
+ <svg class="w-full h-full" viewBox="0 0 36 36">
55
+ <path
56
+ d="M18 2.0845
57
+ a 15.9155 15.9155 0 0 1 0 31.831
58
+ a 15.9155 15.9155 0 0 1 0 -31.831"
59
+ fill="none"
60
+ stroke="#E5E7EB"
61
+ stroke-width="3"
62
+ />
63
+ <path
64
+ class="progress-ring__circle"
65
+ d="M18 2.0845
66
+ a 15.9155 15.9155 0 0 1 0 31.831
67
+ a 15.9155 15.9155 0 0 1 0 -31.831"
68
+ fill="none"
69
+ stroke="#4F46E5"
70
+ stroke-width="3"
71
+ stroke-dasharray="70, 100"
72
+ />
73
+ </svg>
74
+ <div class="absolute inset-0 flex items-center justify-center">
75
+ <span class="text-sm font-bold text-indigo-600">70%</span>
76
+ </div>
77
+ </div>
78
+ <div>
79
+ <h3 class="text-gray-500 text-sm font-medium">Overall Progress</h3>
80
+ <p class="text-lg font-semibold text-gray-800">14/20 tests completed</p>
81
+ </div>
82
+ </div>
83
+
84
+ <!-- Time Spent Card -->
85
+ <div class="bg-white rounded-xl shadow-md p-6 flex items-center">
86
+ <div class="w-16 h-16 mr-4 bg-indigo-100 rounded-full flex items-center justify-center">
87
+ <i class="fas fa-clock text-indigo-600 text-xl"></i>
88
+ </div>
89
+ <div>
90
+ <h3 class="text-gray-500 text-sm font-medium">Time Spent</h3>
91
+ <p class="text-lg font-semibold text-gray-800">12h 45m</p>
92
+ </div>
93
+ </div>
94
+
95
+ <!-- Streak Card -->
96
+ <div class="bg-white rounded-xl shadow-md p-6 flex items-center">
97
+ <div class="w-16 h-16 mr-4 bg-yellow-100 rounded-full flex items-center justify-center">
98
+ <i class="fas fa-fire text-yellow-600 text-xl"></i>
99
+ </div>
100
+ <div>
101
+ <h3 class="text-gray-500 text-sm font-medium">Current Streak</h3>
102
+ <p class="text-lg font-semibold text-gray-800">7 days</p>
103
+ </div>
104
+ </div>
105
+
106
+ <!-- Points Card -->
107
+ <div class="bg-white rounded-xl shadow-md p-6 flex items-center">
108
+ <div class="w-16 h-16 mr-4 bg-green-100 rounded-full flex items-center justify-center">
109
+ <i class="fas fa-star text-green-600 text-xl"></i>
110
+ </div>
111
+ <div>
112
+ <h3 class="text-gray-500 text-sm font-medium">Points Earned</h3>
113
+ <p class="text-lg font-semibold text-gray-800">1,250 pts</p>
114
+ </div>
115
+ </div>
116
+ </div>
117
+ </section>
118
+
119
+ <!-- Exam Sections -->
120
+ <section>
121
+ <div class="flex justify-between items-center mb-6">
122
+ <h2 class="text-2xl font-bold text-gray-800">Practice Exams</h2>
123
+ <div class="relative">
124
+ <select class="appearance-none bg-white border border-gray-300 rounded-lg px-4 py-2 pr-8 text-gray-700 focus:outline-none focus:ring-2 focus:ring-indigo-500">
125
+ <option>All Levels</option>
126
+ <option>Beginner</option>
127
+ <option>Intermediate</option>
128
+ <option>Advanced</option>
129
+ </select>
130
+ <div class="absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none">
131
+ <i class="fas fa-chevron-down text-gray-400"></i>
132
+ </div>
133
+ </div>
134
+ </div>
135
+
136
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
137
+ <!-- Listening Exam Card -->
138
+ <div class="exam-card bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300 cursor-pointer">
139
+ <div class="h-40 bg-blue-500 flex items-center justify-center">
140
+ <i class="fas fa-headphones text-white text-6xl"></i>
141
+ </div>
142
+ <div class="p-6">
143
+ <div class="flex justify-between items-start mb-3">
144
+ <h3 class="text-xl font-bold text-gray-800">Listening</h3>
145
+ <span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">12 tests</span>
146
+ </div>
147
+ <p class="text-gray-600 mb-4">Practice understanding spoken English in various accents and contexts.</p>
148
+ <div class="flex justify-between items-center">
149
+ <div class="flex items-center">
150
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
151
+ <span class="text-sm text-gray-600">5 completed</span>
152
+ </div>
153
+ <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-lg text-sm font-medium transition-colors">
154
+ Start
155
+ </button>
156
+ </div>
157
+ </div>
158
+ </div>
159
+
160
+ <!-- Reading Exam Card -->
161
+ <div class="exam-card bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300 cursor-pointer">
162
+ <div class="h-40 bg-green-500 flex items-center justify-center">
163
+ <i class="fas fa-book-open text-white text-6xl"></i>
164
+ </div>
165
+ <div class="p-6">
166
+ <div class="flex justify-between items-start mb-3">
167
+ <h3 class="text-xl font-bold text-gray-800">Reading</h3>
168
+ <span class="bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded">8 tests</span>
169
+ </div>
170
+ <p class="text-gray-600 mb-4">Improve reading comprehension with passages from various topics.</p>
171
+ <div class="flex justify-between items-center">
172
+ <div class="flex items-center">
173
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
174
+ <span class="text-sm text-gray-600">3 completed</span>
175
+ </div>
176
+ <button class="bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded-lg text-sm font-medium transition-colors">
177
+ Start
178
+ </button>
179
+ </div>
180
+ </div>
181
+ </div>
182
+
183
+ <!-- Speaking Exam Card -->
184
+ <div class="exam-card bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300 cursor-pointer">
185
+ <div class="h-40 bg-purple-500 flex items-center justify-center">
186
+ <i class="fas fa-comment-dots text-white text-6xl"></i>
187
+ </div>
188
+ <div class="p-6">
189
+ <div class="flex justify-between items-start mb-3">
190
+ <h3 class="text-xl font-bold text-gray-800">Speaking</h3>
191
+ <span class="bg-purple-100 text-purple-800 text-xs font-medium px-2.5 py-0.5 rounded">6 tests</span>
192
+ </div>
193
+ <p class="text-gray-600 mb-4">Practice pronunciation and fluency with interactive speaking exercises.</p>
194
+ <div class="flex justify-between items-center">
195
+ <div class="flex items-center">
196
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
197
+ <span class="text-sm text-gray-600">4 completed</span>
198
+ </div>
199
+ <button class="bg-purple-600 hover:bg-purple-700 text-white px-4 py-2 rounded-lg text-sm font-medium transition-colors">
200
+ Start
201
+ </button>
202
+ </div>
203
+ </div>
204
+ </div>
205
+
206
+ <!-- Writing Exam Card -->
207
+ <div class="exam-card bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300 cursor-pointer">
208
+ <div class="h-40 bg-yellow-500 flex items-center justify-center">
209
+ <i class="fas fa-pen-fancy text-white text-6xl"></i>
210
+ </div>
211
+ <div class="p-6">
212
+ <div class="flex justify-between items-start mb-3">
213
+ <h3 class="text-xl font-bold text-gray-800">Writing</h3>
214
+ <span class="bg-yellow-100 text-yellow-800 text-xs font-medium px-2.5 py-0.5 rounded">10 tests</span>
215
+ </div>
216
+ <p class="text-gray-600 mb-4">Improve writing skills with guided exercises and feedback.</p>
217
+ <div class="flex justify-between items-center">
218
+ <div class="flex items-center">
219
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
220
+ <span class="text-sm text-gray-600">2 completed</span>
221
+ </div>
222
+ <button class="bg-yellow-600 hover:bg-yellow-700 text-white px-4 py-2 rounded-lg text-sm font-medium transition-colors">
223
+ Start
224
+ </button>
225
+ </div>
226
+ </div>
227
+ </div>
228
+ </div>
229
+ </section>
230
+
231
+ <!-- Recent Activity -->
232
+ <section class="mt-12">
233
+ <h2 class="text-2xl font-bold text-gray-800 mb-6">Recent Activity</h2>
234
+ <div class="bg-white rounded-xl shadow-md overflow-hidden">
235
+ <div class="overflow-x-auto">
236
+ <table class="min-w-full divide-y divide-gray-200">
237
+ <thead class="bg-gray-50">
238
+ <tr>
239
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Test</th>
240
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th>
241
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
242
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Score</th>
243
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
244
+ </tr>
245
+ </thead>
246
+ <tbody class="bg-white divide-y divide-gray-200">
247
+ <tr>
248
+ <td class="px-6 py-4 whitespace-nowrap">
249
+ <div class="flex items-center">
250
+ <div class="flex-shrink-0 h-10 w-10 bg-blue-100 rounded-full flex items-center justify-center">
251
+ <i class="fas fa-headphones text-blue-600"></i>
252
+ </div>
253
+ <div class="ml-4">
254
+ <div class="text-sm font-medium text-gray-900">Travel Conversations</div>
255
+ <div class="text-sm text-gray-500">Intermediate</div>
256
+ </div>
257
+ </div>
258
+ </td>
259
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Listening</td>
260
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 12, 2023</td>
261
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
262
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">85%</span>
263
+ </td>
264
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
265
+ <i class="fas fa-check-circle text-green-500 mr-1"></i> Completed
266
+ </td>
267
+ </tr>
268
+ <tr>
269
+ <td class="px-6 py-4 whitespace-nowrap">
270
+ <div class="flex items-center">
271
+ <div class="flex-shrink-0 h-10 w-10 bg-green-100 rounded-full flex items-center justify-center">
272
+ <i class="fas fa-book-open text-green-600"></i>
273
+ </div>
274
+ <div class="ml-4">
275
+ <div class="text-sm font-medium text-gray-900">Science Article</div>
276
+ <div class="text-sm text-gray-500">Advanced</div>
277
+ </div>
278
+ </div>
279
+ </td>
280
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Reading</td>
281
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 10, 2023</td>
282
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
283
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">72%</span>
284
+ </td>
285
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
286
+ <i class="fas fa-check-circle text-green-500 mr-1"></i> Completed
287
+ </td>
288
+ </tr>
289
+ <tr>
290
+ <td class="px-6 py-4 whitespace-nowrap">
291
+ <div class="flex items-center">
292
+ <div class="flex-shrink-0 h-10 w-10 bg-purple-100 rounded-full flex items-center justify-center">
293
+ <i class="fas fa-comment-dots text-purple-600"></i>
294
+ </div>
295
+ <div class="ml-4">
296
+ <div class="text-sm font-medium text-gray-900">Job Interview</div>
297
+ <div class="text-sm text-gray-500">Intermediate</div>
298
+ </div>
299
+ </div>
300
+ </td>
301
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Speaking</td>
302
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 8, 2023</td>
303
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
304
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Incomplete</span>
305
+ </td>
306
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
307
+ <i class="fas fa-exclamation-circle text-yellow-500 mr-1"></i> In Progress
308
+ </td>
309
+ </tr>
310
+ </tbody>
311
+ </table>
312
+ </div>
313
+ </div>
314
+ </section>
315
+ </main>
316
+
317
+ <!-- Footer -->
318
+ <footer class="bg-gray-800 text-white py-8 mt-12">
319
+ <div class="container mx-auto px-4">
320
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
321
+ <div>
322
+ <h3 class="text-lg font-semibold mb-4">EnglishMaster</h3>
323
+ <p class="text-gray-400">Master English with our comprehensive practice tests and learning resources.</p>
324
+ </div>
325
+ <div>
326
+ <h3 class="text-lg font-semibold mb-4">Quick Links</h3>
327
+ <ul class="space-y-2">
328
+ <li><a href="#" class="text-gray-400 hover:text-white transition-colors">Home</a></li>
329
+ <li><a href="#" class="text-gray-400 hover:text-white transition-colors">Practice Tests</a></li>
330
+ <li><a href="#" class="text-gray-400 hover:text-white transition-colors">Progress</a></li>
331
+ <li><a href="#" class="text-gray-400 hover:text-white transition-colors">Resources</a></li>
332
+ </ul>
333
+ </div>
334
+ <div>
335
+ <h3 class="text-lg font-semibold mb-4">Support</h3>
336
+ <ul class="space-y-2">
337
+ <li><a href="#" class="text-gray-400 hover:text-white transition-colors">Help Center</a></li>
338
+ <li><a href="#" class="text-gray-400 hover:text-white transition-colors">Contact Us</a></li>
339
+ <li><a href="#" class="text-gray-400 hover:text-white transition-colors">Feedback</a></li>
340
+ </ul>
341
+ </div>
342
+ <div>
343
+ <h3 class="text-lg font-semibold mb-4">Connect With Us</h3>
344
+ <div class="flex space-x-4">
345
+ <a href="#" class="text-gray-400 hover:text-white transition-colors">
346
+ <i class="fab fa-facebook-f"></i>
347
+ </a>
348
+ <a href="#" class="text-gray-400 hover:text-white transition-colors">
349
+ <i class="fab fa-twitter"></i>
350
+ </a>
351
+ <a href="#" class="text-gray-400 hover:text-white transition-colors">
352
+ <i class="fab fa-instagram"></i>
353
+ </a>
354
+ <a href="#" class="text-gray-400 hover:text-white transition-colors">
355
+ <i class="fab fa-youtube"></i>
356
+ </a>
357
+ </div>
358
+ </div>
359
+ </div>
360
+ <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
361
+ <p>&copy; 2023 EnglishMaster. All rights reserved.</p>
362
+ </div>
363
+ </div>
364
+ </footer>
365
+
366
+ <script>
367
+ // Simple script to demonstrate interactivity
368
+ document.querySelectorAll('.exam-card').forEach(card => {
369
+ card.addEventListener('click', function() {
370
+ const examType = this.querySelector('h3').textContent;
371
+ alert(`Starting ${examType} practice test!`);
372
+ });
373
+ });
374
+ </script>
375
+ <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=aops02/practice-page" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
376
+ </html>