feat(intro): play home intro once in the intro screen instead of having weird boolean in app store

This commit is contained in:
2026-01-14 11:59:13 +01:00
parent 91d8b6db3b
commit 7e815328eb
8 changed files with 23 additions and 33 deletions

View File

@@ -9,6 +9,7 @@ export const useIntroStore = defineStore("intro", {
outro: {
textOpacity: 1,
backgroundOpacity: 0,
},
isIntro: true,
@@ -59,6 +60,12 @@ export const useIntroStore = defineStore("intro", {
duration: 0.25,
ease: "none",
})
.to(this.outro, {
backgroundOpacity: 1,
duration: 0.5,
delay: 0.5,
ease: "none",
})
.call(() => {
const app = useAppStore();
app.booted = true;