diff --git a/src/assets/JBP-MBM.webp b/src/assets/JBP-MBM.webp new file mode 100644 index 0000000..10b724a Binary files /dev/null and b/src/assets/JBP-MBM.webp differ diff --git a/src/assets/pueblo-judio.webp b/src/assets/pueblo-judio.webp new file mode 100644 index 0000000..4fc688d Binary files /dev/null and b/src/assets/pueblo-judio.webp differ diff --git a/src/components/cards/GridCard.astro b/src/components/cards/GridCard.astro index ce33c32..c31a4a6 100644 --- a/src/components/cards/GridCard.astro +++ b/src/components/cards/GridCard.astro @@ -6,7 +6,8 @@ const { props } = Astro.props; const imageUrl = props.image || '' //const bgClass = props.type === 'text'? `bg-[${props.bgColor}]` : `bg-[url(${props.image})] bg-cover` --- -
+{props.type !== 'imgText' && ( +
{ props.type === 'text' && (
@@ -21,6 +22,22 @@ const imageUrl = props.image || '' )}
+)} + + +{ props.type === 'imgText' && ( +
+
+
+ +

{props.text}

+
+
+ +
+
+
+)}