forked from prayag17/Blink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
101 lines (94 loc) · 2.24 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="http://localhost:8097"></script>
<title>Jellyplayer</title>
<style>
.app-loading {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: #222;
z-index: 100000;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
transition: opacity 0.25s ease-in-out;
}
.app-loading.hidden {
display: none;
}
.app-loading-logo {
width: 40vw;
opacity: 0;
animation: fadeIn linear 500ms forwards;
}
.circular {
animation: rotate 1.2s linear infinite;
height: 50px;
left: 50%;
position: absolute;
bottom: 20%;
width: 50px;
}
.path {
stroke-dasharray: 1,200;
stroke-dashoffset: 0;
animation:
dash 800ms ease-in-out infinite,
color 6s ease-in-out infinite
;
stroke-linecap: round;
stroke: #fff;
}
@keyframes rotate {
100% {
transform: rotate(360deg);
}
}
@keyframes dash {
0% {
stroke-dasharray: 1,200;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 89,200;
stroke-dashoffset: -35;
}
100% {
stroke-dasharray: 89,200;
stroke-dashoffset: -124;
}
}
@keyframes fadeIn {
0%{
opacity: 0;
}
100%{
opacity: 1;
}
}
</style>
</head>
<body>
<div class="app-loading">
<img src="/assetsStatic/logoDark.png" class="app-loading-logo" />
<svg class="circular" height="50" width="50">
<circle class="path" cx="25" cy="25" r="20" fill="none" stroke-width="4" stroke-miterlimit="10" />
</svg>
</div>
<div id="root"></div>
<svg style="width: 0; height: 0; position: absolute" aria-hidden="true" focusable="false">
<linearGradient id="clr-gradient-default" x2="1" y2="1">
<stop offset="0%" stop-color="hsl(337, 96%, 56%)" />
<stop offset="100%" stop-color="hsl(273, 100%, 36%)" />
</linearGradient>
</svg>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>