-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
40 lines (40 loc) · 1.63 KB
/
Copy pathindex.html
File metadata and controls
40 lines (40 loc) · 1.63 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content"
/>
<title>Triplanner</title>
<meta
name="description"
content="Plan trips day by day — flights, hotels and places to see. Offline-first, your data stays on your device."
/>
<link rel="icon" type="image/png" sizes="32x32" href="/icons/icon-32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/icons/icon-16.png" />
<link rel="apple-touch-icon" href="/icons/icon-180.png" />
<meta name="theme-color" content="#f8fafc" />
<script>
// Apply the saved theme before first paint to avoid a flash.
;(function () {
try {
var pref = localStorage.getItem('triplanner:theme') || 'system'
var dark = pref === 'dark' || (pref === 'system' && matchMedia('(prefers-color-scheme: dark)').matches)
var mode = dark ? 'dark' : 'light'
document.documentElement.dataset.theme = mode
document.documentElement.style.colorScheme = mode
var meta = document.querySelector('meta[name="theme-color"]')
if (meta) meta.setAttribute('content', dark ? '#020617' : '#f8fafc')
} catch (e) {}
})()
</script>
<meta name="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="Triplanner" />
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>