-
Notifications
You must be signed in to change notification settings - Fork 20
/
index.html
93 lines (85 loc) · 2.02 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
<!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: #fff;
z-index: 100000;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
transition: opacity 0.25s ease-in-out;
opacity: 0;
animation: fadeIn linear 500ms forwards;
}
.app-loading.hidden {
display: none;
}
.app-loading-logo {
width: 5vw;
}
.app-loading-bar-container{
height: 2px;
width: 16vw;
position: absolute;
left: 50%;
bottom: 36vh;
transform: translateX(-50%);
overflow: hidden;
}
.app-loading-bar{
width: 100%;
height: 100%;
background: #101010;
transform: scaleX(0);
animation: loading 1s ease-in-out infinite both;
transform-origin: left;
}
@keyframes fadeIn {
0%{
opacity: 0;
}
100%{
opacity: 1;
}
}
@keyframes loading {
0%{
transform: translate(-100%);
}
50%{
transform: translate(0%);
}
100%{
transform: translate(100%);
}
}
</style>
</head>
<body>
<div class="app-loading">
<img src="./src/assets/icon-outline.svg" class="app-loading-logo" />
<div class="app-loading-bar-container">
<div class="app-loading-bar"></div>
</div>
</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>