<script setup lang="ts">
const store = useContactStore();

const { assets } = useAssets();

useRender((ctx) => {
  ctx.drawImage(assets.home.bottomScreen.background, 0, 0);
  ctx.globalAlpha = store.isIntro
    ? store.intro.stage2Opacity
    : store.outro.stage3Opacity;

  ctx.drawImage(assets.contact.bottomScreen.background, 0, 0);
});

defineOptions({
  render: () => null,
});
</script>
