Skip to content
Snippets Groups Projects
Verified Commit 6c326d07 authored by Dorian Koch's avatar Dorian Koch
Browse files

Add featured image

parent 3dda2db1
No related branches found
No related tags found
No related merge requests found
Pipeline #6541 passed
......@@ -106,6 +106,15 @@ function FeatureCard({ data, all_featured }: { data: featured; all_featured: fea
)}
</h5>
{data.type === "image" && data.image_url && (
<img
src={data.image_url}
alt={data.title}
className="img-fluid rounded"
style={{ maxHeight: "500px" }}
/>
)}
<EmbeddedOMFieldComponent
object_type="featured"
object_id={data.id!}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment