-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathindex.html
69 lines (62 loc) · 1.66 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
<!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>Blink</title>
<style>
.app-loading {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
width: 10em;
height: 10em;
background: rgb(180 180 180);
z-index: 100000;
mask-image: url("./src/assets/icon-outline.png");
mask-size: contain;
}
.app-loading.hidden {
display: none;
}
.app-loading-anim{
width: 150%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background: linear-gradient(to right,transparent,rgb(255 255 255),transparent);
transform: scaleX(0);
animation: loading 0.75s linear infinite both;
transform-origin: left;
}
@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-anim"></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>