aboutsummaryrefslogtreecommitdiffhomepage
path: root/year/index.html
blob: 87e45a5414ca799d86ad0254bab248b87be90779 (plain)
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
<!doctype html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Year progress</title>

        <style>
            html {
                touch-action: manipulation;
            }

            @media (prefers-color-scheme: light) {
                body {
                    background: #fff;
                    color: #000;
                }
            }

            @media (prefers-color-scheme: dark) {
                body {
                    background: #000;
                    color: #fff;
                }
            }

            html,
            body {
                overflow: hidden;
                margin: 0 !important;
                padding: 0 !important;
                height: 100%;
                width: 100%;
            }

            canvas {
                margin-right: auto;
                margin-left: auto;
                display: block;
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
            }

            span {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }
        </style>
    <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>
    <body>
        <span>Loading...</span>
        <canvas id="canvas"></canvas>
    
<script type="module">
import init, * as bindings from '/year/year_progress-d70083732ec3f92e.js';
const wasm = await init({ module_or_path: '/year/year_progress-d70083732ec3f92e_bg.wasm' });


window.wasmBindings = bindings;


dispatchEvent(new CustomEvent("TrunkApplicationStarted", {detail: {wasm}}));

</script></body>
</html>