-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathindex.html
48 lines (45 loc) · 1.53 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
44
45
46
47
48
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="favicon icon" href="<%- VITE_FAVICON %>">
<title><%- VITE_TITLE %></title>
<meta property="og:title" name="twitter:title" content="<%- VITE_TITLE %>">
<meta name="description" content="<%- VITE_DESCRIPTION %>">
<meta property="og:description" name="twitter:description" content="<%- VITE_DESCRIPTION %>">
<meta property="og:image" name="twitter:image" content="<%- VITE_COVER %>">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary_large_image">
<meta name="color-scheme" content="dark">
<meta name="theme-color" content="<%- VITE_BACKGROUND %>">
<style>
html {
box-sizing: border-box;
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: #151515;
color: #eeeeee;
}
body {
margin: 0;
padding: 0;
line-height: var(--line-height, inherit);
}
</style>
<script>
document.documentElement.style.background = document.querySelector('meta[name=theme-color]')?.content
</script>
</head>
<body>
<noscript><strong>JavaScript Disabled</strong></noscript>
<div id="app"></div>
<script type="module">
import { Buffer } from 'buffer'
if (window.global === undefined) { window.global = window; window.Buffer = Buffer }
</script>
<script type="module" src="/src/main.ts"></script>
</body>
</html>