+ {/* Sponsor "avatar" — orange circle with paw */}
+
+
+ )}
+
+ {/* Footer — caption only, mirrors PostCard footer */}
+ {ad.caption && (
+
+
+
- {/* Text area */}
-
- {/* Sponsored badge row */}
-
+
+ {/* Image area — same dimensions as PostCard single image */}
+ {imageUrl && (
+
+ {/* eslint-disable-next-line @next/next/no-img-element */}
+
-
- Sponsored
-
+ {/* Name + badge row */}
+
-
+
+
-
+
{ad.targetUrl && (
- + {ad.title} +
+ + Sponsored + ++ {ad.targetUrl.replace(/^https?:\/\//, "").replace(/\/$/, "")} +
)}- {ad.title} -
- - {ad.caption && ( -- {ad.caption} -
- )} - + {/* External link button — mirrors options button position */} {ad.targetUrl && ( -- {ad.targetUrl.replace(/^https?:\/\//, "")} -
+ + + )}
+
+ )}
+
);
-
- if (ad.targetUrl) {
- return (
-
- {inner}
-
- );
- }
-
- return inner;
}
{ad.caption}
+