-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (47 loc) · 2.53 KB
/
index.html
File metadata and controls
54 lines (47 loc) · 2.53 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
<!doctype html>
<html lang="en" class="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<meta name="description" content="boop — a calm little place for the things you need to do, alone or with a few people you trust." />
<!-- Theme and PWA -->
<meta name="theme-color" content="#fafaf7" media="(prefers-color-scheme: light)" />
<meta name="theme-color" content="#0c0b10" media="(prefers-color-scheme: dark)" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="boop" />
<meta name="mobile-web-app-capable" content="yes" />
<!-- Manifest -->
<link rel="manifest" href="/manifest.json" />
<!-- Favicon -->
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><circle cx=%2250%22 cy=%2250%22 r=%2240%22 fill=%22%236b3cff%22/></svg>" />
<link rel="apple-touch-icon" href="/icons/icon-192.png" />
<!-- Preconnect to important origins -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<!-- Social sharing -->
<meta property="og:title" content="boop" />
<meta property="og:description" content="A calm little place for the things you need to do. No feeds, no nags, no notifications asking how you feel." />
<meta property="og:type" content="website" />
<meta property="og:image" content="/og-image.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="boop" />
<meta name="twitter:description" content="A calm little place for the things you need to do." />
<meta name="twitter:image" content="/og-image.png" />
<title>boop</title>
<!-- Initialize dark mode before render to prevent flash -->
<script>
(function() {
const stored = localStorage.getItem('boop:darkMode');
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
if (stored === 'true' || (stored === null && prefersDark)) {
document.documentElement.classList.add('dark');
}
})();
</script>
</head>
<body class="antialiased bg-gray-50 dark:bg-gray-900 text-gray-900 dark:text-gray-100 transition-colors">
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>