mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-12-21 06:51:19 +08:00
1f90c095b7
Signed-off-by: MiniDigger <admin@benndorf.dev>
28 lines
1.4 KiB
HTML
28 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png" />
|
|
<link rel="icon" href="/favicon/favicon.svg" type="image/svg+xml" />
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png" />
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png" />
|
|
<link rel="mask-icon" href="/favicon/safari-pinned-tab.svg" color="#5bbad5" />
|
|
<!--<link rel="manifest" href="/manifest.webmanifest" /> TODO fix manifest -->
|
|
<meta name="apple-mobile-web-app-title" content="Hangar | PaperMC" />
|
|
<meta name="application-name" content="Hangar | PaperMC" />
|
|
<meta name="theme-color" content="#ffffff" />
|
|
</head>
|
|
<body class="background-body text-[#262626] dark:text-[#E0E6f0]">
|
|
<div id="app"></div>
|
|
<script>
|
|
(function () {
|
|
const prefersDark = window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
const setting = localStorage.getItem("color-schema") || "auto";
|
|
if (setting === "dark" || (prefersDark && setting !== "light")) document.documentElement.classList.toggle("dark", true);
|
|
})();
|
|
</script>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
</html>
|