Revert to static JS site (Svelte built, but no CSR); Optimize images
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/push/build unknown status
ci/woodpecker/push/deploy unknown status

This commit is contained in:
2026-02-16 00:54:08 -03:00
parent 6734dfa51e
commit af70682fa8
117 changed files with 686 additions and 109 deletions

View File

@@ -1,9 +1,9 @@
<script lang="ts">
import { theme } from '$lib/stores/theme.svelte.js';
const toggleTheme = () => {
theme.set(theme.get() === 'light' ? 'dark' : 'light');
};
interface Props {
/** Caption for the tour video (used by script.js for lightbox); from media data */
tourCaption?: string;
}
let { tourCaption }: Props = $props();
</script>
<header class="site-header">
@@ -13,6 +13,9 @@
id="show_video"
class="emoji-button"
aria-label="Show video tour"
data-name="tour"
data-type="video"
data-caption={tourCaption}
>
🎥
</button>
@@ -20,7 +23,6 @@
id="theme-toggle"
class="emoji-button"
aria-label="Toggle light/dark theme"
onclick={toggleTheme}
>
🌓
</button>