diff --git a/src/pages/Contributors/GetContributor.tsx b/src/pages/Contributors/GetContributor.tsx index e2d49252..890d1652 100644 --- a/src/pages/Contributors/GetContributor.tsx +++ b/src/pages/Contributors/GetContributor.tsx @@ -1,9 +1,13 @@ +import { SettingsContext } from '@/lib/context/settings'; + import Image from 'next/image'; -import { useEffect, useState } from 'react'; +import { useContext, useEffect, useState } from 'react'; function GetContributor() { const [contributors, setContributors] = useState([]); + const { theme } = useContext(SettingsContext); + const getData = async () => { const res = await fetch( `https://api.github.com/repos/UniKonf/vibey/contributors?per_page=100` @@ -22,28 +26,39 @@ function GetContributor() { return (
-

+

Our Contributors

{contributors?.map((contributor: any, i) => (
{contributor.login}

{contributor.login}

{contributor.contributions} Commits

-