diff --git a/src/components/Contributors.tsx b/src/components/Contributors.tsx index 0df0199..2827d49 100644 --- a/src/components/Contributors.tsx +++ b/src/components/Contributors.tsx @@ -129,12 +129,16 @@ function Contributors() { name = name.slice(0, 10) + "..."; } - if (fname !== "dependabot[bot]" && fname !== owner && !topContri.includes(contributor)) { + if ( + fname !== "dependabot[bot]" && + fname !== owner && + !topContri.includes(contributor) + ) { const loginLink = contributor.html_url; const contri = contributor.contributions; return (
-

{name}

+

+ {name} +

Open Source Contributor

@@ -177,7 +183,10 @@ function Contributors() { className={`text-black hover:bg-[#2b6cb060] hover:text-[black] member-social-links group flex flex-col items-center [transition:0.5s_ease-in-out] w-28 pl-4 pr-4 pt-2 pb-2 rounded-2xl cursor-pointer hover:[box-shadow:2px_2px_10px_2px_#0000002f] dark:text-white dark:hover:bg-[#4a5568] dark:hover:text-white`} > - +
GitHub @@ -186,7 +195,6 @@ function Contributors() {
); - } return null; }); @@ -201,7 +209,10 @@ function Contributors() {
-
+
-

1

+

+ 1 +

-
- crown +
+ crown
-

{contributors[0].name || contributors[0].login}

-

contributions {contributors[0].contributions}

+

+ {contributors[0].name || contributors[0].login} +

+

+ contributions {contributors[0].contributions} +

-
+
-

2

+

+ 2 +

-
- +
+
-

{contributors[1].name || contributors[1].login}

-

contributions {contributors[1].contributions}

+

+ {contributors[1].name || contributors[1].login} +

+

+ contributions {contributors[1].contributions} +

-
+
-

3

+

+ 3 +

-
- +
+
-

{contributors[2].name || contributors[2].login}

-

contributions {contributors[2].contributions}

+

+ {contributors[2].name || contributors[2].login} +

+

+ contributions {contributors[2].contributions} +

@@ -269,7 +341,10 @@ function Contributors() { } else { return (
-
+
-

2

+

+ 2 +

-
- +
+
-

{contributors[1].name || contributors[1].login}

-

contributions {contributors[1].contributions}

+

+ {contributors[1].name || contributors[1].login} +

+

+ contributions {contributors[1].contributions} +

-
+
-

1

+

+ 1 +

-
- crown +
+ crown
-

{contributors[0].name || contributors[0].login}

-

contributions {contributors[0].contributions}

+

+ {contributors[0].name || contributors[0].login} +

+

+ contributions {contributors[0].contributions} +

-
+
-

3

+

+ 3 +

-
- +
+
-

{contributors[2].name || contributors[2].login}

-

contributions {contributors[2].contributions}

+

+ {contributors[2].name || contributors[2].login} +

+

+ contributions {contributors[2].contributions} +

); @@ -333,21 +469,36 @@ function Contributors() { return (
-
+
Maintainers
{/* Team Member */} -
-
+
+
- Harmeet Singh + Harmeet Singh
-

Harmeet Singh

-

Full Stack Developer

+

+ Harmeet Singh +

+

+ Full Stack Developer +

Maintainer @@ -357,30 +508,68 @@ function Contributors() { {/* Social Links for Team Member */}
- - + + -

Sponsor

+

+ Sponsor +

- - + + -

Github

+

+ Github +

- - + + -

LinkedIn

+

+ LinkedIn +

-

Top 3 Contributors

-
+

+ Top 3 Contributors +

+
{renderTopContributors(topContri)}
@@ -388,7 +577,10 @@ function Contributors() {

Other Contributors

-
+
{renderContributors(otherContri.slice(0, currentPage * itemsPerPage))}
@@ -399,8 +591,20 @@ function Contributors() { onClick={loadMore} > Load More -
@@ -408,4 +612,4 @@ function Contributors() { ); } -export default Contributors; \ No newline at end of file +export default Contributors;