Branchwell

Clearwake / website / app / index.html

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, maximum-scale=1, user-scalable=no">
6<title>Clearwake</title>
7<meta name="description" content="Clearwake in your browser. Less noise, more web.">
8<meta name="theme-color" content="#121618">
9<link rel="icon" href="icon.png">
10<style>
11 html, body { margin: 0; padding: 0; height: 100%; overflow: hidden; background: #faf9f6; }
12 @media (prefers-color-scheme: dark) { html, body { background: #121618; } }
13 canvas#clearwake { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
14 #loading { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
15 font: 17px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; color: #66706d; }
16</style>
17</head>
18<body>
19<canvas id="clearwake"></canvas>
20<div id="loading">Opening Clearwake…</div>
21<script type="module">
22 import init from "./clearwake.js";
23 init().catch((e) => {
24 document.getElementById("loading").textContent = "Clearwake needs a newer browser to run here.";
25 console.error(e);
26 });
27</script>
28</body>
29</html>