aboutsummaryrefslogtreecommitdiffhomepage
path: root/year/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'year/index.html')
-rw-r--r--year/index.html70
1 files changed, 70 insertions, 0 deletions
diff --git a/year/index.html b/year/index.html
new file mode 100644
index 0000000..87e45a5
--- /dev/null
+++ b/year/index.html
@@ -0,0 +1,70 @@
1<!doctype html>
2<html lang="en">
3 <head>
4 <meta charset="UTF-8" />
5 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6 <title>Year progress</title>
7
8 <style>
9 html {
10 touch-action: manipulation;
11 }
12
13 @media (prefers-color-scheme: light) {
14 body {
15 background: #fff;
16 color: #000;
17 }
18 }
19
20 @media (prefers-color-scheme: dark) {
21 body {
22 background: #000;
23 color: #fff;
24 }
25 }
26
27 html,
28 body {
29 overflow: hidden;
30 margin: 0 !important;
31 padding: 0 !important;
32 height: 100%;
33 width: 100%;
34 }
35
36 canvas {
37 margin-right: auto;
38 margin-left: auto;
39 display: block;
40 position: absolute;
41 top: 0;
42 left: 0;
43 width: 100%;
44 height: 100%;
45 }
46
47 span {
48 position: absolute;
49 top: 50%;
50 left: 50%;
51 transform: translate(-50%, -50%);
52 }
53 </style>
54 <link rel="modulepreload" href="/year/year_progress-d70083732ec3f92e.js" crossorigin="anonymous" integrity="sha384-4isYq2LzlsmVmX6AOvUEX71JJnApZjv/FMzEaY8cykKkM1/zI1HScwDTPbn+X5tn"><link rel="preload" href="/year/year_progress-d70083732ec3f92e_bg.wasm" crossorigin="anonymous" integrity="sha384-9FQLwEOOqi455qswhml6h27RbL4iF53QEVv8Ckg72F2PoAO8r2ez1zZ8mUcBAFKo" as="fetch" type="application/wasm"></head>
55 <body>
56 <span>Loading...</span>
57 <canvas id="canvas"></canvas>
58
59<script type="module">
60import init, * as bindings from '/year/year_progress-d70083732ec3f92e.js';
61const wasm = await init({ module_or_path: '/year/year_progress-d70083732ec3f92e_bg.wasm' });
62
63
64window.wasmBindings = bindings;
65
66
67dispatchEvent(new CustomEvent("TrunkApplicationStarted", {detail: {wasm}}));
68
69</script></body>
70</html>