From 8ec5307dc31f001146fe2e5b2be0d7f45b8a320f Mon Sep 17 00:00:00 2001 From: Luc Date: Thu, 18 Jul 2024 16:36:02 +0000 Subject: [PATCH] Update Contributor List --- .../contributors/RecentContributors.tsx | 40 +++++-------------- 1 file changed, 11 insertions(+), 29 deletions(-) diff --git a/components/sections/contributors/RecentContributors.tsx b/components/sections/contributors/RecentContributors.tsx index 7ab918a..596e045 100644 --- a/components/sections/contributors/RecentContributors.tsx +++ b/components/sections/contributors/RecentContributors.tsx @@ -1,41 +1,23 @@ -const contributors_a = [ - 'lucemans', - 'svemat01', - 'jontes-tech', - 'JustAnotherDevv', - 'antony1060', - 'harryet', - 'robiot', - 'prokopschield', - 'creedscode', - 'm1guelpf', - 'anaarsonist', - 'hattorius', - 'thejoshuahendrix', - 'ItzDerock', - 'visenp', - 'imvlan', - 'loidnoir', - 'TG-Techie', - 'M-Desormeaux', - 'chalkedgoose', - '0xEquinox', - 'KristofKekesi', - 'milkedcow', - 'joelimgu', - 'oguzeray', -]; +const fetchContributors = async () => { + const response = await fetch("https://raw.githubusercontent.com/v3xlabs/v3x-data/master/team/contributors.json"); + const contributors = await response.json(); + return contributors as {contributors: string[]}; +} + +export const RecentContributors = async () => { + + const contributors = await fetchContributors(); -export const RecentContributors = () => { return (

Recent Contributors