--- import Tag from '../ui/Tag.astro'; export interface Props { year: string; role: string; company: string; description: string; tech: string[]; slug?: string; } const { year, role, company, description, tech, slug } = Astro.props; --- {slug ? (
{year}

{role}

{company}

{description}

{tech.map((technology) => ( ))}
) : (
{year}

{role}

{company}

{description}

{tech.map((technology) => ( ))}
)}