36 lines
1.0 KiB
HTML
36 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="railwayka.ru - Modern self-hosted infrastructure powered by GitOps">
|
|
<title>railwayka.ru</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<div id="loading">
|
|
<div class="loader">Loading...</div>
|
|
</div>
|
|
|
|
<script type="module">
|
|
import init from './railwayka_landing.js';
|
|
|
|
async function run() {
|
|
try {
|
|
await init();
|
|
// Remove loading indicator
|
|
const loading = document.getElementById('loading');
|
|
if (loading) {
|
|
loading.remove();
|
|
}
|
|
} catch (error) {
|
|
console.error('Failed to initialize WASM:', error);
|
|
document.body.innerHTML = '<div class="error">Failed to load application. Please refresh the page.</div>';
|
|
}
|
|
}
|
|
|
|
run();
|
|
</script>
|
|
</body>
|
|
</html>
|