From c6413e3c0465a4651cbc40b0c7d9b560491d1fd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my?= Date: Thu, 9 Oct 2025 18:39:10 -0400 Subject: [PATCH 1/3] Remove unnecessary log --- public/index.html | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/public/index.html b/public/index.html index 5a71456..b5ae694 100644 --- a/public/index.html +++ b/public/index.html @@ -184,15 +184,9 @@ document.getElementById('info').scrollIntoView({ behavior: 'smooth' }); }, 500); }); - // Initialize Lenis - const lenis = new Lenis({ + new Lenis({ autoRaf: true, }); - - // Listen for the scroll event and log the event data - lenis.on('scroll', (e) => { - console.log(e); - }); From 31697558408b7f25a731fedceb61f9bd2ca0a27d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my?= Date: Thu, 9 Oct 2025 19:05:49 -0400 Subject: [PATCH 2/3] Remove delays introduced by setTimeout --- public/index.html | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/public/index.html b/public/index.html index b5ae694..8242968 100644 --- a/public/index.html +++ b/public/index.html @@ -178,15 +178,10 @@ From fa10e274a508b1e2289b3236d3eaa9e66d689d69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my?= Date: Thu, 9 Oct 2025 19:15:56 -0400 Subject: [PATCH 3/3] Move Lenis script inside head and add defer attribute --- public/index.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/public/index.html b/public/index.html index 8242968..f657105 100644 --- a/public/index.html +++ b/public/index.html @@ -26,6 +26,15 @@ + + + + @@ -174,15 +183,6 @@ - - - -