feat(contact): intro animation
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user