From 27feb5fe2b3470bb1dc9342f3f8485b0f173262d Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Mon, 23 Dec 2024 21:05:09 -0500 Subject: [PATCH] removed whit overlay --- components/layout/Layout.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/components/layout/Layout.js b/components/layout/Layout.js index 5c6f2cf..c16642e 100644 --- a/components/layout/Layout.js +++ b/components/layout/Layout.js @@ -17,20 +17,20 @@ export default function Layout({ headerStyle, footerStyle, headTitle, breadcrumb !isMobileMenu ? document.body.classList.add("wsactive") : document.body.classList.remove("wsactive") } - useEffect(() => { - const WOW = require('wowjs') - window.wow = new WOW.WOW({ - live: false - }) - window.wow.init() + // useEffect(() => { + // const WOW = require('wowjs') + // window.wow = new WOW.WOW({ + // live: false + // }) + // window.wow.init() - document.addEventListener("scroll", () => { - const scrollCheck = window.scrollY > 100 - if (scrollCheck !== scroll) { - setScroll(scrollCheck) - } - }) - }, []) + // document.addEventListener("scroll", () => { + // const scrollCheck = window.scrollY > 100 + // if (scrollCheck !== scroll) { + // setScroll(scrollCheck) + // } + // }) + // }, []) return ( <>