feat(gallery): transition to and from the nds
This commit is contained in:
@@ -61,8 +61,13 @@ export const useHomeStore = defineStore("home", {
|
||||
const timeline = gsap.timeline({
|
||||
onComplete: () => {
|
||||
this.isOutro = true;
|
||||
|
||||
const app = useAppStore();
|
||||
app.navigateTo(to);
|
||||
if (to === "gallery") {
|
||||
app.navigateTo("gallery");
|
||||
} else {
|
||||
app.navigateTo(to);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user