feat(contact): intro animation

This commit is contained in:
2025-11-17 00:33:37 +01:00
parent e309ffb776
commit 909eb1e7e8
18 changed files with 240 additions and 14 deletions

View File

@@ -1,6 +1,10 @@
<script setup lang="ts">
import Background from "./Background.vue";
import Buttons from "./Buttons.vue";
import ButtonSelector from "~/components/Common/ButtonSelector.vue";
import Bars from "./Bars.vue";
const store = useContactStore();
const { selectorPosition } = useButtonNavigation({
buttons: {
@@ -35,10 +39,14 @@ const { selectorPosition } = useButtonNavigation({
<template>
<Background />
<Buttons />
<ButtonSelector
:x="selectorPosition[0]"
:y="selectorPosition[1]"
:width="selectorPosition[2]"
:height="selectorPosition[3]"
:opacity="store.isIntro ? store.intro.stage3Opacity : 1"
/>
<Bars />
</template>