generated from Dicken/dickendock
31 lines
1.1 KiB
HTML
31 lines
1.1 KiB
HTML
<!doctype html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="theme-color" content="#0a0a0a" />
|
|
<meta name="description" content="Schneller, minimalistischer Homelab-Launcher" />
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
|
<title>LaunchPad</title>
|
|
<script>
|
|
// Muss inline und vor jedem Bundle-Download laufen, sonst blitzt beim
|
|
// Direktaufruf einer Unterseite (z. B. /admin/dashboard) kurz das
|
|
// falsche Theme auf, bevor React mountet.
|
|
(function () {
|
|
var stored = localStorage.getItem("launchpad-theme");
|
|
var dark =
|
|
stored === "dark" ||
|
|
(stored !== "light" &&
|
|
window.matchMedia("(prefers-color-scheme: dark)").matches);
|
|
document.documentElement.classList.toggle("dark", dark);
|
|
})();
|
|
</script>
|
|
</head>
|
|
<body class="bg-white dark:bg-black">
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|
|
|