Add endorsement badges and endorsement history

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-14 20:37:34 -05:00
parent 1eb462fc40
commit 9e178af349
3 changed files with 26 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ const UserCard: React.FC<{ user: User }> = ({ user }) => {
<div className="small">{user.bio}</div>
<div style={{marginTop:8}}>
{user.specialties.map((s) => (
<span key={s} className="tag">{s}</span>
<span key={s} className="tag">{s} ({user.endorsements[s] ?? 0})</span>
))}
</div>
</div>