forked from antfu/antfu.me
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
29 lines (29 loc) · 1.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="author" content="Simon He">
<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">
<link rel="icon" href="/black.png" type="image/svg+xml">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
<link href="https://fonts.googleapis.com/css2?family=Fira+Code&family=Inter:wght@200;400;600&display=swap" rel="stylesheet">
<title>Simon He</title>
<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)
})()
</script>
<script async src="/animate.min.js" type="text/javascript"></script>
<script async src="/gsap.min.js" type="text/javascript"></script>
<script async src="/ScrollTrigger.min.js" type="text/javascript"></script>
</head>
<body class="font-sans text-gray-700 dark:text-gray-200 relative">
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>