diff --git a/src/components/AOS.js b/src/components/AOS.js index 1a91a31..9f7617b 100644 --- a/src/components/AOS.js +++ b/src/components/AOS.js @@ -1,4 +1,6 @@ +import React from 'react' import AOS from 'aos' +import Helmet from 'react-helmet' import 'aos/dist/aos.css' export default ({ options }) => { @@ -9,6 +11,20 @@ export default ({ options }) => { easing: 'ease-out-sine', delay: 0 } + AOS.init({ ...defaultOptions, ...options }) - return null + + return ( + + + + ) }