@@ -21,17 +21,36 @@ export const Gallery = ({ items, title = "Most Popular Printables" }) => {
className="group bg-white rounded-3xl border-2 border-slate-100 overflow-hidden hover:border-primary-200 hover:shadow-xl hover:shadow-primary-100/50 transition-all duration-300"
>
- {/* This would ideally be the actual sheet preview */}
-
-
{item.title}
-
{item.subtitle}
-
123
-
+ {item.sections && item.sections.length > 0 && item.sections[0].content_svg ? (
+
+
+ {/* Overlay to prevent interaction with SVG parts */}
+
+
+ ) : (
+
+ {item.image ? (
+

+ ) : (
+ <>
+
{item.title}
+
{item.subtitle}
+
123
+ >
+ )}
+
+ )}
-
-