forked from discordjs/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (46 loc) · 2.2 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
<!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="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#090a16">
<meta name="apple-mobile-web-app-title" content="Discord.js Docs">
<meta name="application-name" content="Discord.js Docs">
<meta name="msapplication-TileColor" content="#090a16">
<meta name="theme-color" content="#090a16">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>discord.js</title>
<meta
name="description"
content="Discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend."
/>
<meta property="og:title" content="Discord.js" />
<meta
property="og:description"
content="Discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend."
/>
<meta property="og:image" content="https://discord.js.org/static/djs_logo.png" />
</head>
<body>
<noscript>
<strong
>Sorry, but the discord.js 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>