+
+
+
+
+
+
+
+
+
+
+
+ {unreadCount > 0 && (
+
+ )}
+
+
+
+
+
+
+ Notification History
+
+ + {unreadCount > 0 + ? `${unreadCount} unread notification${unreadCount > 1 ? "s" : ""}` + : "All caught up"} +
+
+ {allNotifications.length === 0 ? (
+
+
+
+
+ ) : (
+ allNotifications.map((n) => (
+ No notifications yet
++ Notifications about credential expiry, verification, and sharing will appear here +
+ markAsRead(n.id)}
+ className={`p-4 bg-white/5 backdrop-blur-lg rounded-xl transition-colors cursor-pointer hover:bg-white/10 ${
+ !n.read ? "border-l-2 border-green-500" : ""
+ }`}
+ >
+
+ ))
+ )}
+
+
+
+
+
+
+ {!n.read && (
+
+ )}
+
+ + {n.title} +
+ + {n.type.replace("_", " ")} + +{n.message}
+{formatDate(n.timestamp)}
+