-
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 Projects page
- Loading branch information
Showing
9 changed files
with
81 additions
and
64 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 was deleted.
Oops, something went wrong.
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,29 @@ | ||
import pureNimble from '../assets/pureNimbleLogo.png'; | ||
import { FaGithubAlt } from "react-icons/fa"; | ||
|
||
const ProjectCard = ({ title, description, url, date }) => { | ||
return ( | ||
<a href={url} target="_blank" rel="noopener noreferrer" className="group"> | ||
<div className="bg-content-light dark:bg-content-dark rounded-lg shadow-lg overflow-hidden w-full transition-colors duration-300 hover:bg-gray-100 dark:hover:bg-gray-500"> | ||
<FaGithubAlt className='w-full h-64 scale-75 text-bkg-dark dark:text-bkg-light transition-transform duration-300 group-hover:scale-100' /> | ||
<div className="p-6"> | ||
<h2 className="text-2xl font-bold text-accent1-light dark:text-accent1-dark mb-2 transition-colors duration-300 group-hover:text-content-dark dark:group-hover:text-content-light"> | ||
{title} | ||
</h2> | ||
<p className="text-accent2-light dark:text-accent2-dark leading-tight mb-4 transition-colors duration-300 group-hover:text-content-dakr dark:group-hover:text-content-light"> | ||
{description} | ||
</p> | ||
<div className="flex justify-between items-center"> | ||
<div className="flex items-center"> | ||
<img src={pureNimble} alt="Avatar" className="w-8 h-8 rounded-full mr-2 object-cover transition-transform duration-300" /> | ||
<span className="text-accent1-light dark:text-accent1-dark font-semibold transition-colors duration-300 group-hover:text-content-dark dark:group-hover:text-content-light">PureNimble</span> | ||
</div> | ||
<span className="text-accent1-light dark:text-accent1-dark transition-colors duration-300 group-hover:text-content-dark dark:group-hover:text-content-light">{date}</span> | ||
</div> | ||
</div> | ||
</div> | ||
</a> | ||
); | ||
} | ||
|
||
export default ProjectCard; |
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,11 +1,11 @@ | ||
import DarkModeToggleButton from "./DarkModeToggleButton"; | ||
import ProfileCard from "./ProfileCard"; | ||
import Navbar from "./Navbar"; | ||
import Card from "./Card"; | ||
import ProjectCard from "./ProjectCard"; | ||
|
||
export { | ||
Navbar, | ||
DarkModeToggleButton, | ||
ProfileCard, | ||
Card | ||
ProjectCard | ||
} |
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,9 +1,9 @@ | ||
import Team from "./Team"; | ||
import PageNotFound from "./PageNotFound"; | ||
import Projects from "./Projects"; | ||
import PageNotFound from "./PageNotFound"; | ||
|
||
export { | ||
Team, | ||
PageNotFound, | ||
Projects | ||
Projects, | ||
PageNotFound | ||
} |