Skip to content

Commit

Permalink
card image route
Browse files Browse the repository at this point in the history
  • Loading branch information
lauralog committed Oct 16, 2024
1 parent eaa3648 commit 9521858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/core/Cards.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ const Card = React.forwardRef(
{(img || svg) && (
<Image
className={"h-[220px] rounded-md"}
src={basePath+ img || "placeholder.jpg"} // La imagen por defecto será una cadena vacía si no hay src
src={img || "placeholder.jpg"} // La imagen por defecto será una cadena vacía si no hay src
alt={title || "Image"} // Usa el título como alt si existe
fit="cover" // Ajustamos el contenido al contenedor
hasBadge={position? true : false} // Por defecto, no tiene badge
Expand Down

0 comments on commit 9521858

Please sign in to comment.