Skip to content

Commit ba271c3

Browse files
contributors section enhanced
1 parent 4d4a3fc commit ba271c3

File tree

3 files changed

+28
-19
lines changed

3 files changed

+28
-19
lines changed

components/aboutUs.js

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,20 @@ const AboutUs = () => {
8989
<div>
9090
<div className="flex flex-col justify-center items-center flex-wrap">
9191
<div className=" my-5 mx-3 p-6 flex flex-col justify-center items-center md:w-4/5 md:mx-0p-6 px-5 overflow-auto border-blue-700 border-2 rounded-lg bg-sky-300">
92-
<Link href="/contributors" className="cursor-pointer">
93-
<p className=" text-xl font-bold underline underline-offset-4 text-blue-700 mb-4">
94-
Check out our cool contributors
95-
</p>
96-
<hr className="bg-white" />
97-
<p className="w-full text-center text-blue-900 font-semibold flex flex-col md:flex-row justify-center items-center">
98-
We currently have around 50+ open source contributors who have contributed in codebase through different ways from
99-
correcting the UI components to adding this whole new link ❤️‍🔥. Check our contributors in next page, and you too can
100-
become a part of our cool 🥸 community.
92+
<p className=" text-xl font-bold underline underline-offset-4 text-blue-700 mb-4">
93+
Check out our cool contributors
94+
</p>
95+
<hr className="bg-white" />
96+
<p className="w-full text-center text-blue-900 font-semibold flex flex-col md:flex-row justify-center items-center">
97+
We currently have around 50+ open source contributors who
98+
have contributed in codebase through different ways from
99+
correcting the UI components to adding this whole new link
100+
⚡. Check our contributors in next page, and you too can
101+
become a part of our cool 🥸 community.
102+
</p>
103+
<Link href="/contributors">
104+
<p className="bg-rose-400 py-1 px-2 rounded-2xl text-white font-semibold cursor-pointer">
105+
Check your
101106
</p>
102107
</Link>
103108
</div>

components/contributor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable @next/next/no-img-element */
12
import {useEffect, useState} from "react";
23

34
function Contributor(props) {

components/contributors.js

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,21 @@ const Contributors = () => {
3838
</div>
3939
) : (
4040
<div className="banner">
41-
<div className="mx-4 md:mx-40">
42-
<p className="text-3xl text-white font-bold text-center ">Our contributors:</p>
43-
<div className="p-6 px-5"></div>
44-
<div
45-
id="contributors"
46-
className="max-w-sm relative mx-auto dark:highlight-white/5 shadow-lg ring-1 ring-black/5 rounded-xl flex flex-col md:max-w-5xl md:overflow-auto md:w-auto md:flex md:flex-row md:flex-wrap md:justify-evenly ">
47-
{contributors.map((contributor, idx) => (
48-
<Contributor key={idx} contributor={contributor} />
49-
))}
50-
</div>
41+
<div className="mx-4 md:mx-40">
42+
<p className="text-3xl text-white font-bold text-center ">
43+
Our contributors:
44+
</p>
45+
<div className="p-6 px-5"></div>
46+
<div
47+
id="contributors"
48+
className="max-w-sm relative mx-auto dark:highlight-white/5 shadow-lg ring-1 ring-black/5 rounded-xl flex flex-col md:max-w-5xl md:overflow-auto md:w-auto md:flex md:flex-row md:flex-wrap md:justify-evenly ">
49+
{console.log("checking, ", contributors)}
50+
{contributors.map((contributor, idx) => (
51+
<Contributor key={idx} contributor={contributor} />
52+
))}
5153
</div>
5254
</div>
55+
</div>
5356
)}
5457
</div>
5558
);

0 commit comments

Comments
 (0)