-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathindex.html
47 lines (42 loc) · 1.26 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="AI-powered chat agent built with Cloudflare Agents"
/>
<meta name="theme-color" content="#000000" />
<title>AI Chat Agent</title>
<script>
document.documentElement.classList.toggle(
"dark",
localStorage.theme === "dark" ||
(!("theme" in localStorage) &&
window.matchMedia("(prefers-color-scheme: dark)").matches)
);
</script>
<!-- Favicon support -->
<link rel="icon" href="/favicon.ico" />
<!-- Preload fonts if any -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<!-- Prevent flash of unstyled content -->
<style>
html {
background: var(--background);
}
@media (prefers-color-scheme: dark) {
html {
background: var(--background);
}
}
</style>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="app"></div>
<script type="module" src="/src/client.tsx"></script>
</body>
</html>