fix: reset store + animate intro on mount, and fix wrong opacity/positions
This commit is contained in:
@@ -13,7 +13,7 @@ export const useContactStore = defineStore("contact", {
|
||||
bottomBarY: SCREEN_HEIGHT + 20,
|
||||
},
|
||||
|
||||
isIntro: false,
|
||||
isIntro: true,
|
||||
}),
|
||||
|
||||
actions: {
|
||||
|
||||
@@ -9,11 +9,11 @@ export const useHomeStore = defineStore("home", {
|
||||
|
||||
outro: {
|
||||
buttonOffsetY: 0,
|
||||
stage1Opacity: 1,
|
||||
stage2Opacity: 1,
|
||||
stage1Opacity: 0,
|
||||
stage2Opacity: 0,
|
||||
},
|
||||
|
||||
isIntro: false,
|
||||
isIntro: true,
|
||||
isOutro: false,
|
||||
}),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user