hermes/frontend/index.html
Nico ccee249618 v0.6.42: Hermes chat UI — Vue3/TS/Vite, audio STT/TTS, sidebar rail, MCP event loop
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 19:35:10 +02:00

32 lines
1007 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<title>Hermes</title>
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<style>
html, body { background: #1A212C; }
canvas:not(.ready) { opacity: 0; }
[v-cloak] { display: none; }
</style>
</head>
<body>
<div id="app" v-cloak></div>
<script>
window.addEventListener('pagehide',function(){
document.querySelectorAll('canvas').forEach(function(c){
c.style.display='none';
var gl=c.getContext('webgl');
if(gl){gl.clearColor(0,0,0,0);gl.clear(gl.COLOR_BUFFER_BIT);}
});
});
window.addEventListener('beforeunload',function(){
document.querySelectorAll('canvas').forEach(function(c){c.style.display='none'});
});
</script>
<script type="module" src="/src/main.ts"></script>
</body>
</html>