forked from discordjs/website
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
38 lines (37 loc) · 1.63 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="apple-touch-icon" sizes="180x180" href="/garlicteam.gif" />
<link rel="icon" type="image/png" sizes="32x32" href="/garlicteam.gif" />
<link rel="icon" type="image/png" sizes="192x192" href="/garlicteam.gif">
<link rel="icon" type="image/png" sizes="16x16" href="/garlicteam.gif" />
<link rel="mask-icon" href="/garlicteam.gif" color="#090a16">
<meta name="apple-mobile-web-app-title" content="Garlic Team Docs" />
<meta name="application-name" content="Garlic Team Docs" />
<meta name="msapplication-TileColor" content="#090a16" />
<meta name="theme-color" content="#090a16" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="keywords" content="JavaScript, JS, TypeScript, TS, framework, addon, library, discord, discord.js, api, discord.js framework, djs, gcommands, hyttpo, djs framework" />
<title>Garlic Team</title>
</head>
<body>
<noscript>
<strong
>Sorry, but the Garlic Team website doesn't work properly without JavaScript enabled. Please enable it to
continue.</strong
>
</noscript>
<script>
(() => {
const prefersDarkMode = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
const persistedColorPreference = localStorage.getItem('theme') || 'auto';
if (persistedColorPreference === 'dark' || (prefersDarkMode && persistedColorPreference !== 'light')) {
document.documentElement.classList.toggle('dark', true);
}
})();
</script>
<div id="app" class="h-full"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>