diff --git a/src/components/Projects/ProjectCards.js b/src/components/Projects/ProjectCards.js index 98c23ce0f0..7131baaaba 100644 --- a/src/components/Projects/ProjectCards.js +++ b/src/components/Projects/ProjectCards.js @@ -6,35 +6,43 @@ import { BsGithub } from "react-icons/bs"; function ProjectCards(props) { return ( - + - + {/* Use a flex-column layout for the card body so that the buttons group can stick to the bottom */} + {props.title} {props.description} - - {"\n"} - {"\n"} - - {/* If the component contains Demo link and if it's not a Blog then, it will render the below component */} - - {!props.isBlog && props.demoLink && ( - - )} + + {/* Render Demo button if applicable */} + {!props.isBlog && props.demoLink && ( + + )} + + ); } + export default ProjectCards;