-
+
{displayName}
+ {isBot && (
+
+ Bot
+
+ )}
{nip05 && (
@@ -133,6 +144,31 @@ function ProfilePage({ pubkey }: { pubkey: string }) {
{nip05}
)}
+ {/* Crew membership summary — links straight to the crews */}
+ {crews.length > 0 && (
+
+
+
+ {crews.slice(0, 2).map((m, i) => (
+
+ {i > 0 && ', '}
+
+ {m.crew.name}
+
+ {m.role === 'founder' && (
+
+ )}
+
+ ))}
+ {crews.length > 2 && (
+ +{crews.length - 2} more
+ )}
+
+
+ )}
{/* Actions */}
@@ -301,11 +337,61 @@ function ProfilePage({ pubkey }: { pubkey: string }) {
+ {/* Crews Card */}
+ {(crewsLoading || crews.length > 0) && (
+
+
+
+
+ Crews
+ {crews.length > 0 && (
+
+ {crews.length}
+
+ )}
+
+
+
+ {crewsLoading ? (
+ <>
+
+
+ >
+ ) : (
+ crews.map((m) => (
+
+
+
+
+ {m.crew.name.slice(0, 2).toUpperCase()}
+
+
+
+
{m.crew.name}
+
+ {m.role === 'founder' ? (
+ <> Founder>
+ ) : (
+ <>Member>
+ )}
+
+
+
+ ))
+ )}
+
+
+ )}
+
{/* Stats Card */}
Contributions
-
+
{spots?.length || 0}
Spots
@@ -314,6 +400,10 @@ function ProfilePage({ pubkey }: { pubkey: string }) {
{shops?.length || 0}
Shops
+
+
{crews.length}
+
Crews
+