diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 98860c4..0c69f85 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -24,6 +24,7 @@ // Dependencies import * as basicScroll from 'basicscroll' import AOS from 'aos' + import zenscroll from 'zenscroll' // Components import Button from '../atoms/Button' @@ -110,7 +111,7 @@

{$site.description}

-
diff --git a/src/utils/functions.js b/src/utils/functions.js index 24d009b..be52c89 100644 --- a/src/utils/functions.js +++ b/src/utils/functions.js @@ -57,19 +57,6 @@ export const isInViewport = element => { -/* -** Smooth Scroll -*/ -export const smoothScroll = (event, element = null) => { - document.querySelector(element).scrollIntoView({ - behavior: 'smooth', - block: 'start' - }) - event.preventDefault() -} - - - /* ** Random String Generator */