-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (73 loc) · 1.95 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
content="width=device-width,initial-scale=1.0,user-scalable=no"
/>
<meta name="google-site-verification" content="XsbbwzVeWsK41WGexk93yvVQjfDtYdTytvPl57sn2b4" />
<link rel="icon" href="/logo.svg" />
<title>资源分享</title>
<% if (ENV === "production") { %>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?dbef71e7a7b0bce03b71c76501e76d6c";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<% } %>
</head>
<body>
<div id="app">
<style>
html,
body,
#app {
height: 100%;
margin: 0px;
padding: 0px;
width: 100%;
}
.__spinner-container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.__spinner {
position: relative;
width: 68px;
height: 68px;
background-color: #41b883;
animation: cube-shadow-spinner 1.8s cubic-bezier(0.75, 0, 0.5, 1)
infinite;
}
@keyframes cube-shadow-spinner {
50% {
border-radius: 50%;
transform: scale(0.5) rotate(360deg);
}
100% {
transform: scale(1) rotate(720deg);
}
}
</style>
<div class="__spinner-container">
<div class="__spinner"></div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
<% if (ENABLE_ERUDA === "true") { %>
<script src="//cdn.jsdelivr.net/npm/eruda"></script>
<script>
eruda.init();
</script>
<% } %>
</body>
</html>