Add AOS library and use it on text elements

This commit is contained in:
Paul Nicoué 2023-03-23 12:25:18 +01:00
parent 1d185e9ff4
commit 606b4801c7
8 changed files with 86 additions and 28 deletions

View file

@ -19,6 +19,21 @@
pageTitleChunk: null
})
// --------------------------------------------------
// PROGRAM
// --------------------------------------------------
onMounted(() => {
const AOS = useNuxtApp().$AOS;
AOS.init({
offset: 100,
duration: 600,
easing: 'ease-in-out',
delay: 0,
once: false
});
})
</script>
<style lang="scss" scoped>