chore(config): update speaches config and ignore sveltekit dashboard
- Simplified .env.example to use localhost SPEACHES_URL - Removed unused prod_url from SpeachesSettings config - Added dashboard node_modules and build dirs to .gitignore - Streamlines local development setup
This commit is contained in:
23
dashboard/src/app.html
Normal file
23
dashboard/src/app.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%sveltekit.assets%/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Hold Slayer — Gateway Dashboard</title>
|
||||
<!-- Apply theme before first paint to prevent flash of wrong theme. -->
|
||||
<script>
|
||||
try {
|
||||
const stored = localStorage.getItem('hold-slayer-theme');
|
||||
const systemDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
|
||||
if (stored === 'dark' || (stored !== 'light' && systemDark)) {
|
||||
document.documentElement.classList.add('dark');
|
||||
}
|
||||
} catch (_) {}
|
||||
</script>
|
||||
%sveltekit.head%
|
||||
</head>
|
||||
<body data-sveltekit-preload-data="hover">
|
||||
<div>%sveltekit.body%</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user