diff --git a/src/components/sections/ProjectCard.jsx b/src/components/sections/ProjectCard.jsx index 9698fe8..364b4f9 100644 --- a/src/components/sections/ProjectCard.jsx +++ b/src/components/sections/ProjectCard.jsx @@ -2,6 +2,23 @@ import React from "react"; import GitHubMark from "./GitHubMark"; const ProjectCard = ({ title, liveUrl, gitUrl, children }) => { + const getLiveUrl = () => { + if (liveUrl.length == 0) { + return ( +
+ Live +
+ ); + } + return ( + + Live + + ); + }; return (
@@ -9,10 +26,11 @@ const ProjectCard = ({ title, liveUrl, gitUrl, children }) => { {children}
- - Live - - + {getLiveUrl()} +
diff --git a/src/components/sections/Projects.jsx b/src/components/sections/Projects.jsx index 017fde9..14deeae 100644 --- a/src/components/sections/Projects.jsx +++ b/src/components/sections/Projects.jsx @@ -1,5 +1,5 @@ import React from "react"; -import ProjectCard from './ProjectCard'; +import ProjectCard from "./ProjectCard"; const Projects = () => { return ( @@ -9,13 +9,46 @@ 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.

+ +

+ 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. +

+

+ Use the following credentitals to play around: +

+
    +
  • Username: 1@tutor.com
  • +
  • Password: SafePassword123.
  • +
- - - - + +

+ A revision tool which allows students to revise various subjects. + Uses Auth0 for user sign ups. +

+
+ + +