-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (40 loc) · 1.61 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
49
50
51
52
<!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">
<title>Réseau Discord Artivain</title>
<link rel="shortcut icon" href="https://assets.artivain.com/fav/bots/ra-512.png">
<!-- The page supports both dark and light color schemes, and the default is light. -->
<meta name="color-scheme" content="light dark">
<script>
if (window.matchMedia("(prefers-color-scheme: dark)").media === "not all") {
document.documentElement.style.display = "none";
document.head.insertAdjacentHTML(
"beforeend",
"<link id=\"css\" rel=\"stylesheet\" href=\"/css/flatly-light.min.css\" onload=\"document.documentElement.style.display = ''\">"
);
}
</script>
<link rel="stylesheet" href="/css/flatly-dark.min.css" media="(prefers-color-scheme: dark)">
<link rel="stylesheet" href="/css/flatly-light.min.css" media="(prefers-color-scheme: light)">
<link rel="stylesheet" href="/css/style.css">
<script defer data-domain="rd.artivain.com" src="https://analytics.artivain.com/js/script.js"></script>
</head>
<body>
<script type="module">
// Check user's language and try to redirect it.
const lang = navigator.language || navigator.userLanguage;
if (lang.toLowerCase().startsWith("fr")) {
window.location = "/fr";
} else {
window.location = "/en";
}
</script>
<div class="container-fluid text-center bg-dark py-5">
<img src="https://assets.artivain.com/fav/bots/ra-512.png" class="img-fluid mw-200" alt="Logo">
<h1>Réseau Discord Artivain</h1>
</div>
</body>
</html>