diff --git a/contributors/contributorsList.js b/contributors/contributorsList.js index 008d1726fe..fedd705944 100644 --- a/contributors/contributorsList.js +++ b/contributors/contributorsList.js @@ -1901,4 +1901,9 @@ contributors = [ fullname: "JaviDB", username: "https://github.com/JavierTLoina", }, + { + id: 375, + fullname: "Amna Mubarak", + username: "https://github.com/AmnaMubarak", + }, ]; diff --git a/index.html b/index.html index 6b876875db..d50b52da47 100644 --- a/index.html +++ b/index.html @@ -71,6 +71,7 @@

CONTRIBUTORS

Add yourself to the list if you contribute.

+

Total Contributors: 375

diff --git a/scripts/contributors-ui.js b/scripts/contributors-ui.js index dd305fe5fb..3f34dca0c5 100644 --- a/scripts/contributors-ui.js +++ b/scripts/contributors-ui.js @@ -70,6 +70,14 @@ loadMoreBtn.hidden = visibleCount >= total; } + function updateContributorCount(count) { + const countElement = document.getElementById('contributor-count'); + if (countElement) { + countElement.textContent = count; + } + } + + updateContributorCount(contributors.length); render(contributors, visibleCount); updateLoadMoreState(contributors.length);