- {/* Back button and TCG tabs */}
-
+ {/* Back button */}
+
-
- {/* TCG Tabs */}
-
- {['MTG', 'Lorcana', 'Pokemon'].map((tcg) => (
-
- ))}
-
{/* Action buttons */}
@@ -223,7 +206,7 @@ export default function CollectionView() {
-
@@ -238,6 +221,20 @@ export default function CollectionView() {
{collection.description}
+ {/* TCG Tags */}
+
+ {Object.entries(gameStats).map(([game, count]) =>
+ count > 0 ? (
+
+ {game}
+
+ ) : null
+ )}
+
+
{/* Creator and Stats */}
@@ -297,7 +294,7 @@ export default function CollectionView() {
-
+
📧 Invite Collaborator
@@ -403,7 +400,7 @@ export default function CollectionView() {
setViewMode('grid')}
- className={`p-2 rounded-l-lg ${viewMode === 'grid' ? 'bg-purple-600 text-white' : 'bg-transparent'}`}
+ className={`p-2 rounded-l-lg ${viewMode === 'grid' ? 'bg-white text-gray-900 shadow-sm' : 'bg-transparent hover:bg-gray-50'}`}
style={viewMode !== 'grid' ? { color: 'var(--text-secondary)' } : {}}
>
setViewMode('list')}
- className={`p-2 rounded-r-lg ${viewMode === 'list' ? 'bg-purple-600 text-white' : 'bg-transparent'}`}
+ className={`p-2 rounded-r-lg ${viewMode === 'list' ? 'bg-white text-gray-900 shadow-sm' : 'bg-transparent hover:bg-gray-50'}`}
style={viewMode !== 'list' ? { color: 'var(--text-secondary)' } : {}}
>