-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
86 lines (77 loc) · 1.89 KB
/
index.html
File metadata and controls
86 lines (77 loc) · 1.89 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Aether — Fluid Typography</title>
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="apple-touch-icon" href="/favicon.svg" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Georgia&display=swap"
rel="stylesheet" />
<style>
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
width: 100%;
height: 100%;
overflow: hidden;
background: #06060a;
font-family: 'Inter', sans-serif;
}
canvas {
display: block;
width: 100%;
height: 100%;
}
#loading {
position: fixed;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 16px;
background: #06060a;
color: #ffffff99;
font-size: 14px;
letter-spacing: 0.1em;
text-transform: uppercase;
transition: opacity 0.6s ease;
z-index: 100;
}
#loading.hidden {
display: none;
}
#loading .spinner {
width: 32px;
height: 32px;
border: 2px solid #ffffff22;
border-top-color: #ffffff88;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<div id="loading">
<div class="spinner"></div>
<span>Measuring type…</span>
</div>
<canvas id="canvas"></canvas>
<script type="module" src="/src/main.ts"></script>
</body>
</html>