34 lines
1.3 KiB
HTML
34 lines
1.3 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/png" href="/small_icon.png" />
|
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Newsreader:wght@100;200;300;400;500;600;700&family=IBM+Plex+Sans:wght@100;200;300;400;500;600;700&family=IBM+Plex+Mono:wght@100;200;300;400;500;600;700&display=swap" rel="stylesheet">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<script>
|
|
// Apply the stored theme before first paint so a dark session never
|
|
// flashes light. Mirrors the logic in src/theme/ThemeProvider.tsx.
|
|
(function () {
|
|
try {
|
|
var stored = localStorage.getItem("theme");
|
|
var dark = stored === "dark" ||
|
|
(stored !== "light" && window.matchMedia("(prefers-color-scheme: dark)").matches);
|
|
document.documentElement.dataset.theme = dark ? "dark" : "light";
|
|
} catch (e) {
|
|
document.documentElement.dataset.theme = "light";
|
|
}
|
|
})();
|
|
</script>
|
|
<script src="/env-config.js"></script>
|
|
<title>The VoD System</title>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|