--- import type { Member } from '../lib/atproto/home'; import { useTranslations, type Lang } from '../i18n/ui'; interface Props { member: Member; lang?: Lang; } const { member, lang = 'en' } = Astro.props; const t = useTranslations(lang); const profileUrl = `https://mu.social/profile/${member.handle}`; const role = member.sifa?.title; const company = member.sifa?.company; const location = member.sifa?.location; const apps = member.sifa?.apps; const hasSifa = Boolean(role || company || location || apps?.length); const sifaUrl = `https://sifa.id/p/${member.handle}`; ---
{ member.avatar && ( ) }

{member.displayName ?? member.handle}

@{member.handle}

{ hasSifa ? ( <> {/* Title only, never the Sifa-derived company: members volunteer here as individuals and do not necessarily represent their employer. */} {role &&

{role}

} {location &&

{location}

} { apps?.length && ( <>

{t('card.activeOn')}

{apps.map((a) => ( {a.name} ))}
) } ) : ( member.description &&

{member.description}

) }