-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.html
More file actions
61 lines (61 loc) · 1.67 KB
/
app.html
File metadata and controls
61 lines (61 loc) · 1.67 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html {{ HTML_ATTRS }}>
<head {{ HEAD_ATTRS }}>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
/* Immediate styles to prevent FOUC */
html, body { background: #fff; margin: 0; }
@media (prefers-color-scheme: dark) {
html, body { background: #09090b; }
}
.initial-loader {
position: fixed;
inset: 0;
background: inherit;
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}
.dark .initial-loader {
background: #09090b;
}
.spinner {
width: 40px;
height: 40px;
position: relative;
}
.spinner div {
box-sizing: border-box;
display: block;
position: absolute;
width: 32px;
height: 32px;
margin: 4px;
border: 3px solid #b83f45;
border-radius: 50%;
animation: spinner 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: #b83f45 transparent transparent transparent;
}
.spinner div:nth-child(1) { animation-delay: -0.45s; }
.spinner div:nth-child(2) { animation-delay: -0.3s; }
.spinner div:nth-child(3) { animation-delay: -0.15s; }
@keyframes spinner {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
{{ HEAD }}
</head>
<body {{ BODY_ATTRS }}>
<div id="app-loader" class="initial-loader">
<div class="spinner">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
{{ APP }}
</body>
</html>