-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
32 lines (32 loc) · 1.12 KB
/
index.html
File metadata and controls
32 lines (32 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Kitsune</title>
<style>
body { margin: 0; background: #0d0f12; color: #e8eaf0; font-family: monospace; }
#boot-msg {
position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%);
font-size: 13px; color: #565c6e; text-align: center; line-height: 2;
}
</style>
</head>
<body>
<div id="boot-msg">
Kitsune loading…<br>
<span id="boot-detail" style="color:#ff4d6d;font-size:11px"></span>
</div>
<div id="root"></div>
<script>
// Fires immediately — before React loads
window.addEventListener('error', function(e) {
document.getElementById('boot-detail').textContent = e.message + ' (' + e.filename + ':' + e.lineno + ')'
})
window.addEventListener('unhandledrejection', function(e) {
document.getElementById('boot-detail').textContent = 'Promise: ' + e.reason
})
</script>
<script type="module" src="/src/renderer/main.tsx"></script>
</body>
</html>