+ {regularImages.map((image, index) => (
+
3 &&
+ regularImages.length % 2 === 1 &&
+ index === regularImages.length - 1 &&
+ "col-span-2",
+ )
+ : standaloneMedia
+ ? cn(MEDIA_EDGE_CLASS_NAME, "aspect-[4/3] overflow-hidden rounded-2xl")
+ : "aspect-[4/3] overflow-hidden rounded-lg border border-border/80",
+ )}
+ >
+ {image.previewUrl ? (
+
+ ) : (
+
+ {image.name}
+
+ )}
+ {image.previewUrl && image.source?.kind === "snap-shot" ? (
+
+ ) : null}
+
+ ))}
+ {userVideos.map((file) => (
+
+ ))}
+
+ ) : null;
+
return (