Files
parentcalendar/frontend/index.html
T

28 lines
1.2 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<title>ParentCalendar</title>
<meta name="description" content="Scan paper school calendars and lunch menus into your calendar." />
<meta name="theme-color" content="#f4f5f9" media="(prefers-color-scheme: light)" data-for="light" />
<meta name="theme-color" content="#0e1015" media="(prefers-color-scheme: dark)" data-for="dark" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-title" content="ParentCalendar" />
<link rel="manifest" href="/manifest.webmanifest" />
<link rel="icon" href="/icon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="/icon-180.png" />
<script>
// Apply a chosen theme before first paint, so dark mode doesn't flash white.
try {
const t = localStorage.getItem('theme');
if (t === 'light' || t === 'dark') document.documentElement.dataset.theme = t;
} catch (e) {}
</script>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>