-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
83 lines (71 loc) · 1.75 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/zrp.png" />
<meta name="viewport" content="width=device-width, initial-scale=2.0" />
<style>
#loader {
position: absolute;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100vw;
height: 100vh;
background: rgba(17, 24, 39, 0.8);
backdrop-filter: blur(4px);
z-index: 2;
opacity: 1;
top: 0;
left: 0;
}
.spinner {
animation: rotate 2s linear infinite;
z-index: 2;
width: 50px;
height: 50px;
margin-bottom: 20px;
}
.spinner .path {
stroke: rgba(255, 255, 255, 0.5);
stroke-linecap: round;
animation: dash 1.5s ease-in-out infinite;
}
@keyframes rotate {
100% {
transform: rotate(360deg);
}
}
@keyframes dash {
0% {
stroke-dasharray: 1, 150;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 90, 150;
stroke-dashoffset: -35;
}
100% {
stroke-dasharray: 90, 150;
stroke-dashoffset: -124;
}
}
</style>
<title>ZRP Easter</title>
</head>
<body style="padding: 0; margin: 0; background: rgba(17, 24, 39)">
<div id="loader">
<svg class="spinner" viewBox="0 0 50 50">
<circle class="path" cx="25" cy="25" r="20" fill="none" stroke-width="5"></circle>
</svg>
<span
style="font-size: 1.2rem; margin-top: 1rem; margin-left: 0.5rem; display: block; color: rgba(255,255,255,0.7);">Carregando
o
jogo...</span>
</div>
<div id="root" style="opacity: 0">
</div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>