interface Project { title: string description: string tech: string[] links?: { live?: string github?: string } } interface WorkExperienceCardProps { year: string role: string company: string description: string tech: string[] projects?: Project[] } export function WorkExperienceCard({ year, role, company, description, tech, projects }: WorkExperienceCardProps) { return (
{year}

{role}

{company}
{tech.map((techItem) => ( {techItem} ))}

{description}

{projects && projects.length > 0 && (
PROJECTS
{projects.map((project, index) => (

{project.title}

{project.links && (
{project.links.github && ( )} {project.links.live && ( )}
)}

{project.description}

{project.tech.map((techItem) => ( {techItem} ))}
))}
)}
) }