Skip to content

Commit

Permalink
Update Contributor List
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Jul 18, 2024
1 parent dea3916 commit 8ec5307
Showing 1 changed file with 11 additions and 29 deletions.
40 changes: 11 additions & 29 deletions components/sections/contributors/RecentContributors.tsx
Original file line number Diff line number Diff line change
@@ -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 (
<div className="lborder w-full p-4 rounded-md space-y-2">
<h2>Recent Contributors</h2>
<ul className="flex gap-1 flex-wrap">
{contributors_a.map((contributor) => (
{contributors.contributors.map((contributor) => (
<li key={contributor}>
<a
href={`https://github.com/${contributor}`}
target="_blank"
title={contributor}
>
<img
src={`https://github.com/${contributor}.png`}
Expand Down

0 comments on commit 8ec5307

Please sign in to comment.