-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (50 loc) · 2.39 KB
/
index.html
File metadata and controls
54 lines (50 loc) · 2.39 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">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>DreamWiki - Offline Burmese Dream Encyclopedia</title>
<meta name="description" content="Your offline Burmese encyclopedia of dreams and their meanings. Search through dream symbols, psychology, and interpretations." />
<meta name="author" content="DreamWiki" />
<!-- Dynamic theme-color based on system theme -->
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#4a90d9" />
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#0b1220" />
<!-- PWA meta tags -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="apple-mobile-web-app-title" content="DreamWiki" />
<link rel="apple-touch-icon" href="/logo-pwa-512x512.png" />
<link rel="icon" type="image/png" sizes="192x192" href="/logo-pwa-192x192.png" />
<!-- Open Graph -->
<meta property="og:title" content="DreamWiki - Offline Dream Encyclopedia" />
<meta property="og:description" content="Your offline encyclopedia of dreams and their meanings" />
<meta property="og:type" content="website" />
<meta property="og:image" content="/logo-pwa-512x512.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@DreamWiki" />
<meta name="twitter:image" content="/logo-pwa-512x512.png" />
</head>
<body>
<script>
// Respect system theme: add/remove the `dark` class on <html>
(function () {
try {
const root = document.documentElement;
const mql = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)');
// Only auto-apply when there is no explicit user override
const apply = function () {
if (root.hasAttribute('data-theme-override')) return;
if (mql && mql.matches) root.classList.add('dark');
else root.classList.remove('dark');
};
apply();
mql && mql.addEventListener && mql.addEventListener('change', apply);
} catch (_) {
// no-op
}
})();
</script>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>