Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
40 lines (39 loc) · 1.84 KB
/
Copy pathindex.html
File metadata and controls
40 lines (39 loc) · 1.84 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
39
40
<!doctype html>
<html lang="en" class="light">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/app-icon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ModelSift</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
<script>
(function() {
// Disable default browser context menu
document.addEventListener('contextmenu', function(e) {
e.preventDefault();
});
try {
var theme = localStorage.getItem('llm_advisor_theme') || 'system';
var prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
var dark = theme === 'dark' || (theme === 'system' && prefersDark);
if (dark) {
document.documentElement.classList.add('dark');
document.documentElement.classList.remove('light');
document.documentElement.setAttribute('data-theme', 'dark');
} else {
document.documentElement.classList.remove('dark');
document.documentElement.classList.add('light');
document.documentElement.setAttribute('data-theme', 'light');
}
document.documentElement.style.colorScheme = dark ? 'dark' : 'light';
} catch (e) {}
})();
</script>
</head>
<body class="bg-slate-50 dark:bg-slate-950 text-slate-900 dark:text-slate-100 antialiased min-h-screen overflow-hidden font-sans">
<div id="root" class="h-screen w-screen flex"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>