+ {/* Author Avatar */}
+
e.stopPropagation()}
+ className="shrink-0"
+ >
+
+
+ {displayName[0]?.toUpperCase()}
+
+
+
+ {/* Notification Content */}
+
+
+ e.stopPropagation()}
+ className="font-semibold hover:underline"
+ >
+ {displayName}
+
+ {notificationInfo.label}
+ {notificationInfo.icon}
+
+
+ {/* Show comment content if it's a comment */}
+ {notification.notificationType === 'comment' && notification.content && (
+
+
+
+ )}
+
+ {/* Show mention content if it's a mention */}
+ {notification.notificationType === 'mention' && notification.content && (
+
+
+
+ )}
+
+
{timeAgo}
+
+
+ {/* Target Picture Thumbnail */}
+ {targetImageUrl && (
+
+

+
+ )}
+
+