diff --git a/src/components/project-card.tsx b/src/components/project-card.tsx index 89e53f9..0198d6b 100644 --- a/src/components/project-card.tsx +++ b/src/components/project-card.tsx @@ -90,21 +90,34 @@ export function ProjectCard({ {tags?.badges && tags.badges.length > 0 && (
- {tags.badges.map((b, i) => ( - - {b.value} - - ))} + {tags.badges.map((b, i) => { + const icon = b.icon as Media | undefined + return ( + + {!!icon && icon.url && ( + {icon.alt + )} + + {b.value} + + ) + })}
)}