diff --git a/app/projects/page.tsx b/app/projects/page.tsx index 2a8a99a..6783b8a 100644 --- a/app/projects/page.tsx +++ b/app/projects/page.tsx @@ -44,6 +44,7 @@ const ProjectsPage = () => { subtitle="Matplotlib | Development" backgroundImage={twenty3FontTextSizeThumb} internalLink={"/matplotlib-font-text-sizing"} + subtitleColour="white" />
diff --git a/components/projectCard.tsx b/components/projectCard.tsx index ab663d5..ed55d83 100644 --- a/components/projectCard.tsx +++ b/components/projectCard.tsx @@ -5,6 +5,7 @@ interface ProjectCardProps { subtitle: string; backgroundImage: any; internalLink: string; + subtitleColour?: string; } const ProjectCard: React.FC = ({ @@ -12,6 +13,7 @@ const ProjectCard: React.FC = ({ subtitle, backgroundImage, internalLink, + subtitleColour = "black", }) => { return ( @@ -25,7 +27,9 @@ const ProjectCard: React.FC = ({ {title}

-
+

{subtitle}