feat(contact): animate outro

This commit is contained in:
2025-11-17 23:13:40 +01:00
parent 8c8af8bac8
commit 8e418ac51d
9 changed files with 118 additions and 29 deletions

View File

@@ -6,7 +6,9 @@ const buttonsImage = useTemplateRef("buttonsImage");
useRender((ctx) => {
if (!buttonsImage.value) return;
ctx.globalAlpha = store.isIntro ? store.intro.stage3Opacity : 1;
ctx.globalAlpha = store.isIntro
? store.intro.stage3Opacity
: store.outro.stage1Opacity;
ctx.drawImage(buttonsImage.value, 31, 32);
});
</script>