+
+
+
+
Bookmarks
+
+
+ Articles you've saved for later reading
+
+
+
+ {/* Show login prompt if not logged in */}
+ {!user ? (
+
+
+
+
+
+
Login to View Bookmarks
+
+ Sign in to see your saved articles
+
+
+
+
+
+
+ ) : isLoading ? (
+ /* Loading state */
+
+ {Array.from({ length: 6 }).map((_, i) => (
+
+
+
+
+
+
+
+
+ ))}
+
+ ) : bookmarks.length === 0 ? (
+ /* Empty state */
+
+
+
+
+
+
No Bookmarks Yet
+
+ Start bookmarking articles to see them here. Look for the bookmark button on articles you'd like to save.
+
+
+
+
+
+ ) : articles.length === 0 ? (
+ /* No articles found from bookmarks */
+
+
+
+
+ Couldn't load bookmarked articles. Try switching to a different relay?
+
+
+
+
+
+ ) : (
+ /* Articles grid */
+
+ {articles.map((article) => (
+
+ ))}
+
+ )}
+
+ );
+}