diff --git a/src/components/cards/GridCard.astro b/src/components/cards/GridCard.astro index c665275..63694f0 100644 --- a/src/components/cards/GridCard.astro +++ b/src/components/cards/GridCard.astro @@ -3,13 +3,30 @@ import { Icon } from "astro-icon/components"; const { props } = Astro.props; -const bgClass = props.type === 'text'? `bg-[${props.bgColor}]` : `bg-[url(${props.image})] bg-cover` +const imageUrl = props.image || '' +//const bgClass = props.type === 'text'? `bg-[${props.bgColor}]` : `bg-[url(${props.image})] bg-cover` --- -
-
+
+
{ props.type === 'text' && ( - -

{props.text}

+
+ +

{props.text}

+
+ )} + { props.type === 'image' && ( +
+ +
)}
-
\ No newline at end of file +
+ + \ No newline at end of file diff --git a/src/components/section/ColumnsSection.astro b/src/components/section/ColumnsSection.astro new file mode 100644 index 0000000..29abdf7 --- /dev/null +++ b/src/components/section/ColumnsSection.astro @@ -0,0 +1,41 @@ +--- +import { Icon } from "astro-icon/components"; + +const { props } = Astro.props; +--- +
+
+
+
+

Justicia

+

Compromiso activo con un orden justo, basado en principios morales, respeto por la dignidad humana y defensa de valores permanentes.

+
+
+ +
+
+
+
+

Integridad

+

Coherencia entre pensamiento, palabra y acción; transparencia institucional y respon- sabilidad en el espacio público.

+
+
+ +
+
+
+
+
+

Servicio con Propósito

+

Vocación de acompa- ñamiento y acción orientada a objetivos claros y trascendentes.

+
+
+

Excelencia

+

Rigor intelectual, profe- sionalismo y mejora constante en todas las áreas de trabajo.

+
+
+

Diálogo Estratégico

+

Apertura al intercambio entre culturas, naciones y credos, sin renunciar a convicciones ni principios fundamentales.

+
+
+
\ No newline at end of file diff --git a/src/components/section/GridSection.astro b/src/components/section/GridSection.astro index 2e503c4..938e172 100644 --- a/src/components/section/GridSection.astro +++ b/src/components/section/GridSection.astro @@ -10,7 +10,7 @@ const cards = [ }, { type: 'image', - image: 'https://picsum.photos/600/600?random=1&grayscale', + image: 'https://ik.imagekit.io/crpy/grid_image_1.webp', }, { type: 'text', @@ -20,11 +20,11 @@ const cards = [ }, { type: 'image', - image: 'https://picsum.photos/600/600?random=1&grayscale', + image: 'https://ik.imagekit.io/crpy/grid_image_2.webp', }, { type: 'image', - image: 'https://picsum.photos/600/600?random=1&grayscale', + image: 'https://ik.imagekit.io/crpy/grid_image_3.webp', }, { type: 'text', @@ -34,7 +34,7 @@ const cards = [ }, { type: 'image', - image: 'https://picsum.photos/600/600?random=1&grayscale', + image: 'https://ik.imagekit.io/crpy/grid_image_4.webp', }, { type: 'text', @@ -48,7 +48,7 @@ const cards = [
{ - cards.map((card)=>( + cards.map(card =>( )) } diff --git a/src/pages/index.astro b/src/pages/index.astro index 1013edf..3c2a61e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -13,6 +13,7 @@ import { infoboxes } from "../data/content/infosection.js"; import ColorSection from "../components/section/ColorSection.astro"; import TitleSection from "../components/section/TitleSection.astro"; import GridSection from "../components/section/GridSection.astro"; +import ColumnsSection from "../components/section/ColumnsSection.astro"; const carouselImages2 = [ "https://picsum.photos/1920/800?random=1&grayscale", @@ -42,12 +43,10 @@ El CPyJ nace con una misión clara: tender puentes entre la fe y la acción en Su mirada es estratégica, internacional y orientada al futuro, consciente de los conflictos emergentes, las tensiones culturales, los desafíos geopolíticos y la necesidad de liderazgos sólidos capaces de actuar con claridad en tiempos de transformación global.` /> - + - - + + + + + + - -