--- import type { MediaValue } from "emdash"; import { Image } from "emdash/ui"; interface Props { title: string; summary?: string; featuredImage: MediaValue | string; href: string; client?: string; year?: string; categories?: string[]; tags?: string[]; } const { title, summary, featuredImage, href, client, year, categories, tags } = Astro.props; // Combine categories and tags for display const allTags = [...(categories || []), ...(tags || [])]; ---
View Project

{title}

{client && {client}} {client && year && ยท} {year && {year}}
{summary &&

{summary}

} { allTags.length > 0 && (
{allTags.map((tag) => ( {tag} ))}
) }