SAboodh commited on
Commit
6b8caec
·
verified ·
1 Parent(s): 850a628

conect all things in one like first start with descripe al topic full isson fowllowed by vidios fowllood by flashcard and finally quizes - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +647 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Ai Midical Study
3
- emoji: 😻
4
- colorFrom: purple
5
- colorTo: gray
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: ai-midical-study
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: green
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,647 @@
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>MediTeach Pro | AI Medical 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
+ <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Roboto+Slab:wght@400;700&display=swap" rel="stylesheet">
10
+ <script>
11
+ tailwind.config = {
12
+ theme: {
13
+ extend: {
14
+ colors: {
15
+ primary: '#1a75bc',
16
+ secondary: '#085d9e',
17
+ accent: '#ff7e46',
18
+ dark: '#1c2e4a',
19
+ light: '#f5f7fa',
20
+ success: '#4caf50',
21
+ warning: '#ff9800'
22
+ },
23
+ fontFamily: {
24
+ sans: ['Open Sans', 'sans-serif'],
25
+ heading: ['Roboto Slab', 'serif']
26
+ }
27
+ }
28
+ }
29
+ }
30
+ </script>
31
+ <style>
32
+ .flashcard {
33
+ perspective: 1000px;
34
+ height: 220px;
35
+ }
36
+ .flashcard-inner {
37
+ position: relative;
38
+ width: 100%;
39
+ height: 100%;
40
+ transition: transform 0.6s;
41
+ transform-style: preserve-3d;
42
+ }
43
+ .flashcard.flipped .flashcard-inner {
44
+ transform: rotateY(180deg);
45
+ }
46
+ .flashcard-front, .flashcard-back {
47
+ position: absolute;
48
+ width: 100%;
49
+ height: 100%;
50
+ backface-visibility: hidden;
51
+ border-radius: 12px;
52
+ box-shadow: 0 4px 20px rgba(0,0,0,0.1);
53
+ padding: 20px;
54
+ display: flex;
55
+ flex-direction: column;
56
+ justify-content: center;
57
+ }
58
+ .flashcard-back {
59
+ transform: rotateY(180deg);
60
+ }
61
+ .tab-content-section {
62
+ display: none;
63
+ animation: fadeEffect 0.5s;
64
+ }
65
+ @keyframes fadeEffect {
66
+ from {opacity: 0;}
67
+ to {opacity: 1;}
68
+ }
69
+ .active-tab {
70
+ display: block;
71
+ }
72
+ .video-card:hover .overlay {
73
+ opacity: 1;
74
+ }
75
+ #progressCircle {
76
+ transform: rotate(-90deg);
77
+ transform-origin: center;
78
+ }
79
+ .progress-ring__circle {
80
+ stroke-dasharray: 283;
81
+ transition: stroke-dashoffset 0.5s;
82
+ }
83
+ </style>
84
+ </head>
85
+ <body class="bg-light font-sans">
86
+ <!-- Header -->
87
+ <header class="bg-dark text-white shadow-lg">
88
+ <div class="container mx-auto py-4 px-6 flex items-center justify-between">
89
+ <div class="flex items-center space-x-3">
90
+ <i class="fas fa-heartbeat text-3xl text-accent"></i>
91
+ <h1 class="text-2xl font-bold heading">MediTeach <span class="text-primary">Pro</span></h1>
92
+ </div>
93
+ <div class="flex items-center space-x-4">
94
+ <div class="hidden md:block">
95
+ <div class="flex space-x-1">
96
+ <div class="h-3 w-3 rounded-full bg-success"></div>
97
+ <div class="h-3 w-3 rounded-full bg-warning"></div>
98
+ <div class="h-3 w-3 rounded-full bg-accent"></div>
99
+ </div>
100
+ </div>
101
+ <div class="relative">
102
+ <div class="bg-primary rounded-full h-10 w-10 flex items-center justify-center">
103
+ <span class="text-white font-bold">AM</span>
104
+ </div>
105
+ <span class="absolute -top-1 -right-1 bg-accent text-white rounded-full h-5 w-5 flex items-center justify-center text-xs">1</span>
106
+ </div>
107
+ </div>
108
+ </div>
109
+ </header>
110
+
111
+ <!-- Main Container -->
112
+ <main class="container mx-auto px-4 py-8">
113
+ <div class="mb-8">
114
+ <div class="relative max-w-2xl mx-auto">
115
+ <input type="text" placeholder="Search medical topics, flashcards, videos..."
116
+ class="w-full py-3 px-6 pr-12 rounded-full border border-gray-300 focus:outline-none focus:ring-2 focus:ring-primary focus:border-white shadow-sm">
117
+ <button class="absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-500 hover:text-primary">
118
+ <i class="fas fa-search"></i>
119
+ </button>
120
+ </div>
121
+ </div>
122
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
123
+ <!-- Left Sidebar -->
124
+ <div class="lg:col-span-1">
125
+ <div class="bg-white rounded-xl shadow-md p-6 mb-6">
126
+ <h2 class="text-xl font-bold text-dark mb-4 heading">Your Learning Progress</h2>
127
+
128
+ <div class="flex justify-center mb-4">
129
+ <div class="relative w-40 h-40">
130
+ <svg id="progressCircle" width="140" height="140" viewBox="0 0 100 100">
131
+ <circle cx="50" cy="50" r="45" fill="transparent" stroke="#e6e6e6" stroke-width="8"/>
132
+ <circle class="progress-ring__circle" cx="50" cy="50" r="45" fill="transparent"
133
+ stroke="#4caf50" stroke-width="8" stroke-dashoffset="113" />
134
+ <text x="50" y="50" text-anchor="middle" dy="6" class="text-2xl font-bold fill-dark">68%</text>
135
+ </svg>
136
+ </div>
137
+ </div>
138
+ <div class="space-y-3">
139
+ <div>
140
+ <div class="flex justify-between text-sm">
141
+ <span>Cardiology</span>
142
+ <span>85%</span>
143
+ </div>
144
+ <div class="h-2 bg-gray-200 rounded-full">
145
+ <div class="h-2 rounded-full bg-primary" style="width:85%"></div>
146
+ </div>
147
+ </div>
148
+ <div>
149
+ <div class="flex justify-between text-sm">
150
+ <span>Neurology</span>
151
+ <span>45%</span>
152
+ </div>
153
+ <div class="h-2 bg-gray-200 rounded-full">
154
+ <div class="h-2 rounded-full bg-accent" style="width:45%"></div>
155
+ </div>
156
+ </div>
157
+ <div>
158
+ <div class="flex justify-between text-sm">
159
+ <span>Oncology</span>
160
+ <span>72%</span>
161
+ </div>
162
+ <div class="h-2 bg-gray-200 rounded-full">
163
+ <div class="h-2 rounded-full bg-success" style="width:72%"></div>
164
+ </div>
165
+ </div>
166
+ </div>
167
+ </div>
168
+
169
+ <div class="bg-white rounded-xl shadow-md p-6 mb-6">
170
+ <h2 class="text-xl font-bold text-dark mb-4 heading">Premium Resources</h2>
171
+ <div class="space-y-4">
172
+ <a href="#" class="flex items-center p-3 hover:bg-gray-50 rounded-lg transition">
173
+ <div class="bg-primary bg-opacity-10 p-2 rounded-lg">
174
+ <i class="fas fa-book-medical text-primary text-lg"></i>
175
+ </div>
176
+ <div class="ml-3 flex-1">
177
+ <div class="font-medium text-dark">First Aid Step 1</div>
178
+ <div class="text-sm text-gray-600 mt-1">Comprehensive review</div>
179
+ </div>
180
+ </a>
181
+ <a href="#" class="flex items-center p-3 hover:bg-gray-50 rounded-lg transition">
182
+ <div class="bg-accent bg-opacity-10 p-2 rounded-lg">
183
+ <i class="fas fa-book-open text-accent text-lg"></i>
184
+ </div>
185
+ <div class="ml-3 flex-1">
186
+ <div class="font-medium text-dark">Oxford Clinical Handbook</div>
187
+ <div class="text-sm text-gray-600 mt-1">Practical guidance</div>
188
+ </div>
189
+ </a>
190
+ <a href="#" class="flex items-center p-3 hover:bg-gray-50 rounded-lg transition">
191
+ <div class="bg-success bg-opacity-10 p-2 rounded-lg">
192
+ <i class="fas fa-heartbeat text-success text-lg"></i>
193
+ </div>
194
+ <div class="ml-3 flex-1">
195
+ <div class="font-medium text-dark">Pathoma Videos</div>
196
+ <div class="text-sm text-gray-600 mt-1">Pathology essentials</div>
197
+ </div>
198
+ </a>
199
+ </div>
200
+ </div>
201
+ </div>
202
+
203
+ <!-- Main Content -->
204
+ <div class="lg:col-span-2">
205
+ <!-- Header Tabs -->
206
+ <div class="bg-white rounded-t-xl shadow overflow-hidden">
207
+ <div class="flex border-b">
208
+ <button id="overviewTab" class="tab-button bg-primary text-white px-6 py-3 font-medium">Topic Overview</button>
209
+ <button id="videosTab" class="tab-button bg-white px-6 py-3 font-medium hover:bg-gray-100">Video Lectures</button>
210
+ <button id="flashcardsTab" class="tab-button bg-white px-6 py-3 font-medium hover:bg-gray-100">Flashcards</button>
211
+ <button id="quizTab" class="tab-button bg-white px-6 py-3 font-medium hover:bg-gray-100">Practice Quiz</button>
212
+ </div>
213
+
214
+ <!-- Tab Contents -->
215
+ <div class="p-6">
216
+ <!-- Overview Section -->
217
+ <div id="overviewSection" class="tab-content-section active-tab">
218
+ <div class="flex justify-between items-center mb-6">
219
+ <h2 class="text-2xl font-bold heading text-dark">Cardiology Fundamentals</h2>
220
+ <span class="bg-primary bg-opacity-10 text-primary px-3 py-1 rounded-full text-sm">Complete Learning Path</span>
221
+ </div>
222
+
223
+ <div class="bg-white border border-gray-200 rounded-xl p-6 mb-6">
224
+ <h3 class="text-xl font-bold heading mb-4">Introduction to Cardiovascular System</h3>
225
+ <p class="text-gray-600 mb-4">This comprehensive module covers all essential aspects of cardiology including anatomy, physiology, common pathologies, and treatment approaches.</p>
226
+
227
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
228
+ <div class="bg-gray-50 p-4 rounded-lg">
229
+ <h4 class="font-bold text-dark mb-2"><i class="fas fa-book-medical text-primary mr-2"></i> Learning Objectives</h4>
230
+ <ul class="list-disc pl-5 text-gray-600 space-y-1">
231
+ <li>Understand cardiac anatomy and physiology</li>
232
+ <li>Recognize common cardiovascular pathologies</li>
233
+ <li>Interpret ECG findings</li>
234
+ <li>Master pharmacological treatments</li>
235
+ </ul>
236
+ </div>
237
+ <div class="bg-gray-50 p-4 rounded-lg">
238
+ <h4 class="font-bold text-dark mb-2"><i class="fas fa-clock text-primary mr-2"></i> Estimated Completion</h4>
239
+ <div class="flex items-center text-gray-600">
240
+ <div class="w-12 h-12 mr-4">
241
+ <svg viewBox="0 0 36 36" class="circular-chart">
242
+ <path class="circle-bg" d="M18 2.0845
243
+ a 15.9155 15.9155 0 0 1 0 31.831
244
+ a 15.9155 15.9155 0 0 1 0 -31.831" fill="none" stroke="#e6e6e6" stroke-width="3"/>
245
+ <path class="circle" stroke-dasharray="60, 100" d="M18 2.0845
246
+ a 15.9155 15.9155 0 0 1 0 31.831
247
+ a 15.9155 15.9155 0 0 1 0 -31.831" fill="none" stroke="#1a75bc" stroke-width="3" stroke-linecap="round"/>
248
+ <text x="18" y="20.5" class="percentage" text-anchor="middle" fill="#1a75bc" font-size="8">60 min</text>
249
+ </svg>
250
+ </div>
251
+ <div>
252
+ <p class="text-sm">Complete all sections including:</p>
253
+ <p class="text-sm">• 4 Video Lectures</p>
254
+ <p class="text-sm">• 12 Flashcards</p>
255
+ <p class="text-sm">• 10 Question Quiz</p>
256
+ </div>
257
+ </div>
258
+ </div>
259
+ </div>
260
+
261
+ <div class="bg-primary bg-opacity-10 border-l-4 border-primary p-4 rounded-r-lg">
262
+ <div class="flex">
263
+ <div class="flex-shrink-0">
264
+ <i class="fas fa-lightbulb text-primary text-xl mt-1"></i>
265
+ </div>
266
+ <div class="ml-3">
267
+ <h4 class="font-bold text-dark">Learning Tip</h4>
268
+ <p class="text-gray-600 text-sm">Proceed through each section in order for optimal learning retention. Start with the overview, then videos, flashcards, and finally test your knowledge with the quiz.</p>
269
+ </div>
270
+ </div>
271
+ </div>
272
+ </div>
273
+
274
+ <div class="text-center mt-6">
275
+ <button class="bg-primary text-white px-6 py-3 rounded-lg font-medium hover:bg-secondary transition flex items-center mx-auto" onclick="openTab('videosSection'); setActiveTab(document.getElementById('videosTab'))">
276
+ Continue to Video Lectures <i class="fas fa-arrow-right ml-2"></i>
277
+ </button>
278
+ </div>
279
+ </div>
280
+
281
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
282
+ <!-- Flashcard 1 -->
283
+ <div class="flashcard" onclick="this.classList.toggle('flipped')">
284
+ <div class="flashcard-inner">
285
+ <div class="flashcard-front bg-white border border-gray-200">
286
+ <div class="flex items-center space-x-2 mb-4">
287
+ <div class="h-8 w-8 flex items-center justify-center bg-primary bg-opacity-10 text-primary rounded-full">
288
+ <i class="fas fa-heart"></i>
289
+ </div>
290
+ <span class="text-xs font-semibold text-primary">CARDIO PHYSIOLOGY</span>
291
+ </div>
292
+ <h3 class="font-bold text-xl heading mb-3">Frank-Starling Law</h3>
293
+ <p class="text-gray-600">Describe the relationship expressed in the Frank-Starling law of the heart.</p>
294
+ <div class="absolute bottom-4 right-4 text-gray-400">
295
+ <i class="fas fa-repeat"></i> Flip to see
296
+ </div>
297
+ </div>
298
+ <div class="flashcard-back bg-primary text-white">
299
+ <div class="text-xs mb-4">ANSWER</div>
300
+ <p class="mb-2">The Frank-Starling Law states that the stroke volume of the heart increases in response to an increase in the volume of blood filling the heart (end-diastolic volume).</p>
301
+ <p class="text-sm opacity-80 mt-2"><strong>Key Point:</strong> Intrinsic mechanism of the heart that causes increased contraction force with increased stretch.</p>
302
+ <div class="absolute bottom-4 right-4 text-white opacity-70">
303
+ <i class="fas fa-book-open"></i> Oxford Cardiovascular 4th Ed.
304
+ </div>
305
+ </div>
306
+ </div>
307
+ </div>
308
+
309
+ <!-- Flashcard 2 -->
310
+ <div class="flashcard" onclick="this.classList.toggle('flipped')">
311
+ <div class="flashcard-inner">
312
+ <div class="flashcard-front bg-white border border-gray-200">
313
+ <div class="flex items-center space-x-2 mb-4">
314
+ <div class="h-8 w-8 flex items-center justify-center bg-warning bg-opacity-10 text-warning rounded-full">
315
+ <i class="fas fa-file-medical"></i>
316
+ </div>
317
+ <span class="text-xs font-semibold text-warning">PHARMACOLOGY</span>
318
+ </div>
319
+ <h3 class="font-bold text-xl heading mb-3">ACE Inhibitors</h3>
320
+ <p class="text-gray-600">What is the mechanism of action and primary clinical use for ACE inhibitors?</p>
321
+ <div class="absolute bottom-4 right-4 text-gray-400">
322
+ <i class="fas fa-repeat"></i> Flip to see
323
+ </div>
324
+ </div>
325
+ <div class="flashcard-back bg-secondary text-white">
326
+ <div class="text-xs mb-4">ANSWER</div>
327
+ <p><strong>Mechanism:</strong> Inhibit angiotensin-converting enzyme → ↓ angiotensin II → ↓ vasoconstriction and ↓ aldosterone secretion.</p>
328
+ <p class="my-2"><strong>Uses:</strong> Hypertension, CHF, diabetic nephropathy, myocardial infarction prevention.</p>
329
+ <div class="text-sm opacity-80 mt-2"><strong>First Aid Tip:</strong> Common side effect: dry cough due to increased bradykinin.</div>
330
+ <div class="absolute bottom-4 right-4 text-white opacity-70">
331
+ <i class="fas fa-stethoscope"></i> First Aid 2023
332
+ </div>
333
+ </div>
334
+ </div>
335
+ </div>
336
+ </div>
337
+
338
+ <div class="flex justify-center space-x-4">
339
+ <button class="btn-action bg-primary text-white px-6 py-2 rounded-lg font-medium hover:bg-secondary transition flex items-center">
340
+ <i class="fas fa-plus-circle mr-2"></i> New Flashcard Set
341
+ </button>
342
+ <button class="btn-action bg-white text-dark border border-gray-300 px-6 py-2 rounded-lg font-medium hover:bg-gray-50 transition flex items-center">
343
+ <i class="fas fa-sync-alt mr-2"></i> Shuffle Cards
344
+ </button>
345
+ </div>
346
+ </div>
347
+
348
+ <!-- Videos Section -->
349
+ <div id="videosSection" class="tab-content-section">
350
+ <div class="flex justify-between items-center mb-6">
351
+ <h2 class="text-2xl font-bold heading text-dark">Cardiology Video Lectures</h2>
352
+ <span class="bg-primary bg-opacity-10 text-primary px-3 py-1 rounded-full text-sm">4 Videos</span>
353
+ </div>
354
+
355
+ <div class="bg-white border border-gray-200 rounded-xl p-6 mb-6">
356
+ <p class="text-gray-600 mb-4">Select the correct answer based on your clinical knowledge:</p>
357
+
358
+ <div class="text-xl font-medium heading mb-6">
359
+ A 58-year-old man presents to the emergency department with severe, crushing substernal chest pain that started 3 hours ago. He has a history of hypertension and smokes 1 pack per day. ECG shows ST-segment elevation in leads V1-V4. What medication should be administered immediately to reduce infarct size?
360
+ </div>
361
+
362
+ <div class="space-y-3">
363
+ <div class="quiz-option">
364
+ <input type="radio" id="option1" name="quiz" class="hidden">
365
+ <label for="option1" class="flex items-center p-4 border border-gray-300 rounded-lg cursor-pointer hover:bg-gray-50">
366
+ <div class="flex-shrink-0 w-5 h-5 rounded-full border border-gray-300 flex items-center justify-center mr-4 relative">
367
+ <div class="absolute w-3 h-3 rounded-full bg-transparent transition"></div>
368
+ </div>
369
+ <div class="font-medium text-gray-800">A) Nitroglycerin sublingual</div>
370
+ </label>
371
+ </div>
372
+
373
+ <div class="quiz-option">
374
+ <input type="radio" id="option2" name="quiz" class="hidden">
375
+ <label for="option2" class="flex items-center p-4 border border-gray-300 rounded-lg cursor-pointer hover:bg-gray-50">
376
+ <div class="flex-shrink-0 w-5 h-5 rounded-full border border-gray-300 flex items-center justify-center mr-4 relative">
377
+ <div class="absolute w-3 h-3 rounded-full bg-transparent transition"></div>
378
+ </div>
379
+ <div class="font-medium text-gray-800">B) Aspirin oral</div>
380
+ </label>
381
+ </div>
382
+
383
+ <div class="quiz-option bg-green-50 border-green-100">
384
+ <input type="radio" id="option3" name="quiz" class="hidden">
385
+ <label for="option3" class="flex items-center p-4 border-2 border-green-500 rounded-lg cursor-pointer relative">
386
+ <div class="flex-shrink-0 w-5 h-5 rounded-full border border-gray-300 flex items-center justify-center mr-4 relative">
387
+ <div class="absolute w-3 h-3 rounded-full bg-green-500"></div>
388
+ </div>
389
+ <div class="font-medium text-gray-800">C) Tissue plasminogen activator (tPA)</div>
390
+ <div class="absolute top-0 right-0 mt-2 mr-3 text-green-500">
391
+ <i class="fas fa-check-circle"></i>
392
+ </div>
393
+ </label>
394
+ <div class="mt-3 p-4 bg-green-50 rounded-lg">
395
+ <p class="font-bold text-green-700 mb-2">Correct!</p>
396
+ <p class="text-green-800">tPA is indicated for ST-elevation myocardial infarction when PCI is not available within 90 minutes. It helps dissolve the clot causing the MI, reducing infarct size.</p>
397
+ </div>
398
+ </div>
399
+
400
+ <div class="quiz-option">
401
+ <input type="radio" id="option4" name="quiz" class="hidden">
402
+ <label for="option4" class="flex items-center p-4 border border-gray-300 rounded-lg cursor-pointer hover:bg-gray-50">
403
+ <div class="flex-shrink-0 w-5 h-5 rounded-full border border-gray-300 flex items-center justify-center mr-4 relative">
404
+ <div class="absolute w-3 h-3 rounded-full bg-transparent transition"></div>
405
+ </div>
406
+ <div class="font-medium text-gray-800">D) Clopidogrel oral</div>
407
+ </label>
408
+ </div>
409
+ </div>
410
+
411
+ <div class="mt-8 flex justify-between">
412
+ <button class="bg-gray-100 text-dark px-5 py-2 rounded-lg font-medium hover:bg-gray-200 transition flex items-center">
413
+ <i class="fas fa-arrow-left mr-2"></i> Previous
414
+ </button>
415
+ <button class="bg-primary text-white px-5 py-2 rounded-lg font-medium hover:bg-secondary transition">
416
+ Next Question <i class="fas fa-arrow-right ml-2"></i>
417
+ </button>
418
+ </div>
419
+ </div>
420
+ </div>
421
+
422
+ <p class="text-gray-600 mb-6">Watch these videos in sequence to build your understanding of cardiovascular concepts.</p>
423
+
424
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
425
+ <!-- Video Card 1 -->
426
+ <div class="bg-white rounded-xl shadow overflow-hidden">
427
+ <div class="relative">
428
+ <div class="bg-gray-200 border-2 border-dashed rounded-t-xl w-full h-40"></div>
429
+ <div class="overlay absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0 transition">
430
+ <div class="w-16 h-16 flex items-center justify-center rounded-full bg-white bg-opacity-90">
431
+ <i class="fas fa-play text-primary text-2xl" style="margin-left: 4px;"></i>
432
+ </div>
433
+ </div>
434
+ </div>
435
+ <div class="p-4">
436
+ <div class="flex items-center text-xs mb-3">
437
+ <span class="bg-primary bg-opacity-10 text-primary px-2 py-1 rounded">Step 1</span>
438
+ <span class="mx-2">•</span>
439
+ <span class="text-gray-500"><i class="far fa-clock mr-1"></i> 18 min</span>
440
+ </div>
441
+ <h3 class="font-bold text-lg heading mb-2">Cardiomyopathies Review</h3>
442
+ <p class="text-gray-600 text-sm mb-4">Comprehensive guide to dilated, hypertrophic, and restrictive cardiomyopathies with ECG interpretations.</p>
443
+ <div class="flex items-center">
444
+ <div class="flex-shrink-0">
445
+ <div class="w-8 h-8 bg-primary bg-opacity-20 rounded-full flex items-center justify-center">
446
+ <i class="fas fa-graduation-cap text-primary"></i>
447
+ </div>
448
+ </div>
449
+ <div class="ml-3">
450
+ <div class="text-xs font-medium text-gray-700">Dr. Jonathan Stern</div>
451
+ <div class="text-xs text-gray-500">Johns Hopkins Medicine</div>
452
+ </div>
453
+ </div>
454
+ </div>
455
+ </div>
456
+
457
+ <!-- Video Card 2 -->
458
+ <div class="bg-white rounded-xl shadow overflow-hidden">
459
+ <div class="relative">
460
+ <div class="bg-gray-200 border-2 border-dashed rounded-t-xl w-full h-40"></div>
461
+ </div>
462
+ <div class="p-4">
463
+ <div class="flex items-center text-xs mb-3">
464
+ <span class="bg-success bg-opacity-10 text-success px-2 py-1 rounded">Ck Path</span>
465
+ <span class="mx-2">•</span>
466
+ <span class="text-gray-500"><i class="far fa-clock mr-1"></i> 24 min</span>
467
+ </div>
468
+ <h3 class="font-bold text-lg heading mb-2">Neuroanatomy Essentials</h3>
469
+ <p class="text-gray-600 text-sm mb-4">Master stroke localization with CT/MRI correlations. Includes lesions of the motor and sensory pathways.</p>
470
+ <div class="flex items-center">
471
+ <div class="flex-shrink-0">
472
+ <div class="w-8 h-8 bg-accent bg-opacity-20 rounded-full flex items-center justify-center">
473
+ <i class="fas fa-user-md text-accent"></i>
474
+ </div>
475
+ </div>
476
+ <div class="ml-3">
477
+ <div class="text-xs font-medium text-gray-700">Dr. Emily Parkinson</div>
478
+ <div class="text-xs text-gray-500">Oxford Medical Videos</div>
479
+ </div>
480
+ </div>
481
+ </div>
482
+ </div>
483
+
484
+ <!-- Video Card 3 -->
485
+ <div class="bg-white rounded-xl shadow overflow-hidden">
486
+ <div class="relative">
487
+ <div class="bg-gray-200 border-2 border-dashed rounded-t-xl w-full h-40"></div>
488
+ </div>
489
+ <div class="p-4">
490
+ <div class="flex items-center text-xs mb-3">
491
+ <span class="bg-warning bg-opacity-10 text-warning px-2 py-1 rounded">Step 2</span>
492
+ <span class="mx-2">•</span>
493
+ <span class="text-gray-500"><i class="far fa-clock mr-1"></i> 32 min</span>
494
+ </div>
495
+ <h3 class="font-bold text-lg heading mb-2">Pharmacokinetics Deep Dive</h3>
496
+ <p class="text-gray-600 text-sm mb-4">Understanding drug absorption, distribution, metabolism and excretion with clinical correlations.</p>
497
+ <div class="flex items-center">
498
+ <div class="flex-shrink-0">
499
+ <div class="w-8 h-8 bg-secondary bg-opacity-20 rounded-full flex items-center justify-center">
500
+ <i class="fas fa-flask text-secondary"></i>
501
+ </div>
502
+ </div>
503
+ <div class="ml-3">
504
+ <div class="text-xs font-medium text-gray-700">Dr. Michael Chen</div>
505
+ <div class="text-xs text-gray-500">First Aid Team</div>
506
+ </div>
507
+ </div>
508
+ </div>
509
+ </div>
510
+
511
+ <!-- Video Card 4 -->
512
+ <div class="bg-white rounded-xl shadow overflow-hidden">
513
+ <div class="relative">
514
+ <div class="bg-gray-200 border-2 border-dashed rounded-t-xl w-full h-40"></div>
515
+ </div>
516
+ <div class="p-4">
517
+ <div class="flex items-center text-xs mb-3">
518
+ <span class="bg-success bg-opacity-10 text-success px-2 py-1 rounded">Pathology</span>
519
+ <span class="mx-2">•</span>
520
+ <span class="text-gray-500"><i class="far fa-clock mr-1"></i> 15 min</span>
521
+ </div>
522
+ <h3 class="font-bold text-lg heading mb-2">Inflammatory Pathways</h3>
523
+ <p class="text-gray-600 text-sm mb-4">Innate vs. adaptive immunity with focus on cytokine signaling pathways and clinical applications.</p>
524
+ <div class="flex items-center">
525
+ <div class="flex-shrink-0">
526
+ <div class="w-8 h-8 bg-primary bg-opacity-20 rounded-full flex items-center justify-center">
527
+ <i class="fas fa-microscope text-primary"></i>
528
+ </div>
529
+ </div>
530
+ <div class="ml-3">
531
+ <div class="text-xs font-medium text-gray-700">Dr. Anika Patel</div>
532
+ <div class="text-xs text-gray-500">Harvard Medical School</div>
533
+ </div>
534
+ </div>
535
+ </div>
536
+ </div>
537
+ </div>
538
+
539
+ <div class="text-center mt-8">
540
+ <button class="bg-primary text-white px-6 py-3 rounded-lg font-medium hover:bg-secondary transition flex items-center mx-auto" onclick="openTab('flashcardsSection'); setActiveTab(document.getElementById('flashcardsTab'))">
541
+ Continue to Flashcards <i class="fas fa-arrow-right ml-2"></i>
542
+ </button>
543
+ </div>
544
+ </div>
545
+ </div>
546
+ </div>
547
+ </div>
548
+ </div>
549
+ </main>
550
+
551
+ <!-- Footer -->
552
+ <footer class="bg-dark text-white py-8 mt-12">
553
+ <div class="container mx-auto px-4">
554
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
555
+ <div>
556
+ <div class="flex items-center space-x-3 mb-4">
557
+ <i class="fas fa-heartbeat text-3xl text-accent"></i>
558
+ <h2 class="text-2xl font-bold heading">MediTeach Pro</h2>
559
+ </div>
560
+ <p class="text-gray-400">Medical education platform powered by AI. Developed for tomorrow's physicians.</p>
561
+ </div>
562
+ <div>
563
+ <h3 class="text-lg font-bold mb-4 heading">Premium Resources</h3>
564
+ <ul class="text-gray-400 space-y-2">
565
+ <li class="hover:text-white transition"><i class="fas fa-star text-accent mr-2"></i> First Aid USMLE Series</li>
566
+ <li class="hover:text-white transition"><i class="fas fa-star text-accent mr-2"></i> Oxford Clinical Handbooks</li>
567
+ <li class="hover:text-white transition"><i class="fas fa-star text-accent mr-2"></i> Pathoma Foundation Series</li>
568
+ <li class="hover:text-white transition"><i class="fas fa-star text-accent mr-2"></i> Robbins Pathology</li>
569
+ </ul>
570
+ </div>
571
+ <div>
572
+ <h3 class="text-lg font-bold mb-4 heading">Download App</h3>
573
+ <p class="text-gray-400 mb-4">Get our mobile app on the App Store or Google Play</p>
574
+ <div class="flex space-x-3">
575
+ <button class="bg-gray-700 hover:bg-gray-600 transition text-white rounded-lg px-4 py-2 flex items-center">
576
+ <i class="fab fa-apple mr-2 text-xl"></i>
577
+ <span>App Store</span>
578
+ </button>
579
+ <button class="bg-gray-700 hover:bg-gray-600 transition text-white rounded-lg px-4 py-2 flex items-center">
580
+ <i class="fab fa-google-play mr-2 text-lg"></i>
581
+ <span>Play Store</span>
582
+ </button>
583
+ </div>
584
+ </div>
585
+ </div>
586
+ <div class="mt-8 pt-6 border-t border-gray-800 text-center text-gray-500 text-sm">
587
+ <p>MediTeach Pro - Professional Medical Education Platform © 2023. For educational purposes only.</p>
588
+ </div>
589
+ </div>
590
+ </footer>
591
+
592
+ <script>
593
+ // Tab functionality
594
+ document.getElementById('overviewTab').addEventListener('click', function() {
595
+ openTab('overviewSection');
596
+ setActiveTab(this);
597
+ });
598
+
599
+ document.getElementById('videosTab').addEventListener('click', function() {
600
+ openTab('videosSection');
601
+ setActiveTab(this);
602
+ });
603
+
604
+ document.getElementById('flashcardsTab').addEventListener('click', function() {
605
+ openTab('flashcardsSection');
606
+ setActiveTab(this);
607
+ });
608
+
609
+ document.getElementById('quizTab').addEventListener('click', function() {
610
+ openTab('quizSection');
611
+ setActiveTab(this);
612
+ });
613
+
614
+ function openTab(tabId) {
615
+ var tabContents = document.getElementsByClassName('tab-content-section');
616
+ for (var i = 0; i < tabContents.length; i++) {
617
+ tabContents[i].classList.remove('active-tab');
618
+ }
619
+ document.getElementById(tabId).classList.add('active-tab');
620
+ }
621
+
622
+ function setActiveTab(tabBtn) {
623
+ var tabs = document.getElementsByClassName('tab-button');
624
+ for (var i = 0; i < tabs.length; i++) {
625
+ tabs[i].classList.remove('bg-primary', 'text-white');
626
+ tabs[i].classList.add('bg-white');
627
+ }
628
+ tabBtn.classList.remove('bg-white');
629
+ tabBtn.classList.add('bg-primary', 'text-white');
630
+ }
631
+
632
+ // Flashcard functionality
633
+ document.querySelectorAll('.flashcard').forEach(card => {
634
+ card.addEventListener('click', function() {
635
+ this.classList.toggle('flipped');
636
+ });
637
+ });
638
+
639
+ // Quiz option selection
640
+ document.querySelectorAll('.quiz-option').forEach(option => {
641
+ option.querySelector('input').addEventListener('change', function() {
642
+ this.closest('.quiz-option').classList.add('bg-green-50', 'border-green-100');
643
+ });
644
+ });
645
+ </script>
646
+ <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=SAboodh/ai-midical-study" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
647
+ </html>