diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 08d8130532e009e3f60c09b46ba2a62338310241..587f1b3821949826462ba0de87f1cccd4e781fa0 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -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!}