From e09e430f393ff3c27307af1af12a1fc059ee892d Mon Sep 17 00:00:00 2001 From: Tejas Gupta Date: Sat, 9 Nov 2024 12:36:43 +0530 Subject: [PATCH] Update contributorsSection.js --- resources/contributorsSection.js | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/resources/contributorsSection.js b/resources/contributorsSection.js index 9298e6b..8602099 100644 --- a/resources/contributorsSection.js +++ b/resources/contributorsSection.js @@ -1,23 +1,3 @@ - -//for the on scroll progressbar -(function () { - const handleScroll = () => { - const totalHeight = - document.documentElement.scrollHeight - window.innerHeight; - const scrollPosition = window.pageYOffset; - const scrollPercentage = (scrollPosition / totalHeight) * 100; - document.getElementById( - "progress-bar-con" - ).style.width = `${scrollPercentage}%`; - }; - - window.addEventListener("scroll", handleScroll); - return () => { - window.removeEventListener("scroll", handleScroll); - }; -})(); - -// Fetch data from GitHub API const repoOwner = "multiverseweb"; // Repository owner for CodeIt const repoName = "CodeIt"; // Repository name for CodeIt @@ -98,5 +78,3 @@ function applyMouseEffectToCards() { // Call the function to fetch and display data fetchContributorData(); - -