-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1113 from Sch476/newb
Added Contibutor's list
- Loading branch information
Showing
7 changed files
with
106 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,15 +17,15 @@ | |
|
||
<title>UMatter</title> | ||
<!--Bootstrap link--> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> | ||
<script type="text/javascript"> window.$crisp=[];window.CRISP_WEBSITE_ID="e79efdd2-abee-4a1e-b868-c7929585ebd9";(function(){ d=document;s=d.createElement("script"); s.src="https://client.crisp.chat/l.js"; s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})(); </script> | ||
<!-- <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> | ||
<script type="text/javascript"> window.$crisp=[];window.CRISP_WEBSITE_ID="e79efdd2-abee-4a1e-b868-c7929585ebd9";(function(){ d=document;s=d.createElement("script"); s.src="https://client.crisp.chat/l.js"; s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})(); </script> --> | ||
</head> | ||
<body class="dark-theme"> | ||
<noscript>You need to enable JavaScript to run this app.</noscript> | ||
<div id="root"></div> | ||
<div id="preloader"></div> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script> | ||
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous"></script> | ||
</body> | ||
</body> --> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import React, { useEffect, useState } from "react"; | ||
|
||
function Teams() { | ||
const [contributors, setContributors] = useState([]); | ||
|
||
useEffect(() => { | ||
const owner = "MonalikaPatnaik"; | ||
const repo = "UMatter"; | ||
|
||
fetch(`https://api.github.com/repos/${owner}/${repo}/contributors`) | ||
.then((response) => response.json()) | ||
.then((data) => { | ||
setContributors(data); | ||
}) | ||
.catch((error) => { | ||
console.error("Error fetching contributors:", error); | ||
}); | ||
}, []); | ||
|
||
return ( | ||
<section className="text-gray-400 bg-gray-900 body-font"> | ||
<div className="container px-5 py-24 mx-auto"> | ||
<div className="flex flex-col text-center w-full mb-20"> | ||
<h1 className="sm:text-6xl text-6xl font-bold title-font mb-4 text-white">Meet Our Team</h1> | ||
<p className="lg:w-2/3 mx-auto leading-relaxed text-xl"> | ||
Thank you to all the amazing contributors who have contributed to this project! Your efforts are greatly | ||
appreciated. 💙 | ||
</p> | ||
</div> | ||
<div className="flex flex-wrap -m-4"> | ||
{contributors.map((contributor) => ( | ||
<div key={contributor.id} className="p-4 lg:w-1/4 md:w-1/2 w-full"> | ||
<a href={contributor.html_url} target="_blank" rel="noopener noreferrer"> | ||
<div className="h-full bg-white bg-opacity-20 rounded-lg overflow-hidden shadow-md transform transition-transform hover:scale-110"> | ||
<img | ||
alt={`${contributor.login}'s Profile`} | ||
className="w-full h-72 object-cover object-center mb-4 rounded-lg cursor-pointer transform transition-transform hover:scale-110" | ||
src={contributor.avatar_url} | ||
/> | ||
<div className="p-6"> | ||
<h2 className="text-2xl font-medium text-white">{contributor.login}</h2> | ||
<h3 className="text-gray-300 mb-3"> | ||
{contributor.login === "MonalikaPatnaik" ? "Project Admin" : "Contributor"} | ||
</h3> | ||
</div> | ||
</div> | ||
</a> | ||
</div> | ||
))} | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
} | ||
|
||
export default Teams; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from "react"; | ||
import Teams from "../Components/Team"; | ||
import Footer from "../Components/Footer"; | ||
|
||
const Team = () => { | ||
return( | ||
<> | ||
<Teams /> | ||
<Footer /> | ||
</> | ||
); | ||
}; | ||
|
||
export default Team; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
darkMode: "class", | ||
content: ["./src/**/*.{js,jsx,ts,tsx}"], | ||
theme: { | ||
screens: { | ||
signupTable: { max: "550px" }, | ||
}, | ||
extend: {}, | ||
}, | ||
plugins: [], | ||
}; | ||
} | ||
|
2ca91a8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
umatter – ./
umatter-monalikapatnaik.vercel.app
umatter-eight.vercel.app
umatter-git-main-monalikapatnaik.vercel.app