-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
30 lines (30 loc) · 1.29 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="manifest" href="/site.webmanifest">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Wega. Win together, Own together</title>
<script>
// It's best to inline this in `head` to avoid FOUC (flash of unstyled content) when changing pages or themes
// if (
// localStorage.getItem('color-theme') === 'dark' ||
// (!('color-theme' in localStorage) &&
// window.matchMedia('(prefers-color-scheme: dark)').matches)
// ) {
// document.documentElement.classList.add('dark');
// } else {
// document.documentElement.classList.remove('dark');
// }
const htmlElement = document.documentElement;
if(htmlElement && !htmlElement.classList.contains('dark')) htmlElement.classList.add('dark');
</script>
</head>
<body>
<div id="root" style="position: relative; z-index: -10; overflow: hidden"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>