-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (41 loc) · 1.35 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="author" content="Senong" />
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<meta name="revisit-after" content="7 days" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="msapplication-TileColor" content="#ffffff" />
<link rel="icon" type="image/svg+xml" href="/logo.png" />
<!-- <link
href="https://cdn.bootcdn.net/ajax/libs/MaterialDesign-Webfont/7.2.96/css/materialdesignicons.css"
rel="stylesheet"
/> -->
<link
href="https://use.fontawesome.com/releases/v6.4.2/css/all.css"
rel="stylesheet"
/>
<title>Senong</title>
</head>
<script>
(function () {
const prefersDark =
window.matchMedia &&
window.matchMedia("(prefers-color-scheme: dark)").matches;
const setting = localStorage.getItem("vueuse-color-scheme") || "auto";
if (setting === "dark" || (prefersDark && setting !== "light"))
document.documentElement.classList.toggle("dark", true);
})();
if (location.pathname === "/index.html") {
location.replace("/");
}
</script>
<body>
<div
id="app"
class="font-sans text-gray-700 dark:text-gray-200 relative"
></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>