-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
77 lines (70 loc) · 1.73 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>%VITE_APP_TITLE%</title>
</head>
<body>
<style>
.loading {
display: flex;
justify-content: center;
width: 100%;
height: 100vh;
}
.content {
display: flex;
flex-direction: column;
gap: 10px;
align-items: center;
}
.content-loading {
box-sizing: border-box;
display: inline-block;
width: 60px;
height: 60px;
margin-top: 40vh;
border-top: 4px solid #e5e6eb;
border-right: 4px solid transparent;
border-radius: 50%;
animation: rotation 1s linear infinite;
}
.content-loading::after {
position: absolute;
top: 0;
left: 0;
box-sizing: border-box;
width: 60px;
height: 60px;
content: '';
border-bottom: 4px solid transparent;
border-left: 4px solid #2393d9;
border-radius: 50%;
animation: rotation 0.5s linear infinite reverse;
}
@keyframes rotation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.content-text {
font-size: 24px;
color: #333;
}
</style>
<div id="app">
<div class="loading">
<div class="content">
<span class="content-loading"></span>
<span class="content-text">Clean Admin...</span>
</div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>