Files
Bella/index.html
T
admin 30471fa2dc chore: update dependencies and remove unused files
refactor: migrate from nodemon to http-server for development
build: add type module and update package.json scripts
2025-07-21 18:19:22 +08:00

49 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Voice Assistant</title>
<link rel="stylesheet" href="style.css">
<!-- 引入 Font Awesome 图标库,用于麦克风图标 -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
</head>
<body>
<!-- 加载屏幕 -->
<div id="loading-screen">
<img src="Bellaicon/Generated image.webp" alt="Loading Bella...">
</div>
<!-- 视频背景 -->
<div class="video-container">
<video autoplay muted class="bg-video active" id="video1">
<source src="视频资源/3D 建模图片制作.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<video muted class="bg-video" id="video2">
<source src="" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
<!-- 内容层,覆盖在视频之上 -->
<div class="content-overlay">
<!-- 语音识别结果显示区域 -->
<div class="transcript-container">
<p id="transcript"></p>
</div>
<!-- 底部麦克风和链接 -->
<footer class="bottom-bar">
<button class="mic-button" id="mic-button" aria-label="Start Listening">
<i class="fas fa-microphone"></i>
</button>
</footer>
</div>
<script type="module" src="script.js"></script>
</body>
</html>