feat(intro): adjust intro timing and set booted to false by default

This commit is contained in:
2026-02-13 17:58:54 +01:00
parent 538a5a2dc1
commit 8d9e4a0eff
2 changed files with 10 additions and 7 deletions

View File

@@ -26,7 +26,6 @@ export const useIntroStore = defineStore("intro", {
gsap
.timeline()
.to({}, { duration: 2 })
.to(
this.intro,
{
@@ -34,7 +33,7 @@ export const useIntroStore = defineStore("intro", {
duration: 0.1,
ease: "none",
},
3,
4.1,
)
.to(
this.intro,
@@ -43,11 +42,15 @@ export const useIntroStore = defineStore("intro", {
duration: logoDuration,
ease: "steps(" + (totalFrames - 1) + ")",
},
3,
4.1,
)
.call(() => {
this.isIntro = false;
});
.call(
() => {
this.isIntro = false;
},
[],
4.1,
);
},
animateOutro() {