Add AOS library and use it on text elements
This commit is contained in:
parent
1d185e9ff4
commit
606b4801c7
8 changed files with 86 additions and 28 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue