-
Notifications
You must be signed in to change notification settings - Fork 19
/
index.html
56 lines (55 loc) · 1.39 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Windows 7</title>
<style>
html, body {
padding: 0;
margin: 0;
}
body #app { display: none; }
body #loading {
display: flex;
background: black;
color: white;
align-items: center;
font-family: monospace;
justify-content: center;
height: 100%;
width: 100%;
left: 0;
top: 0;
position: fixed;
text-align: center;
}
body:not(.loading) #app { display: block; }
body:not(.loading) #loading { display: none; }
.spinner {
border: 10px solid transparent;
border-top: 10px solid gray;
border-radius: 50px;
width: 50px;
height: 50px;
display: block;
margin: 0 auto 25px auto;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body class="loading">
<div id="app"></div>
<div id="loading">
<div>
<div class="spinner"></div> Downloading Assets and Files...
</div>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>