diff --git a/client/pages/DevelopersDirectory.tsx b/client/pages/DevelopersDirectory.tsx index ec3e888f..acf4d4ff 100644 --- a/client/pages/DevelopersDirectory.tsx +++ b/client/pages/DevelopersDirectory.tsx @@ -49,6 +49,9 @@ const DeveloperCard = ({ profile }: DeveloperCardProps) => { const realmStyle = realmBadgeStyles[profile.user_type] || "bg-aethex-500 text-white"; const isGodMode = (profile.level ?? 1) >= 100; + const passportHref = profile.username + ? `/passport/${profile.username}` + : `/passport/${profile.id}`; return ( @@ -120,10 +123,7 @@ const DeveloperCard = ({ profile }: DeveloperCardProps) => { variant="outline" className="w-full border-slate-700/70 text-slate-100 transition-colors hover:border-aethex-400/60 hover:text-white" > - + View Passport