From 604a73766fed3de19e28f7cae996dcd393620b91 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Fri, 14 Nov 2025 23:14:58 +0000 Subject: [PATCH] completionId: cgen-4a62901a514e44dba9800d4be88535e6 cgen-4a62901a514e44dba9800d4be88535e6 --- client/components/social/FeedItemCard.tsx | 70 +++++++++++------------ 1 file changed, 34 insertions(+), 36 deletions(-) diff --git a/client/components/social/FeedItemCard.tsx b/client/components/social/FeedItemCard.tsx index ba3ad59e..831e1f11 100644 --- a/client/components/social/FeedItemCard.tsx +++ b/client/components/social/FeedItemCard.tsx @@ -118,21 +118,21 @@ export function FeedItemCard({ armColor.bg, "bg-background/70" )}> - -
-
- + +
+
+ - + {item.authorName?.[0]?.toUpperCase() || "U"}
-
- +
+ {item.authorName} @@ -156,7 +156,7 @@ export function FeedItemCard({
- + {hasMedia && (
{item.mediaType === "video" ? ( @@ -193,22 +193,22 @@ export function FeedItemCard({ )} {item.caption && ( -

+

{item.caption}

)} -
-
-
+
+
+
-
+
{item.mediaType === "video" ? "Video" @@ -237,51 +237,51 @@ export function FeedItemCard({ ? "Image" : "Update"} - +
{showComments && ( -
+
{loadingComments ? (

Loading comments…

) : comments.length === 0 ? ( -

+

Be the first to comment.

) : ( comments.map((c) => ( -
- +
+ - + {(c.user_profiles?.full_name || c.user_profiles?.username || "U")[0]?.toUpperCase() || "U"} -
-
+
+
{c.user_profiles?.full_name || c.user_profiles?.username || "Member"}
-
+
{c.content}
@@ -289,18 +289,16 @@ export function FeedItemCard({ )) )}
-
+