38 lines
1.4 KiB
Plaintext
38 lines
1.4 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<base href="/" />
|
|
<script>
|
|
// Synchronous dark-mode bootstrap — runs before first paint to prevent FOUC.
|
|
// Must stay in sync with the 'theme' localStorage key used by darkmode.js.
|
|
(function () {
|
|
try {
|
|
if (localStorage.getItem('theme') === 'dark')
|
|
document.documentElement.classList.add('dark');
|
|
} catch (e) { }
|
|
})();
|
|
</script>
|
|
<link rel="stylesheet" href="_content/Enciphered.Blazor.UIComponents/css/app.css" />
|
|
<link rel="stylesheet" href="@Assets["css/app.css"]" />
|
|
<link rel="stylesheet" href="@Assets["Enciphered.Blazor.UIComponents.Demo.styles.css"]" />
|
|
<ImportMap />
|
|
<link rel="icon" type="image/svg+xml" href="enci_white.svg" />
|
|
<HeadOutlet />
|
|
</head>
|
|
|
|
<body class="min-h-svh antialiased bg-background text-foreground">
|
|
<Routes />
|
|
<script src="_framework/blazor.web.js"></script>
|
|
<script type="module">
|
|
import { init as initDarkMode } from '/_content/Enciphered.Blazor.UIComponents/js/darkmode.js';
|
|
import { init as initSidebar } from '/_content/Enciphered.Blazor.UIComponents/js/sidebar.js';
|
|
initDarkMode();
|
|
initSidebar();
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|