import Image from "next/image"; type ProjectCardProps = { project: { id: string; title: string; location: string; year: string; area: string; role: string; description: string; highlights: readonly string[]; image: string; sheetImage?: string; imageAlt: string; }; reverse?: boolean; priority?: boolean; labels?: { year: string; area: string; role: string; fullSheet: string; }; }; export function ProjectCard({ project, reverse = false, priority = false, labels, }: ProjectCardProps) { return (
*:first-child]:order-2 lg:[&>*:last-child]:order-1" : "" }`} >
{project.imageAlt}
{project.id} {project.location}

{project.title}

{project.description}

{labels?.year ?? "Year"}
{project.year}
{labels?.area ?? "Area"}
{project.area}
{labels?.role ?? "Role"}
{project.role}
{project.sheetImage ? ( {labels?.fullSheet ?? "View full sheet"} ) : null}
); }