From c65cf34d946ea9928999ebddca71b41aa9ae4d75 Mon Sep 17 00:00:00 2001 From: belloibrahv Date: Sat, 19 Oct 2024 23:45:59 +0100 Subject: [PATCH] refactor(shortcodes): update contributors grid to use v2 API Signed-off-by: belloibrahv --- content/heros/index.md | 2 +- layouts/shortcodes/contributorsGrid.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/heros/index.md b/content/heros/index.md index 71f06af..74f5fc0 100644 --- a/content/heros/index.md +++ b/content/heros/index.md @@ -9,4 +9,4 @@ Each contributor brings unique skills and ideas, helping us grow as a decentrali If you want to contribute to Hiero, please check out our current [Hacktoberfest initiative](/hacktoberfest) that provides a lot of good first issues to get started with. -{{< contributorsGrid endpoint="https://hedera-issues.koyeb.app/api/contributors">}} +{{< contributorsGrid endpoint="https://hedera-issues.koyeb.app/api/v2/contributors">}} diff --git a/layouts/shortcodes/contributorsGrid.html b/layouts/shortcodes/contributorsGrid.html index bf9a4ea..db2e19d 100644 --- a/layouts/shortcodes/contributorsGrid.html +++ b/layouts/shortcodes/contributorsGrid.html @@ -27,7 +27,7 @@ }); } - // Load issues on page load + // Load contributors on page load document.addEventListener('DOMContentLoaded', async () => { const loadingElement = document.getElementById('loading'); const listElement = document.getElementById('contributors-list');