diff --git a/components/projectCard.jsx b/components/projectCard.jsx index 5456639..efd8f74 100644 --- a/components/projectCard.jsx +++ b/components/projectCard.jsx @@ -3,7 +3,10 @@ import Image from "next/image"; import Icon from "@/components/icon"; export default function ProjectCard({ project, basePath }) { - const imagePath = `${basePath}/images/projects/${project.label.toLowerCase().split(" ").join("_")}.jpg`; + const imagePath = `${basePath}/images/projects/${project.label + .toLowerCase() + .split(" ") + .join("_")}.jpg`; return (
{project.label}
-

{project.label}

+

+ {project.label} +