-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update Navbar - Add Dark Mode colors
- Loading branch information
Showing
8 changed files
with
133 additions
and
69 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
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 |
---|---|---|
@@ -1,13 +1,26 @@ | ||
import React from 'react'; | ||
import { FaGithub, FaLinkedin } from 'react-icons/fa'; | ||
|
||
const ProfileCard = ({ name, role, image }) => { | ||
const ProfileCard = ({ name, role, image, github, linkedin }) => { | ||
return ( | ||
<div> | ||
<img className="object-cover rounded-xl aspect-square" src={image} alt="" /> | ||
<h1 className="mt-4 text-2xl font-semibold text-gray-700 capitalize dark:text-white">{name}</h1> | ||
<p className="mt-2 text-gray-500 capitalize dark:text-gray-300">{role}</p> | ||
<div className="bg-content-light dark:bg-content-dark text-accent1-light dark:text-accent1-dark p-8 rounded-xl shadow-md"> | ||
<div className="flex justify-center items-center"> | ||
<img className="w-40 h-40 object-cover rounded-full" src={image} alt={`Profile picture of ${name}`} /> | ||
</div> | ||
<div className="text-center"> | ||
<h1 className="mt-4 text-2xl font-semibold capitalize">{name}</h1> | ||
<p className="mt-2 capitalize">{role}</p> | ||
</div> | ||
<div className="flex mt-4 space-x-4 justify-center items-center"> | ||
<a href={github} aria-label={`GitHub Profile of ${name}`} target="_blank" rel="noopener noreferrer"> | ||
<FaGithub className="text-4xl text-accent1-light dark:text-accent1-dark" /> | ||
</a> | ||
<a href={linkedin} aria-label={`LinkedIn Profile of ${name}`} target="_blank" rel="noopener noreferrer"> | ||
<FaLinkedin className="text-4xl text-accent1-light dark:text-accent1-dark" /> | ||
</a> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default ProfileCard; | ||
export default ProfileCard; |
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
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