forked from bitgapp/eqMac
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
102 lines (93 loc) · 3.04 KB
/
Copy pathindex.html
File metadata and controls
102 lines (93 loc) · 3.04 KB
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
94
95
96
97
98
99
100
101
102
<!doctype html>
<html lang="en">
<head>
<meta name="robots" content="noindex,nofollow">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- <meta http-equiv="Content-Security-Policy" content="default-src 'self' data:; img-src 'self' data:; font-src 'self' data:; script-src 'self' 'unsafe-eval' 'sha256-bXrLdI2KMMIc9ZIiuVrqGgA2juhoNIXC3iylOFn9Z/c='"> -->
<title>eqMac</title>
<script>document.write('<base href="' + document.location + '" />');</script>
<meta name="theme-color" content="#000">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<style>
body {
background-color: #2c2c2e;
width: 100vw;
height: 100vh;
margin: 0;
}
body::-webkit-scrollbar {
display: none;
}
.loader {
height: 500px;
width: 400px;
display: flex;
justify-content: center;
align-items: center;
}
.loader #loader-wave {
stroke-dasharray: 0 16 101 16;
animation: animateWave 2400ms linear infinite;
}
@keyframes animateWave {
0% {
stroke-dashoffset: 0;
transform: translate3d(0, 0, 0);
-webkit-transform: translate3d(0, 0, 0);
}
100% {
stroke-dashoffset: -133;
-webkit-transform: translate3d(-90px, 0, 0);
}
}
</style>
<link rel="manifest" href="manifest.json">
<meta name="theme-color" content="#000">
</head>
<body>
<app-root class="app">
<div class="loader">
<svg xmlns="http://www.w3.org/2000/svg"
width="80px" height="60px"
viewBox="5 0 80 60">
<path id="loader-wave"
fill="none"
stroke="#4f8d71"
stroke-width="4"
stroke-linecap="round">
</path>
</svg>
</div>
<script>
const path = document.querySelector('#loader-wave');
const m = 0.512286623256592433;
function buildWave(w, h) {
const a = h / 4;
const y = h / 2;
const pathData = [
'M', w * 0, y + a / 2,
'c', a * m, 0, -(1 - a) * m, -a, a, -a,
's', -(1 - a) * m, a, a, a,
's', -(1 - a) * m, -a, a, -a,
's', -(1 - a) * m, a, a, a,
's', -(1 - a) * m, -a, a, -a,
's', -(1 - a) * m, a, a, a,
's', -(1 - a) * m, -a, a, -a,
's', -(1 - a) * m, a, a, a,
's', -(1 - a) * m, -a, a, -a,
's', -(1 - a) * m, a, a, a,
's', -(1 - a) * m, -a, a, -a,
's', -(1 - a) * m, a, a, a,
's', -(1 - a) * m, -a, a, -a,
's', -(1 - a) * m, a, a, a,
's', -(1 - a) * m, -a, a, -a
].join(' ');
path.setAttribute('d', pathData);
}
buildWave(90, 60);
</script>
</app-root>
<noscript>Please enable JavaScript to continue using this application.</noscript>
</body>
</html>