- Consolidated CSS and JS assets by moving them to local files (app.css, gsap.min.js, marked.min.js) - Removed livekit-client CDN dependency as it appears unused - Moved navbar logic to separate layout.js file for better organization - Changed navigation links to use hash-based routing (#chat, #drive, etc) - Removed redundant navbar template fetching in favor of static inclusion - Simplified HTML structure by removing commented code and redundant elements These changes improve maintainability and performance by reducing external dependencies and better organizing frontend assets.
35 lines
1 KiB
HTML
35 lines
1 KiB
HTML
<!doctype html>
|
|
<html lang="pt-br">
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<title>General Bots</title>
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
|
|
<link rel="stylesheet" href="css/app.css" type="text/css">
|
|
<script src="js/lib/gsap.min.js"></script>
|
|
<script src="js/lib/marked.min.js"></script>
|
|
<script src="js/mock-data.js"></script>
|
|
<script src="js/auth.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="navbar-container"></div>
|
|
|
|
<!-- Main chat content -->
|
|
<div class="chat-container">
|
|
<div class="connection-status connecting" id="connectionStatus"></div>
|
|
<div class="flash-overlay" id="flashOverlay"></div>
|
|
|
|
<main id="messages"></main>
|
|
|
|
<footer class="chat-footer">
|
|
<div class="suggestions-container" id="suggestions"></div>
|
|
<div class="input-container">
|
|
<input id="messageInput" type="text" placeholder="Message..." autofocus/>
|
|
<button id="voiceBtn" title="Voice">🎤</button>
|
|
<button id="sendBtn" title="Send">↑</button>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
|
|
<script src="js/layout.js"></script>
|
|
</body>
|
|
</html>
|