Skip to content

Commit 1f56fce

Browse files
authored
fix(MaintainerCard): apply badge style to contributor and consultant roles (#803)
1 parent e7ac541 commit 1f56fce

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/MaintainerCard.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ function RoleBadge({
4242
)
4343
}
4444

45-
return <span className="text-gray-500 dark:text-gray-400">{role}</span>
45+
return (
46+
<span className="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-500 text-white">
47+
{role}
48+
</span>
49+
)
4650
}
4751

4852
function FrameworkChip({ framework }: { framework: Framework }) {

0 commit comments

Comments
 (0)