feat(projects): intro and outro animations
This commit is contained in:
@@ -8,10 +8,20 @@ onMounted(async () => {
|
||||
store.$reset();
|
||||
await store.loadProjects();
|
||||
});
|
||||
|
||||
watch(
|
||||
() => store.loading,
|
||||
() => {
|
||||
if (!store.loading) {
|
||||
store.animateIntro();
|
||||
}
|
||||
},
|
||||
);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Background />
|
||||
|
||||
<Buttons v-if="!store.loading" />
|
||||
<template v-if="!store.loading">
|
||||
<Background />
|
||||
<Buttons />
|
||||
</template>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user