removed whit overlay
This commit is contained in:
+13
-13
@@ -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 (
|
||||
<>
|
||||
<PageHead headTitle={headTitle} />
|
||||
|
||||
Reference in New Issue
Block a user