Spaces:
Running
Running
make a modern minimal looking with dark and light mode toggle with god tier ui ux for a presentation website with accessibility tools tailored towards presentation - Initial Deployment
Browse files- README.md +6 -4
- index.html +721 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: blue
|
| 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: nebulizer
|
| 3 |
+
emoji: π³
|
| 4 |
+
colorFrom: green
|
| 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,721 @@
|
|
| 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>RTEdge.net β Nebulization Mastery</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://unpkg.com/heroicons@2.0.13/dist/heroicons.js"></script>
|
| 9 |
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
| 10 |
+
<style>
|
| 11 |
+
:root {
|
| 12 |
+
--bg-primary: #ffffff;
|
| 13 |
+
--bg-secondary: #f8fafc;
|
| 14 |
+
--bg-card: rgba(255,255,255,0.9);
|
| 15 |
+
--text-primary: #1e293b;
|
| 16 |
+
--text-secondary: #64748b;
|
| 17 |
+
--accent: #3b82f6;
|
| 18 |
+
--border: #e2e8f0;
|
| 19 |
+
--shadow: rgba(0,0,0,0.1);
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
[data-theme="dark"] {
|
| 23 |
+
--bg-primary: #0f172a;
|
| 24 |
+
--bg-secondary: #1e293b;
|
| 25 |
+
--bg-card: rgba(30,41,59,0.8);
|
| 26 |
+
--text-primary: #f8fafc;
|
| 27 |
+
--text-secondary: #94a3b8;
|
| 28 |
+
--border: #334155;
|
| 29 |
+
--shadow: rgba(0,0,0,0.3);
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
* { transition: background-color 0.3s, color 0.3s; }
|
| 33 |
+
|
| 34 |
+
body {
|
| 35 |
+
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
| 36 |
+
background: var(--bg-primary);
|
| 37 |
+
color: var(--text-primary);
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
.card {
|
| 41 |
+
background: var(--bg-card);
|
| 42 |
+
border: 1px solid var(--border);
|
| 43 |
+
box-shadow: 0 4px 6px -1px var(--shadow);
|
| 44 |
+
border-radius: 16px;
|
| 45 |
+
backdrop-filter: blur(20px);
|
| 46 |
+
-webkit-backdrop-filter: blur(20px);
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
.slide {
|
| 50 |
+
opacity: 0;
|
| 51 |
+
transform: translateY(20px);
|
| 52 |
+
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
.slide.active {
|
| 56 |
+
opacity: 1;
|
| 57 |
+
transform: translateY(0);
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
.btn-nav {
|
| 61 |
+
transition: all 0.2s;
|
| 62 |
+
background: var(--accent);
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
.btn-nav:hover:not(:disabled) {
|
| 66 |
+
transform: translateY(-1px);
|
| 67 |
+
box-shadow: 0 4px 12px rgba(59,130,246,0.4);
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
.btn-nav:disabled {
|
| 71 |
+
opacity: 0.5;
|
| 72 |
+
cursor: not-allowed;
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
.traffic-light {
|
| 76 |
+
width: 16px;
|
| 77 |
+
height: 16px;
|
| 78 |
+
border-radius: 50%;
|
| 79 |
+
margin-right: 8px;
|
| 80 |
+
flex-shrink: 0;
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
.green { background: #10b981; }
|
| 84 |
+
.yellow { background: #f59e0b; }
|
| 85 |
+
.red { background: #ef4444; }
|
| 86 |
+
|
| 87 |
+
/* Accessibility */
|
| 88 |
+
.sr-only {
|
| 89 |
+
position: absolute;
|
| 90 |
+
width: 1px;
|
| 91 |
+
height: 1px;
|
| 92 |
+
padding: 0;
|
| 93 |
+
margin: -1px;
|
| 94 |
+
overflow: hidden;
|
| 95 |
+
clip: rect(0,0,0,0);
|
| 96 |
+
white-space: nowrap;
|
| 97 |
+
border: 0;
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
.focus-visible:focus {
|
| 101 |
+
outline: 2px solid var(--accent);
|
| 102 |
+
outline-offset: 2px;
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
.dark-toggle {
|
| 106 |
+
background: var(--bg-secondary);
|
| 107 |
+
border: 1px solid var(--border);
|
| 108 |
+
padding: 8px;
|
| 109 |
+
border-radius: 50%;
|
| 110 |
+
cursor: pointer;
|
| 111 |
+
transition: all 0.2s;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.dark-toggle:hover {
|
| 115 |
+
transform: scale(1.1);
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
.progress-bar {
|
| 119 |
+
background: var(--bg-secondary);
|
| 120 |
+
height: 4px;
|
| 121 |
+
border-radius: 2px;
|
| 122 |
+
overflow: hidden;
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
+
.progress-fill {
|
| 126 |
+
background: var(--accent);
|
| 127 |
+
height: 100%;
|
| 128 |
+
transition: width 0.4s ease;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
.nav-item {
|
| 132 |
+
padding: 12px 16px;
|
| 133 |
+
border-radius: 8px;
|
| 134 |
+
transition: all 0.2s;
|
| 135 |
+
text-align: left;
|
| 136 |
+
width: 100%;
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
.nav-item:hover {
|
| 140 |
+
background: var(--bg-secondary);
|
| 141 |
+
}
|
| 142 |
+
|
| 143 |
+
.nav-item.active {
|
| 144 |
+
background: var(--accent);
|
| 145 |
+
color: white;
|
| 146 |
+
}
|
| 147 |
+
|
| 148 |
+
.skip-link {
|
| 149 |
+
position: absolute;
|
| 150 |
+
top: -40px;
|
| 151 |
+
left: 0;
|
| 152 |
+
background: var(--accent);
|
| 153 |
+
color: white;
|
| 154 |
+
padding: 8px;
|
| 155 |
+
text-decoration: none;
|
| 156 |
+
border-radius: 0 0 4px 0;
|
| 157 |
+
}
|
| 158 |
+
|
| 159 |
+
.skip-link:focus {
|
| 160 |
+
top: 0;
|
| 161 |
+
}
|
| 162 |
+
|
| 163 |
+
@media (max-width: 768px) {
|
| 164 |
+
.card {
|
| 165 |
+
border-radius: 12px;
|
| 166 |
+
}
|
| 167 |
+
}
|
| 168 |
+
</style>
|
| 169 |
+
</head>
|
| 170 |
+
<body class="bg-primary">
|
| 171 |
+
<a href="#main-content" class="skip-link">Skip to main content</a>
|
| 172 |
+
|
| 173 |
+
<!-- Header -->
|
| 174 |
+
<header class="p-4 md:p-6 flex justify-between items-center border-b border-border">
|
| 175 |
+
<h1 class="text-xl md:text-2xl font-bold" style="color: var(--accent);">
|
| 176 |
+
RTEdge.net <span class="text-secondary ml-2 text-sm md:text-base font-normal">Nebulization Mastery</span>
|
| 177 |
+
</h1>
|
| 178 |
+
<div class="flex items-center space-x-3">
|
| 179 |
+
<span class="text-sm text-secondary hidden md:block" aria-live="polite">
|
| 180 |
+
Slide <span id="currentSlide">1</span> of <span id="totalSlides">17</span>
|
| 181 |
+
</span>
|
| 182 |
+
<button id="themeToggle" class="dark-toggle" aria-label="Toggle dark mode">
|
| 183 |
+
<svg id="themeIcon" class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
| 184 |
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z" />
|
| 185 |
+
</svg>
|
| 186 |
+
</button>
|
| 187 |
+
<button id="menuBtn" class="md:hidden p-2 rounded-lg hover:bg-secondary" aria-label="Toggle navigation">
|
| 188 |
+
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
| 189 |
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
|
| 190 |
+
</svg>
|
| 191 |
+
</button>
|
| 192 |
+
</div>
|
| 193 |
+
</header>
|
| 194 |
+
|
| 195 |
+
<!-- Progress Bar -->
|
| 196 |
+
<div class="px-4 md:px-6 py-3">
|
| 197 |
+
<div class="progress-bar">
|
| 198 |
+
<div id="progressBar" class="progress-fill" style="width:6.25%"></div>
|
| 199 |
+
</div>
|
| 200 |
+
</div>
|
| 201 |
+
|
| 202 |
+
<!-- Main Content -->
|
| 203 |
+
<main class="flex-grow flex flex-col md:flex-row px-4 md:px-6 pb-6 gap-4 overflow-hidden" id="main-content">
|
| 204 |
+
<!-- Sidebar Navigation -->
|
| 205 |
+
<aside id="sidebar" class="hidden md:block w-full md:w-72 shrink-0">
|
| 206 |
+
<div class="card p-4 h-full overflow-y-auto">
|
| 207 |
+
<nav>
|
| 208 |
+
<ul id="navList" class="space-y-1 text-sm">
|
| 209 |
+
<!-- JS will populate -->
|
| 210 |
+
</ul>
|
| 211 |
+
</nav>
|
| 212 |
+
</div>
|
| 213 |
+
</aside>
|
| 214 |
+
|
| 215 |
+
<!-- Slide Content -->
|
| 216 |
+
<section class="flex-grow flex flex-col" aria-live="polite">
|
| 217 |
+
<div class="card p-6 md:p-8 flex-grow overflow-y-auto">
|
| 218 |
+
<main id="slideContainer">
|
| 219 |
+
<!-- Slides will be injected here -->
|
| 220 |
+
</main>
|
| 221 |
+
</div>
|
| 222 |
+
|
| 223 |
+
<!-- Navigation Controls -->
|
| 224 |
+
<nav class="mt-4 flex justify-between items-center" aria-label="Slide navigation">
|
| 225 |
+
<button id="prevBtn" class="btn-nav text-white px-4 py-2 rounded-lg shadow focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2" aria-label="Previous slide">
|
| 226 |
+
<span aria-hidden="true">β</span> Previous
|
| 227 |
+
</button>
|
| 228 |
+
<button id="nextBtn" class="btn-nav text-white px-4 py-2 rounded-lg shadow focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2" aria-label="Next slide">
|
| 229 |
+
Next <span aria-hidden="true">β</span>
|
| 230 |
+
</button>
|
| 231 |
+
</nav>
|
| 232 |
+
</section>
|
| 233 |
+
</main>
|
| 234 |
+
|
| 235 |
+
<!-- Scripts -->
|
| 236 |
+
<script>
|
| 237 |
+
// Theme management
|
| 238 |
+
const themeToggle = document.getElementById('themeToggle');
|
| 239 |
+
const themeIcon = document.getElementById('themeIcon');
|
| 240 |
+
const html = document.documentElement;
|
| 241 |
+
|
| 242 |
+
// Check for saved theme preference or default to light
|
| 243 |
+
const savedTheme = localStorage.getItem('theme') || 'light';
|
| 244 |
+
html.setAttribute('data-theme', savedTheme);
|
| 245 |
+
updateThemeIcon(savedTheme);
|
| 246 |
+
|
| 247 |
+
themeToggle.addEventListener('click', () => {
|
| 248 |
+
const currentTheme = html.getAttribute('data-theme');
|
| 249 |
+
const newTheme = currentTheme === 'dark' ? 'light' : 'dark';
|
| 250 |
+
html.setAttribute('data-theme', newTheme);
|
| 251 |
+
localStorage.setItem('theme', newTheme);
|
| 252 |
+
updateThemeIcon(newTheme);
|
| 253 |
+
});
|
| 254 |
+
|
| 255 |
+
function updateThemeIcon(theme) {
|
| 256 |
+
if (theme === 'dark') {
|
| 257 |
+
themeIcon.innerHTML = '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707" />';
|
| 258 |
+
} else {
|
| 259 |
+
themeIcon.innerHTML = '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z" />';
|
| 260 |
+
}
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
// Keyboard navigation
|
| 264 |
+
document.addEventListener('keydown', (e) => {
|
| 265 |
+
if (e.key === 'ArrowLeft') goToSlide(current - 1);
|
| 266 |
+
if (e.key === 'ArrowRight') goToSlide(current + 1);
|
| 267 |
+
if (e.key === 'Home') goToSlide(0);
|
| 268 |
+
if (e.key === 'End') goToSlide(total - 1);
|
| 269 |
+
});
|
| 270 |
+
|
| 271 |
+
const slides = [
|
| 272 |
+
/* 1 */ `
|
| 273 |
+
<h2 class="text-2xl md:text-3xl font-bold text-sky-600 mb-4">π― Session Overview</h2>
|
| 274 |
+
<p class="mb-2 text-lg font-semibold">Duration: <span class="text-sky-600">30 minutes</span></p>
|
| 275 |
+
<p class="mb-4">Target Audience: Nursing students and healthcare professionals</p>
|
| 276 |
+
<p class="mb-4 font-medium">Teaching Method: Interactive presentation with demonstrations</p>
|
| 277 |
+
<div class="bg-sky-50 border-l-4 border-sky-500 p-4 mb-4">
|
| 278 |
+
<p class="font-semibold text-sky-700 mb-1">π‘ Did You Know?</p>
|
| 279 |
+
<p class="text-sm text-slate-700">Nebulization therapy is used by millions worldwide for direct lung medication delivery, offering rapid relief with minimal systemic side effects.</p>
|
| 280 |
+
</div>
|
| 281 |
+
<p class="text-lg font-bold text-sky-700">π Get Ready to Master Life-Saving Skills!</p>
|
| 282 |
+
`,
|
| 283 |
+
/* 2 */ `
|
| 284 |
+
<h2 class="text-2xl md:text-3xl font-bold text-sky-600 mb-4">By the end of this session, you will be able to:</h2>
|
| 285 |
+
<ul class="list-disc list-inside space-y-2 text-slate-800">
|
| 286 |
+
<li><strong>Define</strong> nebulization and identify its three main types</li>
|
| 287 |
+
<li><strong>Execute</strong> the B.A.S.I.C. procedure safely and effectively</li>
|
| 288 |
+
<li><strong>Recognize</strong> indications, contraindications, and complications using the Traffic Light System</li>
|
| 289 |
+
<li><strong>Calculate</strong> appropriate medication dosages for different patient groups</li>
|
| 290 |
+
<li><strong>Demonstrate</strong> proper nursing responsibilities and patient education</li>
|
| 291 |
+
<li><strong>Evaluate</strong> advantages and limitations in clinical practice</li>
|
| 292 |
+
</ul>
|
| 293 |
+
<div class="mt-6 p-4 bg-slate-100 rounded-lg">
|
| 294 |
+
<p class="font-bold text-slate-800">π Key Framework: B.A.S.I.C. Method</p>
|
| 295 |
+
<p class="text-sm text-slate-700 mt-1">
|
| 296 |
+
<strong>B</strong>aseline assessment β <strong>A</strong>ssemble equipment β <strong>S</strong>tart therapy β <strong>I</strong>nstruct patient β <strong>C</strong>heck response
|
| 297 |
+
</p>
|
| 298 |
+
</div>
|
| 299 |
+
`,
|
| 300 |
+
/* 3 */ `
|
| 301 |
+
<h2 class="text-2xl md:text-3xl font-bold text-sky-600 mb-4">π¬ Scientific Definition</h2>
|
| 302 |
+
<p class="mb-4 text-slate-800">
|
| 303 |
+
<strong>Nebulization</strong>: A medical procedure that converts liquid medication into fine aerosol mist (1-5 micrometers) for direct inhalation into the respiratory tract via a nebulizer device.
|
| 304 |
+
</p>
|
| 305 |
+
<div class="space-y-4">
|
| 306 |
+
<div>
|
| 307 |
+
<p class="font-bold text-slate-800">βοΈ Physics Behind It</p>
|
| 308 |
+
<p class="text-sm text-slate-700">Venturi Principle: High-velocity airflow creates vacuum β liquid becomes fine mist β particles penetrate deep into alveoli</p>
|
| 309 |
+
</div>
|
| 310 |
+
<div>
|
| 311 |
+
<p class="font-bold text-slate-800">π― Why It Works</p>
|
| 312 |
+
<p class="text-sm text-slate-700">Direct lung delivery bypasses gastrointestinal system, providing rapid onset (minutes vs hours) with minimal systemic effects</p>
|
| 313 |
+
</div>
|
| 314 |
+
<div>
|
| 315 |
+
<p class="font-bold text-slate-800">π‘ Clinical Advantage</p>
|
| 316 |
+
<p class="text-sm text-slate-700">Higher local drug concentrations in lungs while reducing systemic side effects</p>
|
| 317 |
+
</div>
|
| 318 |
+
</div>
|
| 319 |
+
`,
|
| 320 |
+
/* 4 */ `
|
| 321 |
+
<h2 class="text-2xl md:text-3xl font-bold text-sky-600 mb-4">Nebulizer Types</h2>
|
| 322 |
+
<div class="overflow-x-auto">
|
| 323 |
+
<table class="min-w-full text-sm text-left text-slate-700">
|
| 324 |
+
<thead class="bg-slate-100">
|
| 325 |
+
<tr>
|
| 326 |
+
<th class="p-2 font-semibold">Type</th>
|
| 327 |
+
<th class="p-2 font-semibold">Mechanism</th>
|
| 328 |
+
<th class="p-2 font-semibold">Best Use</th>
|
| 329 |
+
<th class="p-2 font-semibold">Memory Aid</th>
|
| 330 |
+
<th class="p-2 font-semibold">Key Limitation</th>
|
| 331 |
+
</tr>
|
| 332 |
+
</thead>
|
| 333 |
+
<tbody>
|
| 334 |
+
<tr class="border-b">
|
| 335 |
+
<td class="p-2 font-bold">Jet (Pneumatic)</td>
|
| 336 |
+
<td class="p-2">Compressed air/Oβ (6-8 L/min)</td>
|
| 337 |
+
<td class="p-2">Hospital acute care</td>
|
| 338 |
+
<td class="p-2 italic">Just Air</td>
|
| 339 |
+
<td class="p-2">Noisy (60 dB), 5-15 min</td>
|
| 340 |
+
</tr>
|
| 341 |
+
<tr class="border-b">
|
| 342 |
+
<td class="p-2 font-bold">Ultrasonic</td>
|
| 343 |
+
<td class="p-2">Sound waves (1-3 MHz)</td>
|
| 344 |
+
<td class="p-2">Quiet home use</td>
|
| 345 |
+
<td class="p-2 italic">Ultra-Quiet</td>
|
| 346 |
+
<td class="p-2">Heat damages proteins</td>
|
| 347 |
+
</tr>
|
| 348 |
+
<tr>
|
| 349 |
+
<td class="p-2 font-bold">Mesh</td>
|
| 350 |
+
<td class="p-2">Vibrating mesh/plate</td>
|
| 351 |
+
<td class="p-2">Portable, efficient</td>
|
| 352 |
+
<td class="p-2 italic">Most Advanced</td>
|
| 353 |
+
<td class="p-2">Expensive, needs cleaning</td>
|
| 354 |
+
</tr>
|
| 355 |
+
</tbody>
|
| 356 |
+
</table>
|
| 357 |
+
</div>
|
| 358 |
+
<div class="mt-4 p-3 bg-red-100 border-l-4 border-red-500 text-red-700 font-semibold">
|
| 359 |
+
β οΈ Critical Remember: J-U-M! Jet for hospitals β’ Ultrasonic for home β’ Mesh for efficiency
|
| 360 |
+
</div>
|
| 361 |
+
`,
|
| 362 |
+
/* 5 */ `
|
| 363 |
+
<h2 class="text-2xl md:text-3xl font-bold text-sky-600 mb-4">π¬ Primary Goal & Applications</h2>
|
| 364 |
+
<p class="mb-4 font-bold text-slate-800">Direct lung delivery β Higher local concentration β Fewer systemic effects</p>
|
| 365 |
+
<div class="grid md:grid-cols-2 gap-4 text-sm">
|
| 366 |
+
<div>
|
| 367 |
+
<p class="font-bold text-slate-800 mb-1">π« Bronchodilation</p>
|
| 368 |
+
<p class="text-slate-700">Opens airways, relieves wheezing <em>(Salbutamol)</em></p>
|
| 369 |
+
</div>
|
| 370 |
+
<div>
|
| 371 |
+
<p class="font-bold text-slate-800 mb-1">π₯ Anti-Inflammatory</p>
|
| 372 |
+
<p class="text-slate-700">Reduces mucosal swelling <em>(Budesonide)</em></p>
|
| 373 |
+
</div>
|
| 374 |
+
<div>
|
| 375 |
+
<p class="font-bold text-slate-800 mb-1">π§ Mucociliary Clearance</p>
|
| 376 |
+
<p class="text-slate-700">Hydrates airways <em>(Hypertonic saline)</em></p>
|
| 377 |
+
</div>
|
| 378 |
+
<div>
|
| 379 |
+
<p class="font-bold text-slate-800 mb-1">π¦ Infection Control</p>
|
| 380 |
+
<p class="text-slate-700">Local antibiotics/antivirals</p>
|
| 381 |
+
</div>
|
| 382 |
+
</div>
|
| 383 |
+
<p class="mt-6 text-slate-800 font-semibold">π₯ Universal Access: Perfect for infants, elderly, cognitively impaired, or acute distress</p>
|
| 384 |
+
`,
|
| 385 |
+
/* 6 */ `
|
| 386 |
+
<h2 class="text-2xl md:text-3xl font-bold text-sky-600 mb-4">Indications</h2>
|
| 387 |
+
<div class="space-y-4">
|
| 388 |
+
<div>
|
| 389 |
+
<h3 class="text-lg font-bold text-red-600">π¨ ACUTE CONDITIONS</h3>
|
| 390 |
+
<ul class="list-disc list-inside ml-4 text-sm text-slate-700">
|
| 391 |
+
<li>Asthma attacks (SpOβ <92%)</li>
|
| 392 |
+
<li>Acute bronchospasm</li>
|
| 393 |
+
<li>Anaphylaxis with respiratory distress</li>
|
| 394 |
+
<li>COPD exacerbations</li>
|
| 395 |
+
</ul>
|
| 396 |
+
</div>
|
| 397 |
+
<div>
|
| 398 |
+
<h3 class="text-lg font-bold text-green-600">π’ CHRONIC CONDITIONS</h3>
|
| 399 |
+
<ul class="list-disc list-inside ml-4 text-sm text-slate-700">
|
| 400 |
+
<li>Cystic Fibrosis</li>
|
| 401 |
+
<li>Bronchiectasis</li>
|
| 402 |
+
<li>Post-extubation airway management</li>
|
| 403 |
+
<li>RSV bronchiolitis in children</li>
|
| 404 |
+
</ul>
|
| 405 |
+
</div>
|
| 406 |
+
</div>
|
| 407 |
+
<div class="mt-6 p-4 bg-slate-100 rounded-lg">
|
| 408 |
+
<p class="font-bold text-slate-800">π Case Study</p>
|
| 409 |
+
<p class="text-sm text-slate-700">65-year-old COPD, RR 32, SpOβ 88%, wheezing β Immediate nebulize Salbutamol!</p>
|
| 410 |
+
</div>
|
| 411 |
+
`,
|
| 412 |
+
/* 7 */ `
|
| 413 |
+
<h2 class="text-2xl md:text-3xl font-bold text-sky-600 mb-4">Contraindications</h2>
|
| 414 |
+
<div class="space-y-4">
|
| 415 |
+
<div>
|
| 416 |
+
<h3 class="text-lg font-bold text-red-700">β ABSOLUTE</h3>
|
| 417 |
+
<ul class="list-disc list-inside ml-4 text-sm text-slate-700">
|
| 418 |
+
<li>Known drug hypersensitivity</li>
|
| 419 |
+
<li>Active respiratory tract bleeding</li>
|
| 420 |
+
<li>Severe heart failure with tachycardia >120 bpm</li>
|
| 421 |
+
</ul>
|
| 422 |
+
</div>
|
| 423 |
+
<div>
|
| 424 |
+
<h3 class="text-lg font-bold text-yellow-600">β οΈ RELATIVE</h3>
|
| 425 |
+
<ul class="list-disc list-inside ml-4 text-sm text-slate-700">
|
| 426 |
+
<li>Pulmonary edema</li>
|
| 427 |
+
<li>Purulent tonsillitis</li>
|
| 428 |
+
<li>Severe anxiety</li>
|
| 429 |
+
<li>Unconscious (non-ventilated)</li>
|
| 430 |
+
</ul>
|
| 431 |
+
</div>
|
| 432 |
+
</div>
|
| 433 |
+
<div class="mt-6 p-3 bg-red-100 border-l-4 border-red-500 text-red-700 font-semibold">
|
| 434 |
+
π΄ LIFE-THREATENING: COPD patients use AIR, NEVER oxygen as driving gas!
|
| 435 |
+
</div>
|
| 436 |
+
`,
|
| 437 |
+
/* 8 */ `
|
| 438 |
+
<h2 class="text-2xl md:text-3xl font-bold text-sky-600 mb-4">π Equipment Checklist</h2>
|
| 439 |
+
<div class="space-y-4 text-sm">
|
| 440 |
+
<div>
|
| 441 |
+
<h3 class="font-bold text-slate-800">π§ Core Equipment</h3>
|
| 442 |
+
<ul class="list-disc list-inside ml-4 text-slate-700">
|
| 443 |
+
<li>Nebulizer machine, medication cup, mouthpiece/face mask, tubing</li>
|
| 444 |
+
</ul>
|
| 445 |
+
</div>
|
| 446 |
+
<div>
|
| 447 |
+
<h3 class="font-bold text-slate-800">π Medications & Supplies</h3>
|
| 448 |
+
<ul class="list-disc list-inside ml-4 text-slate-700">
|
| 449 |
+
<li>Prescribed meds, sterile saline 0.9%, sterile syringes, PPE</li>
|
| 450 |
+
</ul>
|
| 451 |
+
</div>
|
| 452 |
+
<div>
|
| 453 |
+
<h3 class="font-bold text-slate-800">π Monitoring</h3>
|
| 454 |
+
<ul class="list-disc list-inside ml-4 text-slate-700">
|
| 455 |
+
<li>Pulse oximeter, stethoscope, BP monitor, emergency meds</li>
|
| 456 |
+
</ul>
|
| 457 |
+
</div>
|
| 458 |
+
<div>
|
| 459 |
+
<h3 class="font-bold text-slate-800">π§½ Cleaning Supplies</h3>
|
| 460 |
+
<ul class="list-disc list-inside ml-4 text-slate-700">
|
| 461 |
+
<li>Antiseptic solution, sterile water, towels, disposal bags</li>
|
| 462 |
+
</ul>
|
| 463 |
+
</div>
|
| 464 |
+
</div>
|
| 465 |
+
<p class="mt-4 p-3 bg-red-100 border-l-4 border-red-500 text-red-700 font-semibold">
|
| 466 |
+
ONLY use sterile normal saline for dilution β NEVER tap water or water for injection
|
| 467 |
+
</p>
|
| 468 |
+
`,
|
| 469 |
+
/* 9 */ `
|
| 470 |
+
<h2 class="text-2xl md:text-3xl font-bold text-sky-600 mb-4">π B.A.S.I.C. Framework</h2>
|
| 471 |
+
<div class="space-y-3 text-sm">
|
| 472 |
+
<div>
|
| 473 |
+
<p class="font-bold text-slate-800">B - Baseline Assessment</p>
|
| 474 |
+
<ul class="list-disc list-inside ml-4 text-slate-700">
|
| 475 |
+
<li>Verify order, vitals, explain procedure</li>
|
| 476 |
+
</ul>
|
| 477 |
+
</div>
|
| 478 |
+
<div>
|
| 479 |
+
<p class="font-bold text-slate-800">A - Assemble Equipment</p>
|
| 480 |
+
<ul class="list-disc list-inside ml-4 text-slate-700">
|
| 481 |
+
<li>Connect tubing, add meds, dilute to 3-5ml</li>
|
| 482 |
+
</ul>
|
| 483 |
+
</div>
|
| 484 |
+
<div>
|
| 485 |
+
<p class="font-bold text-slate-800">S - Start Therapy</p>
|
| 486 |
+
<ul class="list-disc list-inside ml-4 text-slate-700">
|
| 487 |
+
<li>Position upright 45-90Β°, mask seal, 6-8 L/min</li>
|
| 488 |
+
</ul>
|
| 489 |
+
</div>
|
| 490 |
+
<div>
|
| 491 |
+
<p class="font-bold text-slate-800">I - Instruct Patient</p>
|
| 492 |
+
<ul class="list-disc list-inside ml-4 text-slate-700">
|
| 493 |
+
<li>"Breathe slowly, hold 2-3 sec, exhale through nose"</li>
|
| 494 |
+
</ul>
|
| 495 |
+
</div>
|
| 496 |
+
<div>
|
| 497 |
+
<p class="font-bold text-slate-800">C - Check Response</p>
|
| 498 |
+
<ul class="list-disc list-inside ml-4 text-slate-700">
|
| 499 |
+
<li>Monitor vitals Q2min, watch complications, document</li>
|
| 500 |
+
</ul>
|
| 501 |
+
</div>
|
| 502 |
+
</div>
|
| 503 |
+
`,
|
| 504 |
+
/* 10 */ `
|
| 505 |
+
<h2 class="text-2xl md:text-3xl font-bold text-sky-600 mb-4">π¦ Traffic Light System</h2>
|
| 506 |
+
<div class="space-y-4">
|
| 507 |
+
<div>
|
| 508 |
+
<div class="flex items-center mb-1"><span class="traffic-light green"></span><span class="font-bold text-green-700">GREEN - Continue</span></div>
|
| 509 |
+
<ul class="list-disc list-inside ml-8 text-sm text-slate-700">
|
| 510 |
+
<li>Tremors, dry mouth, bad taste, mild headache β reassure</li>
|
| 511 |
+
</ul>
|
| 512 |
+
</div>
|
| 513 |
+
<div>
|
| 514 |
+
<div class="flex items-center mb-1"><span class="traffic-light yellow"></span><span class="font-bold text-yellow-700">YELLOW - Pause</span></div>
|
| 515 |
+
<ul class="list-disc list-inside ml-8 text-sm text-slate-700">
|
| 516 |
+
<li>Tachycardia >100, throat irritation, dizziness β pause & assess</li>
|
| 517 |
+
</ul>
|
| 518 |
+
</div>
|
| 519 |
+
<div>
|
| 520 |
+
<div class="flex items-center mb-1"><span class="traffic-light red"></span><span class="font-bold text-red-700">RED - STOP</span></div>
|
| 521 |
+
<ul class="list-disc list-inside ml-8 text-sm text-slate-700">
|
| 522 |
+
<li>Severe bronchospasm, chest pain, allergy β STOP, call help</li>
|
| 523 |
+
</ul>
|
| 524 |
+
</div>
|
| 525 |
+
</div>
|
| 526 |
+
`,
|
| 527 |
+
/* 11 */ `
|
| 528 |
+
<h2 class="text-2xl md:text-3xl font-bold text-sky-600 mb-4">π Dosage Guide</h2>
|
| 529 |
+
<div class="overflow-x-auto">
|
| 530 |
+
<table class="min-w-full text-xs md:text-sm text-left text-slate-700">
|
| 531 |
+
<thead class="bg-slate-100">
|
| 532 |
+
<tr>
|
| 533 |
+
<th class="p-2 font-semibold">Drug</th>
|
| 534 |
+
<th class="p-2 font-semibold">Adult</th>
|
| 535 |
+
<th class="p-2 font-semibold">Pediatric</th>
|
| 536 |
+
<th class="p-2 font-semibold">Dilution</th>
|
| 537 |
+
<th class="p-2 font-semibold">Frequency</th>
|
| 538 |
+
</tr>
|
| 539 |
+
</thead>
|
| 540 |
+
<tbody>
|
| 541 |
+
<tr class="border-b"><td class="p-2">Salbutamol</td><td class="p-2">2.5-5mg</td><td class="p-2">0.15mg/kg</td><td class="p-2">NS to 3-5ml</td><td class="p-2">Q4-6H PRN</td></tr>
|
| 542 |
+
<tr class="border-b"><td class="p-2">Ipratropium</td><td class="p-2">500mcg</td><td class="p-2">250mcg</td><td class="p-2">NS to 3-5ml</td><td class="p-2">Q6-8H</td></tr>
|
| 543 |
+
<tr class="border-b"><td class="p-2">Combination</td><td class="p-2">2.5/0.5mg</td><td class="p-2">1.25/0.25mg</td><td class="p-2">Ready to use</td><td class="p-2">Q6H</td></tr>
|
| 544 |
+
<tr class="border-b"><td class="p-2">Budesonide</td><td class="p-2">1-2mg</td><td class="p-2">0.5-1mg</td><td class="p-2">No dilution</td><td class="p-2">BID</td></tr>
|
| 545 |
+
<tr><td class="p-2">Hypertonic Saline</td><td class="p-2">3-7% 4ml</td><td class="p-2">3-7% 2-4ml</td><td class="p-2">No dilution</td><td class="p-2">BID-QID</td></tr>
|
| 546 |
+
</tbody>
|
| 547 |
+
</table>
|
| 548 |
+
</div>
|
| 549 |
+
<p class="mt-4 text-xs text-slate-600 italic">Quick Memory: Salbutamol 2.5-5mg acute, Budesonide never dilute, HS watch bronchospasm</p>
|
| 550 |
+
`,
|
| 551 |
+
/* 12 */ `
|
| 552 |
+
<h2 class="text-2xl md:text-3xl font-bold text-sky-600 mb-4">Nursing Responsibilities</h2>
|
| 553 |
+
<div class="grid md:grid-cols-2 gap-4 text-sm">
|
| 554 |
+
<div>
|
| 555 |
+
<h3 class="font-bold text-slate-800 mb-1">β±οΈ DURING</h3>
|
| 556 |
+
<ul class="list-disc list-inside text-slate-700">
|
| 557 |
+
<li>Verify 5 rights</li>
|
| 558 |
+
<li>Position upright 45-90Β°</li>
|
| 559 |
+
<li>Mask seal</li>
|
| 560 |
+
<li>Monitor vitals Q2min</li>
|
| 561 |
+
<li>Stay with patient</li>
|
| 562 |
+
</ul>
|
| 563 |
+
</div>
|
| 564 |
+
<div>
|
| 565 |
+
<h3 class="font-bold text-slate-800 mb-1">π AFTER</h3>
|
| 566 |
+
<ul class="list-disc list-inside text-slate-700">
|
| 567 |
+
<li>Reassess respiratory status</li>
|
| 568 |
+
<li>Oral rinse after steroids</li>
|
| 569 |
+
<li>Encourage coughing</li>
|
| 570 |
+
<li>Clean equipment</li>
|
| 571 |
+
<li>Document SpOβ change</li>
|
| 572 |
+
</ul>
|
| 573 |
+
</div>
|
| 574 |
+
</div>
|
| 575 |
+
<div class="mt-6 p-3 bg-sky-100 rounded-lg">
|
| 576 |
+
<p class="font-bold text-sky-800">π Critical Points</p>
|
| 577 |
+
<ul class="list-disc list-inside text-xs text-sky-700">
|
| 578 |
+
<li>Mask seal prevents 50% waste</li>
|
| 579 |
+
<li>After steroids rinse mouth</li>
|
| 580 |
+
<li>Document SpOβ change</li>
|
| 581 |
+
<li>Teach clean-and-dry rule</li>
|
| 582 |
+
</ul>
|
| 583 |
+
</div>
|
| 584 |
+
`,
|
| 585 |
+
/* 13 */ `
|
| 586 |
+
<h2 class="text-2xl md:text-3xl font-bold text-sky-600 mb-4">Advantages</h2>
|
| 587 |
+
<div class="space-y-3 text-sm">
|
| 588 |
+
<p><strong>β‘ Rapid Action</strong> β Onset in minutes vs hours</p>
|
| 589 |
+
<p><strong>π― Targeted Therapy</strong> β Higher local concentration, fewer side effects</p>
|
| 590 |
+
<p><strong>π₯ Universal Access</strong> β No coordination required</p>
|
| 591 |
+
<p><strong>π¨ Oxygen Integration</strong> β Simultaneous Oβ delivery</p>
|
| 592 |
+
<p><strong>π Large Dose</strong> β Continuous nebulization possible</p>
|
| 593 |
+
<p><strong>π Drug Versatility</strong> β Antibiotics, steroids, bronchodilators</p>
|
| 594 |
+
</div>
|
| 595 |
+
<p class="mt-6 p-3 bg-sky-100 rounded-lg font-semibold text-slate-800">π Nebulizers succeed where inhalers fail β perfect for emergencies, pediatrics, elderly.</p>
|
| 596 |
+
`,
|
| 597 |
+
/* 14 */ `
|
| 598 |
+
<h2 class="text-2xl md:text-3xl font-bold text-sky-600 mb-4">Limitations</h2>
|
| 599 |
+
<div class="space-y-3 text-sm">
|
| 600 |
+
<p><strong>β° Time-Consuming</strong> β 5-15 min vs 2 min MDI</p>
|
| 601 |
+
<p><strong>π Noise Issues</strong> β 60 dB jet nebulizers</p>
|
| 602 |
+
<p><strong>π¦ Infection Risk</strong> β Contaminated equipment</p>
|
| 603 |
+
<p><strong>πΈ Drug Waste</strong> β 50% lost during exhalation</p>
|
| 604 |
+
<p><strong>π° Equipment Cost</strong> β Mesh $150+ vs $20 jet</p>
|
| 605 |
+
<p><strong>π Power Dependency</strong> β Needs electricity</p>
|
| 606 |
+
</div>
|
| 607 |
+
<p class="mt-6 p-3 bg-slate-100 rounded-lg font-semibold text-slate-800">Despite limitations, benefits outweigh disadvantages in appropriate patients.</p>
|
| 608 |
+
`,
|
| 609 |
+
/* 15 */ `
|
| 610 |
+
<h2 class="text-2xl md:text-3xl font-bold text-sky-600 mb-4">π¨ Safety Summary</h2>
|
| 611 |
+
<div class="space-y-4">
|
| 612 |
+
<div>
|
| 613 |
+
<h3 class="font-bold text-slate-800">MEDICATION SAFETY</h3>
|
| 614 |
+
<ul class="list-disc list-inside ml-4 text-sm text-slate-700">
|
| 615 |
+
<li>Double-check 5 rights</li>
|
| 616 |
+
<li>ONLY sterile saline dilution</li>
|
| 617 |
+
<li>Add drugs immediately before use</li>
|
| 618 |
+
</ul>
|
| 619 |
+
</div>
|
| 620 |
+
<div>
|
| 621 |
+
<h3 class="font-bold text-slate-800">EQUIPMENT SAFETY</h3>
|
| 622 |
+
<ul class="list-disc list-inside ml-4 text-sm text-slate-700">
|
| 623 |
+
<li>Mouthpiece for steroids</li>
|
| 624 |
+
<li>Keep nebulizer cup upright</li>
|
| 625 |
+
<li>Check for cracks</li>
|
| 626 |
+
</ul>
|
| 627 |
+
</div>
|
| 628 |
+
<div>
|
| 629 |
+
<h3 class="font-bold text-slate-800">PATIENT-SPECIFIC</h3>
|
| 630 |
+
<p class="text-sm text-slate-700">COPD β AIR | Asthma β OXYGEN</p>
|
| 631 |
+
</div>
|
| 632 |
+
</div>
|
| 633 |
+
<p class="mt-4 p-3 bg-red-100 border-l-4 border-red-500 text-red-700 font-semibold">π΄ Monitor first 5 minutes β most complications occur here!</p>
|
| 634 |
+
`,
|
| 635 |
+
/* 16 */ `
|
| 636 |
+
<h2 class="text-2xl md:text-3xl font-bold text-sky-600 mb-4">π― Key Takeaways</h2>
|
| 637 |
+
<div class="space-y-3 text-sm">
|
| 638 |
+
<p><strong>π Core Frameworks:</strong> B.A.S.I.C. & Traffic Light System</p>
|
| 639 |
+
<p><strong>π¦ Critical Distinctions:</strong> COPD=AIR, Asthma=Oβ</p>
|
| 640 |
+
<p><strong>π©ββοΈ Nursing Priorities:</strong> Mask seal, mouth rinse, vitals, documentation, education</p>
|
| 641 |
+
<p class="mt-4 text-slate-700 italic">"You're not just operating a machine β you're the safety guardian ensuring medications reach the lungs effectively."</p>
|
| 642 |
+
</div>
|
| 643 |
+
`,
|
| 644 |
+
/* 17 */ `
|
| 645 |
+
<h2 class="text-2xl md:text-3xl font-bold text-sky-600 mb-4">π Congratulations!</h2>
|
| 646 |
+
<div class="space-y-3 text-sm">
|
| 647 |
+
<p>You've completed nebulization therapy training and can now:</p>
|
| 648 |
+
<ul class="list-disc list-inside ml-4 text-slate-700">
|
| 649 |
+
<li>Safely perform procedures</li>
|
| 650 |
+
<li>Recognize & manage complications</li>
|
| 651 |
+
<li>Educate patients & families</li>
|
| 652 |
+
<li>Make critical clinical decisions</li>
|
| 653 |
+
</ul>
|
| 654 |
+
<p class="mt-4 p-3 bg-sky-100 rounded-lg font-semibold text-slate-800">"Every nebulization you perform correctly can prevent an ICU admission and save lives."</p>
|
| 655 |
+
<p class="mt-4 text-slate-700 font-bold">Thank you for your dedication to excellence in patient care!</p>
|
| 656 |
+
</div>
|
| 657 |
+
`
|
| 658 |
+
];
|
| 659 |
+
|
| 660 |
+
// Populate sidebar
|
| 661 |
+
const navTitles = [
|
| 662 |
+
"Session Overview",
|
| 663 |
+
"Learning Objectives",
|
| 664 |
+
"Scientific Definition",
|
| 665 |
+
"Nebulizer Types",
|
| 666 |
+
"Primary Goal",
|
| 667 |
+
"Indications",
|
| 668 |
+
"Contraindications",
|
| 669 |
+
"Equipment Checklist",
|
| 670 |
+
"B.A.S.I.C. Framework",
|
| 671 |
+
"Traffic Light System",
|
| 672 |
+
"Dosage Guide",
|
| 673 |
+
"Nursing Responsibilities",
|
| 674 |
+
"Advantages",
|
| 675 |
+
"Limitations",
|
| 676 |
+
"Safety Summary",
|
| 677 |
+
"Key Takeaways",
|
| 678 |
+
"Congratulations!"
|
| 679 |
+
];
|
| 680 |
+
const navList = document.getElementById('navList');
|
| 681 |
+
navTitles.forEach((title, i) => {
|
| 682 |
+
const li = document.createElement('li');
|
| 683 |
+
li.innerHTML = `<button class="w-full text-left p-2 rounded hover:bg-sky-100" onclick="goToSlide(${i})">${i + 1}. ${title}</button>`;
|
| 684 |
+
navList.appendChild(li);
|
| 685 |
+
});
|
| 686 |
+
|
| 687 |
+
// Navigation
|
| 688 |
+
let current = 0;
|
| 689 |
+
const total = slides.length;
|
| 690 |
+
document.getElementById('totalSlides').textContent = total;
|
| 691 |
+
|
| 692 |
+
function render() {
|
| 693 |
+
document.getElementById('currentSlide').textContent = current + 1;
|
| 694 |
+
document.getElementById('progressBar').style.width = ((current + 1) / total * 100) + '%';
|
| 695 |
+
document.getElementById('slideContainer').innerHTML = slides[current];
|
| 696 |
+
document.getElementById('prevBtn').disabled = current === 0;
|
| 697 |
+
document.getElementById('nextBtn').disabled = current === total - 1;
|
| 698 |
+
}
|
| 699 |
+
|
| 700 |
+
function goToSlide(index) {
|
| 701 |
+
if (index >= 0 && index < total) {
|
| 702 |
+
current = index;
|
| 703 |
+
render();
|
| 704 |
+
}
|
| 705 |
+
}
|
| 706 |
+
|
| 707 |
+
document.getElementById('prevBtn').addEventListener('click', () => goToSlide(current - 1));
|
| 708 |
+
document.getElementById('nextBtn').addEventListener('click', () => goToSlide(current + 1));
|
| 709 |
+
|
| 710 |
+
// Mobile menu toggle
|
| 711 |
+
document.getElementById('menuBtn').addEventListener('click', () => {
|
| 712 |
+
const sidebar = document.getElementById('sidebar');
|
| 713 |
+
sidebar.classList.toggle('hidden');
|
| 714 |
+
sidebar.classList.toggle('block');
|
| 715 |
+
});
|
| 716 |
+
|
| 717 |
+
// Init
|
| 718 |
+
render();
|
| 719 |
+
</script>
|
| 720 |
+
<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=faisalhr1997/nebulizer" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 721 |
+
</html>
|