diff --git a/src/pages/GroupDetail.tsx b/src/pages/GroupDetail.tsx index 417b9212..211a0c89 100644 --- a/src/pages/GroupDetail.tsx +++ b/src/pages/GroupDetail.tsx @@ -550,11 +550,17 @@ export default function GroupDetail() {
- {imageLoading && ( + {imageLoading && image && ( )} - {/* Check if the image URL is likely a video */} - {image && image.match(/\.(mp4|webm|ogg|mov)$/i) ? ( + {!image ? ( + // Show a nice gradient background when no image is provided +
+
+ +
+
+ ) : image.match(/\.(mp4|webm|ogg|mov)$/i) ? (