index.html 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!doctype html>
  2. <html lang="ru">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
  6. <meta name="theme-color" content="#080c17">
  7. <meta name="description" content="Интерактивный курс: как работают дымовой и тепловой пожарные извещатели и что делать при тревоге.">
  8. <title>Пожарная сигнализация</title>
  9. <link rel="manifest" href="manifest.webmanifest">
  10. <link rel="icon" href="icons/icon.svg" type="image/svg+xml">
  11. <link rel="apple-touch-icon" href="icons/icon-192.png">
  12. <link rel="stylesheet" href="style.css">
  13. </head>
  14. <body>
  15. <div class="app" id="app">
  16. <header class="top">
  17. <div class="brand">
  18. <img class="logo" src="icons/icon.svg" alt="" width="40" height="40">
  19. <div class="bt"><b>Пожарная сигнализация</b><small id="step">Сцена 1 из 7</small></div>
  20. </div>
  21. <nav class="dots" id="dots" aria-label="Прогресс курса"></nav>
  22. <div class="tools">
  23. <button class="icon-btn" id="menu" title="Меню сцен (M)" aria-label="Меню сцен">☰</button>
  24. <button class="icon-btn" id="tip" title="Подсказка (H)" aria-label="Подсказка">💡</button>
  25. <button class="icon-btn" id="reset" title="Сбросить сцену (R)" aria-label="Сбросить сцену">↺</button>
  26. <button class="icon-btn" id="full" title="Полный экран (F)" aria-label="Полный экран">⛶</button>
  27. <button class="icon-btn" id="sound" title="Звук вкл/выкл" aria-label="Звук">🔊</button>
  28. </div>
  29. <div class="top-progress" aria-hidden="true"><span id="progressFill"></span></div>
  30. </header>
  31. <main class="stage" id="stage" aria-live="polite"></main>
  32. <footer class="bottom" id="bottom">
  33. <button class="btn ghost navbtn" id="prev" title="Назад (←)" aria-label="Предыдущая сцена">← Назад</button>
  34. <div class="hint" id="hint"></div>
  35. <button class="btn primary navbtn" id="next" title="Далее (→)" aria-label="Следующая сцена">Далее →</button>
  36. </footer>
  37. </div>
  38. <button class="side-nav side-prev" id="sidePrev" aria-label="Предыдущая сцена" title="Предыдущая сцена (←)">
  39. <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M15 5l-7 7 7 7"/></svg>
  40. </button>
  41. <button class="side-nav side-next" id="sideNext" aria-label="Следующая сцена" title="Следующая сцена (→)">
  42. <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 5l7 7-7 7"/></svg>
  43. </button>
  44. <div id="toast" class="toast" role="status"></div>
  45. <div id="modal" class="modal" hidden></div>
  46. <canvas id="confetti"></canvas>
  47. <script src="app.js"></script>
  48. </body>
  49. </html>