Update index.html
Browse files- index.html +20 -6
index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>VoiceSync Studio - Dubbing Manager</title>
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
-
<script src="https://
|
| 9 |
<style>
|
| 10 |
/* Custom scrollbar for a cleaner look */
|
| 11 |
::-webkit-scrollbar {
|
|
@@ -352,13 +352,27 @@
|
|
| 352 |
</div>
|
| 353 |
|
| 354 |
<script>
|
| 355 |
-
|
| 356 |
-
|
| 357 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 358 |
} else {
|
| 359 |
-
|
|
|
|
| 360 |
}
|
| 361 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 362 |
</script>
|
| 363 |
</body>
|
| 364 |
</html>
|
|
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>VoiceSync Studio - Dubbing Manager</title>
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://cdn.jsdelivr.net/npm/lucide@0.263.1/dist/umd/lucide.min.js"></script>
|
| 9 |
<style>
|
| 10 |
/* Custom scrollbar for a cleaner look */
|
| 11 |
::-webkit-scrollbar {
|
|
|
|
| 352 |
</div>
|
| 353 |
|
| 354 |
<script>
|
| 355 |
+
// Initialize Lucide icons with retry logic for reliability
|
| 356 |
+
function initLucideIcons() {
|
| 357 |
+
if (typeof lucide !== 'undefined' && lucide.createIcons) {
|
| 358 |
+
try {
|
| 359 |
+
lucide.createIcons();
|
| 360 |
+
console.log('✓ Lucide icons initialized');
|
| 361 |
+
} catch (e) {
|
| 362 |
+
console.error('Error creating icons:', e);
|
| 363 |
+
}
|
| 364 |
} else {
|
| 365 |
+
// Retry after 100ms if library hasn't loaded yet
|
| 366 |
+
setTimeout(initLucideIcons, 100);
|
| 367 |
}
|
| 368 |
+
}
|
| 369 |
+
|
| 370 |
+
// Run when DOM is ready
|
| 371 |
+
if (document.readyState === 'loading') {
|
| 372 |
+
document.addEventListener('DOMContentLoaded', initLucideIcons);
|
| 373 |
+
} else {
|
| 374 |
+
initLucideIcons();
|
| 375 |
+
}
|
| 376 |
</script>
|
| 377 |
</body>
|
| 378 |
</html>
|