From 7ab16888654af17931a6e02923317c9cb1df667b Mon Sep 17 00:00:00 2001 From: John Costa Date: Fri, 13 May 2022 15:55:54 +0100 Subject: [PATCH] feat: buttons now work and refactored project card --- src/components/sections/ProjectCard.jsx | 12 ++++++------ src/components/sections/Projects.jsx | 4 +++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/components/sections/ProjectCard.jsx b/src/components/sections/ProjectCard.jsx index a2ed13d..9698fe8 100644 --- a/src/components/sections/ProjectCard.jsx +++ b/src/components/sections/ProjectCard.jsx @@ -1,20 +1,20 @@ import React from "react"; import GitHubMark from "./GitHubMark"; -const ProjectCard = ({ title, description }) => { +const ProjectCard = ({ title, liveUrl, gitUrl, children }) => { return (

{title}

-

{description}

+ {children}
- - +
); diff --git a/src/components/sections/Projects.jsx b/src/components/sections/Projects.jsx index 3cd4bcf..017fde9 100644 --- a/src/components/sections/Projects.jsx +++ b/src/components/sections/Projects.jsx @@ -9,7 +9,9 @@ const Projects = () => { Projects
- + +

A lesson and progress management system which allowed tutors at my company to schedule lessons, add repots and keep track of students progress. Built using the MERN stack.

+