36 lines
1.2 KiB
HTML
36 lines
1.2 KiB
HTML
<!doctype html>
|
|
<html lang="de" data-theme="blue">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="color-scheme" content="light dark" />
|
|
<title>poorBird</title>
|
|
<script>
|
|
// Applies the stored theme before first paint, so there is no flash of
|
|
// the wrong one. Must stay in sync with theme/ThemeProvider.tsx: same
|
|
// storage key, same attribute, same default.
|
|
(function () {
|
|
try {
|
|
var stored = localStorage.getItem("poorbird.theme");
|
|
if (stored === "light" || stored === "dark" || stored === "blue") {
|
|
document.documentElement.setAttribute("data-theme", stored);
|
|
}
|
|
} catch (e) {
|
|
// Blocked storage: the markup default (blue) stands.
|
|
}
|
|
try {
|
|
var lang = localStorage.getItem("poorbird.locale");
|
|
if (lang === "de" || lang === "en") {
|
|
document.documentElement.lang = lang;
|
|
}
|
|
} catch (e) {}
|
|
})();
|
|
</script>
|
|
<script type="module" crossorigin src="/assets/index-BVNc27iK.js"></script>
|
|
<link rel="stylesheet" crossorigin href="/assets/index-2SwVzCAT.css">
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
</body>
|
|
</html>
|