import Link from "next/link"; import { GoArrowRight } from "react-icons/go"; import { Project } from "@/lib/projects/types"; type props = { project: Project; locale: string; isTheLast?: boolean; }; export const ProjectCard = ({ project, locale, isTheLast = false }: props) => { return (
{/* Date label */}
{project.dateLabel}
{/* Left image */}
{project.title}
{/* Right content */}
{project.category}
{project.title}

( {project.roles.map((role, index) => role + (index < project.roles.length - 1 ? ", " : ""))} )

{project.description}

READ

{isTheLast &&
}
); };