feat(home): intro + outro animations

This commit is contained in:
2025-11-16 20:19:47 +01:00
parent 0c5490d4ee
commit 10584db979
18 changed files with 2764 additions and 5088 deletions

View File

@@ -1,9 +1,13 @@
<script setup lang="ts">
const store = useHomeStore();
const backgroundImage = useTemplateRef("backgroundImage");
useRender((ctx) => {
if (!backgroundImage.value) return;
ctx.globalAlpha = store.intro.stage1Opacity;
ctx.drawImage(backgroundImage.value, 0, 0);
});
</script>