mirror of
https://github.com/ThisTine/Snip.git
synced 2026-08-18 23:18:47 +07:00
31 lines
1.0 KiB
HTML
31 lines
1.0 KiB
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" />
|
|
<meta name="theme-color" content="#16170F" />
|
|
<title>snip — A short link service</title>
|
|
<link rel="preconnect" href="https://api.fontshare.com" crossorigin />
|
|
<link
|
|
href="https://api.fontshare.com/v2/css?f[]=clash-display@600,700&f[]=general-sans@400,500,600&f[]=space-mono@400,700&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
<script>
|
|
// Apply theme before paint to avoid flash.
|
|
(function () {
|
|
try {
|
|
var t = localStorage.getItem("snip-theme");
|
|
if (t === "dark" || (!t && window.matchMedia("(prefers-color-scheme: dark)").matches)) {
|
|
document.documentElement.classList.add("dark");
|
|
}
|
|
} catch (e) {}
|
|
})();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|