-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (46 loc) · 1.67 KB
/
index.html
File metadata and controls
46 lines (46 loc) · 1.67 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>quillscribe-frontend</title>
</head>
<body>
<!-- Apply cached theme instantly to prevent flash of white on startup -->
<script>
(function() {
var theme = localStorage.getItem('qs-theme') || 'white';
var dark = theme.startsWith('dark_') || theme === 'obsidian';
var cl = document.documentElement.classList;
cl.add(theme);
if (dark) cl.add('dark');
})();
</script>
<div id="app">
<!-- Inline loading indicator — shown until Svelte mounts and replaces this content -->
<div id="startup-loader" style="
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
background: var(--bg-primary);
color: var(--text-secondary);
font-family: 'Aptos', 'Segoe UI Variable Text', 'Segoe UI', 'Inter', sans-serif;
font-size: 14px;
gap: 10px;
user-select: none;
">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" style="animation: spin 1s linear infinite;">
<circle cx="12" cy="12" r="10" stroke="var(--border)" stroke-width="3"/>
<path d="M12 2a10 10 0 0 1 10 10" stroke="var(--accent)" stroke-width="3" stroke-linecap="round"/>
</svg>
<span>Loading QuillScribe...</span>
</div>
<style>
@keyframes spin { to { transform: rotate(360deg); } }
</style>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>