Skip to content

Commit

Permalink
test 4 team img
Browse files Browse the repository at this point in the history
  • Loading branch information
clara7227 committed Oct 15, 2024
1 parent c01a242 commit eaa3648
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/core/Cards.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ const Card = React.forwardRef(
buttonText,
cardType,
role,
currentLang
currentLang,
basePath

},
ref
Expand Down Expand Up @@ -221,7 +222,7 @@ const Card = React.forwardRef(
{(img || svg) && (
<Image
className={"h-[220px] rounded-md"}
src={"/boiler"+ img || "placeholder.jpg"} // La imagen por defecto será una cadena vacía si no hay src
src={basePath+ 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 eaa3648

Please sign in to comment.