-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
29 lines (29 loc) · 1.29 KB
/
index.html
File metadata and controls
29 lines (29 loc) · 1.29 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<meta name="description" content="GachaRevenue — track upcoming gacha games, pre-registration titles, and games in development." />
<title>GachaRevenue | Upcoming Gacha Games</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" />
<link rel="stylesheet" href="/src/styles/globals.css" />
<link rel="stylesheet" href="/src/styles/animations.css" />
<link rel="stylesheet" href="/src/styles/themes.css" />
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script>
const themePreference =
localStorage.getItem('themePreference') ||
(window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
const rootElement = document.documentElement;
if (themePreference === 'dark') {
rootElement.classList.add('dark-mode');
} else {
rootElement.classList.remove('dark-mode');
}
</script>
</body>
</html>