+ {/* Floating badges over custom image */}
+
+ {collection.userRole === 'owner' && (
+
+ 👑 Owner
+
+ )}
+ {collection.isPublic && (
+
+ 🌍 Public
+
+ )}
+
);
}
@@ -269,11 +282,24 @@ export default function Collections() {
// If no cards, show crying emoji
if (!thumbnails || thumbnails.length === 0) {
return (
-
+
+ {/* Floating badges over empty state */}
+
+ {collection.userRole === 'owner' && (
+
+ 👑 Owner
+
+ )}
+ {collection.isPublic && (
+
+ 🌍 Public
+
+ )}
+
);
}
@@ -282,7 +308,7 @@ export default function Collections() {
const gridCards = thumbnails.slice(1, 5); // Get up to 4 cards for the 2x2 grid
return (
-
+
{/* Main card (larger, left side) */}
{mainCard ? (
@@ -321,6 +347,20 @@ export default function Collections() {
})}
+
+ {/* Floating badges over card layout */}
+
+ {collection.userRole === 'owner' && (
+
+ 👑 Owner
+
+ )}
+ {collection.isPublic && (
+
+ 🌍 Public
+
+ )}
+
);
};
@@ -448,25 +488,14 @@ export default function Collections() {
{/* Collection Info */}
- {/* Header with name and actions */}
-
-
-
+ {/* Header with name and description - more space */}
+
+
+
{collection.name}
- {collection.description && (
-
- {collection.description}
-
- )}
-
-
-
-
+ {/* Edit/Delete buttons moved to hover only */}
+
{
e.stopPropagation();
@@ -499,6 +528,11 @@ export default function Collections() {
+ {collection.description && (
+
+ {collection.description}
+
+ )}
{/* Compact Stats */}
@@ -541,6 +575,36 @@ export default function Collections() {
)}
)}
+
+ {/* Creator/Facepile and View Button Row */}
+
+
+ {/* Creator info or facepile */}
+
+
+ {collection.creator ? collection.creator.charAt(0).toUpperCase() : 'A'}
+
+
+ {collection.creator ? collection.creator.split('@')[0] : 'alice'}
+
+
+ {/* Additional collaborators could go here as overlapping avatars */}
+
+
{
+ e.stopPropagation();
+ router.push(`/collection/${collection.slug || collection.id}`);
+ }}
+ className="px-3 py-1.5 text-xs font-medium rounded-lg transition-colors hover:scale-105"
+ style={{
+ backgroundColor: 'var(--bg-tertiary)',
+ color: 'var(--text-primary)',
+ border: '1px solid var(--border)'
+ }}
+ >
+ View
+
+
))}