feat(intro): implement intro screen
This commit is contained in:
@@ -20,14 +20,11 @@ export const useHomeStore = defineStore("home", {
|
||||
|
||||
actions: {
|
||||
animateIntro() {
|
||||
const appStore = useAppStore();
|
||||
|
||||
this.isIntro = true;
|
||||
|
||||
const timeline = gsap.timeline({
|
||||
onComplete: () => {
|
||||
this.isIntro = false;
|
||||
if (!appStore.booted) appStore.booted = true;
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user