diff --git a/src/components/nostr/UserName.tsx b/src/components/nostr/UserName.tsx index 868e5a5..2996991 100644 --- a/src/components/nostr/UserName.tsx +++ b/src/components/nostr/UserName.tsx @@ -40,22 +40,32 @@ export function UserName({ pubkey, isMention, className }: UserNameProps) { dir="auto" className={cn( "font-semibold cursor-crosshair hover:underline hover:decoration-dotted inline-flex items-center gap-1", - isGrimoire - ? isActiveAccount - ? "bg-gradient-to-tr from-orange-400 to-amber-600 bg-clip-text text-transparent" - : "bg-gradient-to-tr from-violet-500 to-fuchsia-600 bg-clip-text text-transparent" - : isActiveAccount - ? "text-highlight" - : "text-accent", className, )} onClick={handleClick} > - + {isMention ? "@" : null} {displayName} - {isGrimoire && } + {isGrimoire && ( + + )} ); }