The absolute /vite.svg path breaks once the app is served from a base path, and the file was never replaced with a real logo. Leave instructions for restoring it with the %BASE_URL% placeholder instead. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<script>
|
|
(function() {
|
|
try {
|
|
var stored = localStorage.getItem('r2b-theme');
|
|
var effective;
|
|
if (stored === 'dark') {
|
|
effective = 'dark';
|
|
} else if (stored === 'light') {
|
|
effective = 'light';
|
|
} else {
|
|
effective = window.matchMedia('(prefers-color-scheme: dark)').matches
|
|
? 'dark'
|
|
: 'light';
|
|
}
|
|
if (effective === 'dark') {
|
|
document.documentElement.classList.add('dark');
|
|
}
|
|
} catch (e) {
|
|
// localStorage unavailable (private mode, etc.) — leave light as default
|
|
}
|
|
})();
|
|
</script>
|
|
<!-- Favicon: drop the logo at public/favicon.svg and restore this line. Keep the
|
|
%BASE_URL% placeholder so it follows the deployed base path:
|
|
<link rel="icon" type="image/svg+xml" href="%BASE_URL%favicon.svg" /> -->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Ready2Blob</title>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|