-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
38 lines (38 loc) · 1.42 KB
/
index.html
File metadata and controls
38 lines (38 loc) · 1.42 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
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Doctor Who Universe</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: 'class',
}
</script>
<script>
// Set theme on initial load to prevent FOUC (Flash of Unstyled Content)
if (localStorage.getItem('theme') === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add('dark');
} else {
document.documentElement.classList.remove('dark');
}
</script>
<script type="importmap">
{
"imports": {
"rxjs": "https://aistudiocdn.com/rxjs@^7.8.2?conditions=es2015",
"@angular/compiler": "https://next.esm.sh/@angular/compiler@^20.1.6-0?external=rxjs",
"@angular/core": "https://next.esm.sh/@angular/core@^20.1.6-0?external=rxjs",
"@angular/platform-browser": "https://next.esm.sh/@angular/platform-browser@^20.1.6-0?external=rxjs",
"@angular/common": "https://next.esm.sh/@angular/common@^20.1.6-0?external=rxjs",
"@angular/common/http": "https://next.esm.sh/@angular/common@^20.1.6-0/http?external=rxjs"
}
}
</script>
</head>
<body class="bg-gray-100 dark:bg-gray-900 transition-colors duration-300">
<app-root></app-root>
</body>
</html>