<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Windjammer UI - Web Counter</title>
<style>
body {
margin: 0;
padding: 20px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
#app {
background: white;
border-radius: 12px;
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
padding: 40px;
min-width: 300px;
}
button {
background: #667eea;
color: white;
border: none;
border-radius: 6px;
transition: all 0.2s;
}
button:hover {
background: #5568d3;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
button:active {
transform: translateY(0);
}
</style>
</head>
<body>
<div id="app">
<p>Loading Windjammer UI...</p>
</div>
<script type="module">
import init from './pkg/windjammer_ui.js';
async function run() {
await init();
console.log('Windjammer UI WebAssembly module loaded');
}
run().catch(console.error);
</script>
</body>
</html>