-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
40 lines (40 loc) · 837 Bytes
/
index.html
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
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body {
margin: 0;
background: #222;
}
body, .overlay {
display: flex;
width: 100vw;
height: 100vh;
overflow: hidden;
align-items: center;
justify-content: center;
color: #eee;
background: #222;
font-family: sans-serif;
}
.overlay {
position: fixed;
display: none;
}
body.loading .overlay {
display: flex;
}
canvas {
width: 100%;
height: 100%;
object-fit: contain;
}
</style>
</head>
<body class="loading">
<canvas width="1920" height="1080"></canvas>
<div class="overlay">Generating assets...</div>
<script src="build.js"></script>
</body>
</html>