+
+ {/* Row 1: icon + name + badge */}
+
{isApp && faviconUrl && !faviconError ? (

setFaviconError(true)}
/>
) : (
-
+
)}
-
-
-
- {displayName}
+
+ {displayName}
+
+ {isPersonalFork ? (
+
+ Fork
+
+ ) : (
+
+ Public
+
+ )}
+
+
+ {/* Row 2: description */}
+ {description && (
+
+ {description}
+
+ )}
+
+ {/* Row 3: hashtags as inline metadata (like GitHub's language/stars row) */}
+ {hashtags.length > 0 && (
+
+ {hashtags.slice(0, 5).map((tag) => (
+
+
+ {tag}
+
+ ))}
+ {isPersonalFork && (
+
+
+ Fork
- {isPersonalFork && (
-
- Fork
-
- )}
-
- {description && (
-
- {description}
-
)}
-
+ )}
{/* Clone URL -- hidden for apps */}
{!isApp && cloneUrls[0] && (
@@ -114,90 +144,73 @@ export function GitRepoCard({ event }: GitRepoCardProps) {
)}
- {/* Tags */}
- {hashtags.length > 0 && (
-
- {hashtags.slice(0, 6).map((tag) => (
-
+ {hasShakespeare && (
+
- ))}
- {hashtags.length > 6 && (
-
- +{hashtags.length - 6} more
-
+
+ Edit with Shakespeare
+
)}
+ {isApp ? (
+
+ ) : webUrls[0] ? (
+
+ ) : !hasShakespeare && cloneUrls[0] ? (
+
+ ) : null}
)}
-
- {/* Action buttons */}
-
- {hasShakespeare && (
-
- )}
- {isApp ? (
-
- ) : webUrls[0] ? (
-
- ) : !hasShakespeare && cloneUrls[0] ? (
-
- ) : null}
-