From 4a4b31fa614c24cc336c11b02499d3345c686393 Mon Sep 17 00:00:00 2001 From: Julio Ruiz Date: Wed, 11 Feb 2026 22:38:51 -0500 Subject: [PATCH] Minor css tweaks - adding icons --- src/components/cards/GridCard.astro | 9 +++++---- src/components/section/ColumnsSection.astro | 4 ++-- src/components/section/GridSection.astro | 5 +++-- src/components/section/InfoSection.astro | 2 +- src/icons/icon_justice_1.svg | 11 +++++++++++ src/icons/icon_justice_2.svg | 11 +++++++++++ 6 files changed, 33 insertions(+), 9 deletions(-) create mode 100644 src/icons/icon_justice_1.svg create mode 100644 src/icons/icon_justice_2.svg diff --git a/src/components/cards/GridCard.astro b/src/components/cards/GridCard.astro index ce33c32..4605075 100644 --- a/src/components/cards/GridCard.astro +++ b/src/components/cards/GridCard.astro @@ -2,16 +2,17 @@ import { Icon } from "astro-icon/components"; const { props } = Astro.props; +const textColor = props.textColor || '' 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' && ( diff --git a/src/components/section/ColumnsSection.astro b/src/components/section/ColumnsSection.astro index bf9328d..ba326ad 100644 --- a/src/components/section/ColumnsSection.astro +++ b/src/components/section/ColumnsSection.astro @@ -11,7 +11,7 @@ const { props } = Astro.props;

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

- +
@@ -20,7 +20,7 @@ const { props } = Astro.props;

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

- +
diff --git a/src/components/section/GridSection.astro b/src/components/section/GridSection.astro index 938e172..e394b5e 100644 --- a/src/components/section/GridSection.astro +++ b/src/components/section/GridSection.astro @@ -30,7 +30,8 @@ const cards = [ type: 'text', icon: 'ph:arrow-circle-up-thin', text: 'Dirección de La Gran Carpa Catedral. Puerto Rico', - bgColor: '#EBE5D0' + textColor: '#EBE5D0', + bgColor: '#003421' }, { type: 'image', @@ -40,7 +41,7 @@ const cards = [ type: 'text', icon: 'ph:arrow-circle-left-thin', text: 'Participación activa en escenarios internacionales.', - bgColor: '#BEA48D' + bgColor: '#EBE5D0' }, ]; --- diff --git a/src/components/section/InfoSection.astro b/src/components/section/InfoSection.astro index efcee0c..e058cc7 100644 --- a/src/components/section/InfoSection.astro +++ b/src/components/section/InfoSection.astro @@ -36,7 +36,7 @@ const { bgColor, titleColor, textColor, title, text } = Astro.props; sizeTitle: 'text-2xl', }} /> -
+
Logo del CPyJ
diff --git a/src/icons/icon_justice_1.svg b/src/icons/icon_justice_1.svg new file mode 100644 index 0000000..a3b72ba --- /dev/null +++ b/src/icons/icon_justice_1.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/src/icons/icon_justice_2.svg b/src/icons/icon_justice_2.svg new file mode 100644 index 0000000..5f946d1 --- /dev/null +++ b/src/icons/icon_justice_2.svg @@ -0,0 +1,11 @@ + + + + + + + + + + +