-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver.html
More file actions
75 lines (75 loc) · 3.74 KB
/
Copy pathserver.html
File metadata and controls
75 lines (75 loc) · 3.74 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<meta name="theme-color" content="#090b0e" />
<meta name="referrer" content="no-referrer" />
<link rel="icon" type="image/svg+xml" href="./terminay.svg" />
<link rel="apple-touch-icon" href="./terminay.svg" />
<title>Terminay</title>
<style>
html, body, #web-root { width: 100%; min-height: 100%; margin: 0; }
body { background: #0d1117; }
.terminay-bootstrap-loading {
box-sizing: border-box;
display: grid;
min-height: 100vh;
place-items: center;
padding: 32px;
background: #0d1117;
color: #9ba9ba;
font-family: "Open Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
text-align: center;
}
.terminay-bootstrap-loading__brand { display: grid; justify-items: center; gap: 16px; }
.terminay-bootstrap-loading__logo { width: 72px; height: 72px; border-radius: 18px; }
.terminay-bootstrap-loading__dots { display: flex; gap: 7px; }
.terminay-bootstrap-loading__dots span {
width: 7px; height: 7px; border-radius: 50%; opacity: .2; transform: scale(.65);
animation: terminay-bootstrap-loading-dot 1.6s ease-in-out infinite;
animation-delay: var(--terminay-loading-phase, 0ms);
}
.terminay-bootstrap-loading__dots span:nth-child(1) { background: #db5757; }
.terminay-bootstrap-loading__dots span:nth-child(2) { background: #c1db57; animation-delay: calc(var(--terminay-loading-phase, 0ms) + .12s); }
.terminay-bootstrap-loading__dots span:nth-child(3) { background: #57db8c; animation-delay: calc(var(--terminay-loading-phase, 0ms) + .24s); }
.terminay-bootstrap-loading__dots span:nth-child(4) { background: #578cdb; animation-delay: calc(var(--terminay-loading-phase, 0ms) + .36s); }
.terminay-bootstrap-loading__dots span:nth-child(5) { background: #c157db; animation-delay: calc(var(--terminay-loading-phase, 0ms) + .48s); }
.terminay-bootstrap-loading__error { display: grid; gap: 12px; max-width: 360px; }
.terminay-bootstrap-loading__error h1 { margin: 0; color: #dce5ef; font-size: 18px; }
.terminay-bootstrap-loading__error p { margin: 0; line-height: 1.5; }
.terminay-bootstrap-loading__error button {
justify-self: center; border: 1px solid #2f4158; border-radius: 8px;
background: #1a2330; color: #dce2f0; padding: .5rem .85rem; font: inherit;
}
@keyframes terminay-bootstrap-loading-dot {
0%, 55%, 100% { opacity: .2; transform: scale(.65); }
18%, 36% { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
.terminay-bootstrap-loading__dots span { animation: none; opacity: 1; transform: none; }
}
</style>
<script>
document.documentElement.style.setProperty('--terminay-loading-phase', `-${Date.now() % 1600}ms`)
try {
if (globalThis.parent !== globalThis) document.documentElement.classList.add('is-framed')
} catch {
document.documentElement.classList.add('is-framed')
}
</script>
</head>
<body>
<div id="web-root">
<main class="terminay-bootstrap-loading" aria-busy="true" aria-live="polite">
<div class="terminay-bootstrap-loading__brand">
<img class="terminay-bootstrap-loading__logo" src="./terminay.svg" alt="" aria-hidden="true" />
<div class="terminay-bootstrap-loading__dots" aria-hidden="true">
<span></span><span></span><span></span><span></span><span></span>
</div>
</div>
</main>
</div>
<script type="module" src="/src/web/serverEntry.ts"></script>
</body>
</html>