-
-
Notifications
You must be signed in to change notification settings - Fork 190
/
index.html
28 lines (28 loc) · 1.12 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<title>汉兜 - 汉字 Wordle</title>
<meta name="description" content="汉兜 - 汉字 Wordle">
<meta property="og:image" content="https://handle.antfu.me/og.png"/>
<meta property="og:title" content="汉兜"/>
<meta property="og:description" content="汉兜 - 汉字 Wordle"/>
<meta name="twitter:image" content="https://handle.antfu.me/og.png"/>
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:creator" content="antfu7"/>
</head>
<body>
<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>