-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
305 additions
and
100 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
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,58 @@ | ||
import React from "react" | ||
import projects from "../data/projects" | ||
import { ProjectLink } from "./atoms" | ||
|
||
const ProjectGrid = ({ showHeading }) => { | ||
return ( | ||
<section className=""> | ||
{showHeading && ( | ||
<h2 className="mt-32 font-normal text-accent tracking-widestest"> | ||
PROJECTS | ||
</h2> | ||
)} | ||
<ul className="mt-3 -mx-5 grid md:grid-cols-2 gap-6 md:gap-6"> | ||
{projects.map(project => { | ||
return ( | ||
<li | ||
key={project.title} | ||
className="py-5 px-6 relative group md:bg-secondary hover:bg-secondary" | ||
> | ||
<div className="flex justify-between space-x-3 sm:space-x-0 pb-10"> | ||
<div> | ||
<h3 className="text-xl font-semibold text-primary group-hover:text-accent"> | ||
<a | ||
href={project.slug} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
{project.title} | ||
</a> | ||
</h3> | ||
<h4 className="font-base text-tertiary pr-3"> | ||
{project.description} | ||
</h4> | ||
<div className="flex items-center justify-start space-x-4 absolute bottom-0 mb-5"> | ||
{project.links.map(link => { | ||
return ( | ||
<ProjectLink | ||
key={link.url} | ||
label={link.label} | ||
url={link.url} | ||
/> | ||
) | ||
})} | ||
</div> | ||
</div> | ||
<span className="mt-1 text-sm sm:text-base text-tertiary"> | ||
{project.year} | ||
</span> | ||
</div> | ||
</li> | ||
) | ||
})} | ||
</ul> | ||
</section> | ||
) | ||
} | ||
|
||
export default ProjectGrid |
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,36 @@ | ||
import React from "react" | ||
import { Heading } from "./atoms" | ||
|
||
const SkillGrid = ({ | ||
heading = "", | ||
description = "", | ||
categories = [], | ||
className = "", | ||
}) => { | ||
return ( | ||
<section className={`${className} mb-4`}> | ||
<Heading>{heading}</Heading> | ||
<p className="-mt-3 mb-8 text-tertiary">{description}</p> | ||
<ul className="mt-3 grid md:grid-cols-2 col-gap-10 row-gap-10"> | ||
{categories.map(category => { | ||
return ( | ||
<li key={category.title}> | ||
<div> | ||
<h3 className="text-xl font-semibold text-primary group-hover:text-accent"> | ||
{category.title} | ||
</h3> | ||
<ul className="mt-1 space-y-2"> | ||
{category.skills.map(skill => { | ||
return <li className="text-tertiary">{skill}</li> | ||
})} | ||
</ul> | ||
</div> | ||
</li> | ||
) | ||
})} | ||
</ul> | ||
</section> | ||
) | ||
} | ||
|
||
export default SkillGrid |
Oops, something went wrong.
8bfc061
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: