27 lines
1018 B
HTML
27 lines
1018 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>VIP Coordinator</title>
|
|
<!-- Prevent FOUC (Flash of Unstyled Content) for theme -->
|
|
<script>
|
|
(function() {
|
|
try {
|
|
var stored = localStorage.getItem('vip-theme');
|
|
var theme = stored ? JSON.parse(stored) : { mode: 'system', colorScheme: 'blue' };
|
|
var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
|
|
var isDark = theme.mode === 'dark' || (theme.mode === 'system' && prefersDark);
|
|
if (isDark) document.documentElement.classList.add('dark');
|
|
if (theme.colorScheme) document.documentElement.dataset.theme = theme.colorScheme;
|
|
} catch (e) {}
|
|
})();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|