diff --git a/client/pages/ProfilePassport.tsx b/client/pages/ProfilePassport.tsx index 8455bd62..964a0daa 100644 --- a/client/pages/ProfilePassport.tsx +++ b/client/pages/ProfilePassport.tsx @@ -724,6 +724,78 @@ const ProfilePassport = () => { )} + {profileUrl && ( +
+ + Profile link: + + + {profileUrl} + + +
+ )} + {(profile.arm_affiliations as string[])?.length > 0 && ( +
+

+ Arm Affiliations +

+
+ {(profile.arm_affiliations as string[]).map((arm: string) => { + const armConfig: Record< + string, + { label: string; color: string } + > = { + foundation: { + label: "Foundation", + color: "bg-red-500/20 text-red-200 border-red-500/40", + }, + gameforge: { + label: "GameForge", + color: "bg-green-500/20 text-green-200 border-green-500/40", + }, + labs: { + label: "Labs", + color: "bg-yellow-500/20 text-yellow-200 border-yellow-500/40", + }, + corp: { + label: "Corp", + color: "bg-blue-500/20 text-blue-200 border-blue-500/40", + }, + devlink: { + label: "Dev-Link", + color: "bg-cyan-500/20 text-cyan-200 border-cyan-500/40", + }, + }; + const config = armConfig[arm] || { + label: arm, + color: "bg-slate-500/20 text-slate-200 border-slate-500/40", + }; + return ( + + {config.label} + + ); + })} +
+
+ )}