diff --git a/apps/web/src/app/contributors/page.tsx b/apps/web/src/app/contributors/page.tsx index 38d6c0d..67a4ff5 100644 --- a/apps/web/src/app/contributors/page.tsx +++ b/apps/web/src/app/contributors/page.tsx @@ -61,8 +61,8 @@ async function getContributors(): Promise { export default async function ContributorsPage() { const contributors = await getContributors(); - const topContributor = contributors[0]; - const otherContributors = contributors.slice(1); + const topContributors = contributors.slice(0, 2); + const otherContributors = contributors.slice(2); return (
@@ -105,54 +105,59 @@ export default async function ContributorsPage() {
- {topContributor && ( + {topContributors.length > 0 && (

- Top Contributor + Top Contributors

Leading the way in contributions

- -
-
- - -
- - - - {topContributor.login.charAt(0).toUpperCase()} - - -
- 1 -
-
-

- {topContributor.login} -

-
- - {topContributor.contributions} - - contributions -
-
-
-
- +
+ {topContributors.map((contributor, index) => ( + +
+
+ + +
+ + + + {contributor.login.charAt(0).toUpperCase()} + + +
+ {index + 1} +
+
+

+ {contributor.login} +

+
+ + {contributor.contributions} + + contributions +
+
+
+
+ + ))} +
)}