fix(intro): correctly set isIntro to false
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m51s

This commit is contained in:
2026-02-13 18:08:09 +01:00
parent 3d686a7924
commit 7162716d6b

View File

@@ -25,7 +25,11 @@ export const useIntroStore = defineStore("intro", {
const logoDuration = totalFrames / 25;
gsap
.timeline()
.timeline({
onComplete: () => {
this.isIntro = false;
},
})
.to(
this.intro,
{
@@ -43,13 +47,6 @@ export const useIntroStore = defineStore("intro", {
ease: "steps(" + (totalFrames - 1) + ")",
},
4.1,
)
.call(
() => {
this.isIntro = false;
},
[],
4.1,
);
},