-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
64 lines (59 loc) · 1.99 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/logo.svg">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>%VITE_PUBLIC_TITLE%</title>
<style>
#app-loading {
position: fixed;
top: 0;
left: 0;
z-index: 9999;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
overflow: hidden;
background-color: #fafafa;
color: #020817;
}
#app-loading img {
margin-bottom: 2rem;
}
.dark #app-loading {
background-color: #020817;
color: #fff;
}
</style>
</head>
<body>
<div id="app">
<div id="app-loading">
<img src="/logo.png" alt="Logo Image" width="100px">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24">
<g>
<circle cx="12" cy="2.5" r="1.5" fill="currentColor" opacity=".14" />
<circle cx="16.75" cy="3.77" r="1.5" fill="currentColor" opacity=".29" />
<circle cx="20.23" cy="7.25" r="1.5" fill="currentColor" opacity=".43" />
<circle cx="21.5" cy="12" r="1.5" fill="currentColor" opacity=".57" />
<circle cx="20.23" cy="16.75" r="1.5" fill="currentColor" opacity=".71" />
<circle cx="16.75" cy="20.23" r="1.5" fill="currentColor" opacity=".86" />
<circle cx="12" cy="21.5" r="1.5" fill="currentColor" />
<animateTransform attributeName="transform" calcMode="discrete" dur="0.75s" repeatCount="indefinite"
type="rotate"
values="0 12 12;30 12 12;60 12 12;90 12F 12;120 12 12;150 12 12;180 12 12;210 12 12;240 12 12;270 12 12;300 12 12;330 12 12;360 12 12" />
</g>
</svg>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
<script>
var theme = localStorage.getItem('color-scheme');
document.documentElement.classList.toggle('dark', /dark/.test(theme))
</script>
</body>
</html>