feat(gallery): transition to and from the nds

This commit is contained in:
2026-01-04 20:53:52 +01:00
parent 1f61eee93a
commit 18f91981ec
13 changed files with 253 additions and 14 deletions

View File

@@ -133,6 +133,8 @@ const animateIntro = async () => {
);
};
const galleryStore = useGalleryStore();
const animateOutro = async () => {
isAnimating.value = true;
@@ -156,6 +158,7 @@ const animateOutro = async () => {
typeText(descriptionText, DESCRIPTION, DESCRIPTION_DURATION, true, {
onComplete: async () => {
await sleep(ANIMATION_SLEEP * 1000);
galleryStore.shouldAnimateOutro = true;
router.push("/");
},
});