From e3768e06f5a8a36005f568ce1cd63d417078784c Mon Sep 17 00:00:00 2001 From: Tben <52448020+BenjaminToby@users.noreply.github.com> Date: Fri, 3 Jun 2022 21:08:56 +0100 Subject: [PATCH] updates --- layouts/general_layout/GeneralLayout.jsx | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/layouts/general_layout/GeneralLayout.jsx b/layouts/general_layout/GeneralLayout.jsx index 9d88532..78d8221 100644 --- a/layouts/general_layout/GeneralLayout.jsx +++ b/layouts/general_layout/GeneralLayout.jsx @@ -43,18 +43,20 @@ const GeneralLayout = ({ children, pageName }) => { } }); - // gsap.to("#main-content-wrapper", { - // opacity: 1, - // duration: 2, - // delay: 1 + gsap.to("#main-content-wrapper", { + opacity: 1, + duration: 2, + delay: 1 + }) + + // gsap.to("#page-loader", { + // opacity: 0, + // duration: 0.5, + // delay: 1, + // pointerEvents: "none" // }) - gsap.to("#page-loader", { - opacity: 0, - duration: 0.5, - delay: 1, - pointerEvents: "none" - }) + // document.getElementById("page-loader").style.opacity threeJsAnimations(); }, [])