-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.html
More file actions
executable file
·42 lines (42 loc) · 1.59 KB
/
main.html
File metadata and controls
executable file
·42 lines (42 loc) · 1.59 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
41
42
<!DOCTYPE html>
<html class="${THEME}" lang="en">
<head>
<script>
(function () {
try {
var src = document.cookie;
var tm = src.match(/(?:^|;\s*)vite-ui-theme=([^;]+)/);
var sm = src.match(/(?:^|;\s*)vite-ui-theme-source=([^;]+)/);
var theme = tm ? decodeURIComponent(tm[1]) : null;
var source = sm ? decodeURIComponent(sm[1]) : null;
if (!theme || theme === 'system' || source === 'auto') {
theme = window.matchMedia('(prefers-color-scheme: dark)').matches
? 'dark'
: 'light';
}
var root = document.documentElement;
root.classList.remove('light', 'dark');
root.classList.add(theme);
} catch (e) {}
})();
</script>
<!--__theme-definition__-->
<link rel="stylesheet" href="/app/src/styles/main.css">
<link rel="stylesheet" href="/node_modules/@uiw/react-markdown-preview/markdown.css">
<link rel="stylesheet" href="/app/src/styles/custom.css">
<link rel="stylesheet" href="/app/src/styles/markdown-custom.css">
<!--__favicon__-->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<script>
window.global = window;
</script>
<!--__loopar-meta-data__-->
<!--__loopar-env__-->
</head>
<body
class="flex flex-col font-sans antialiased theme-stone min-h-screen overflow-x-hidden"
>
<div className="h-full w-full" id="__[loopar-root]__" translate="no"><!--ssr-outlet--></div>
<script type="module" src="/app/entry-client.jsx"></script>
</body>
</html>