-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (46 loc) · 1.91 KB
/
index.html
File metadata and controls
46 lines (46 loc) · 1.91 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
43
44
45
46
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Lexicon Forge</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=Inter:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,600;1,400&display=swap" rel="stylesheet">
<script>
// Early error capture before anything else loads
window.__earlyErrors = [];
window.onerror = (m,s,l,c,e) => {
console.error('🚨 EARLY ERROR:', {message: m, source: s, line: l, col: c, error: e});
window.__earlyErrors.push({type:'error',m,s,l,c,e});
};
window.onunhandledrejection = (ev) => {
console.error('🚨 EARLY UNHANDLED REJECTION:', ev.reason);
window.__earlyErrors.push({type:'unhandledrejection', reason: String(ev.reason)});
};
</script>
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/react@19.1.1",
"react/": "https://esm.sh/react@19.1.1/",
"react-dom/client": "https://esm.sh/react-dom@19.1.1/client",
"react-dom/": "https://esm.sh/react-dom@19.1.1/",
"@google/genai": "https://esm.sh/@google/genai@1.34.0",
"@google/genai/": "https://esm.sh/@google/genai@1.34.0/",
"openai": "https://esm.sh/openai@4.52.7",
"openai/": "https://esm.sh/openai@4.52.7/",
"zustand": "https://esm.sh/zustand@5.0.7",
"zustand/": "https://esm.sh/zustand@5.0.7/",
"zustand/middleware": "https://esm.sh/zustand@5.0.7/middleware",
"zustand/react/shallow": "https://esm.sh/zustand@5.0.7/react/shallow"
}
}
</script>
</head>
<body class="bg-gray-100 dark:bg-gray-900">
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>