diff --git a/apps/codeforafrica/public/images/cms/blocks/projects.png b/apps/codeforafrica/public/images/cms/blocks/projects.png new file mode 100644 index 000000000..0f1c207a5 Binary files /dev/null and b/apps/codeforafrica/public/images/cms/blocks/projects.png differ diff --git a/apps/codeforafrica/src/components/ProjectCard/ProjectCard.js b/apps/codeforafrica/src/components/ProjectCard/ProjectCard.js index aba856d4c..a8ec3a08b 100644 --- a/apps/codeforafrica/src/components/ProjectCard/ProjectCard.js +++ b/apps/codeforafrica/src/components/ProjectCard/ProjectCard.js @@ -12,6 +12,7 @@ import React from "react"; import ProjectCardMedia from "@/codeforafrica/components/ProjectCardMedia"; import ProjectTile from "@/codeforafrica/components/ProjectTile"; +import RichText from "@/codeforafrica/components/RichText"; const ProjectActionArea = styled(CardActionArea, { slot: "Root", @@ -31,7 +32,7 @@ const ProjectActionArea = styled(CardActionArea, { const ProjectCard = React.forwardRef(function ProjectCard(props, ref) { const { externalHref, - href, + link: { href }, icon, name, subtitle, @@ -47,7 +48,7 @@ const ProjectCard = React.forwardRef(function ProjectCard(props, ref) { const tileProps = { icon, name, tagLine }; return ( - + {title} - - {subtitle} - + elements={subtitle} + />