-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (31 loc) · 1.27 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>RagEval</title>
<script>
if (localStorage.theme === 'dark' || !('theme' in localStorage)) {
document.querySelector('html').classList.add('dark');
document.querySelector('html').style.colorScheme = 'dark';
} else {
document.querySelector('html').classList.remove('dark');
document.querySelector('html').style.colorScheme = 'light';
}
</script>
<script type="module" crossorigin src="./assets/index-3e823a82.js"></script>
<link rel="stylesheet" href="./assets/index-d35ccfe0.css">
</head>
<body class="font-inter antialiased bg-gray-50 dark:bg-gray-900 text-gray-600 dark:text-gray-400">
<noscript>You need to enable JavaScript to run this app.</noscript>
<script>
if (localStorage.getItem('sidebar-expanded') == 'true') {
document.querySelector('body').classList.add('sidebar-expanded');
} else {
document.querySelector('body').classList.remove('sidebar-expanded');
}
</script>
<div id="root"></div>
</body>
</html>