diff --git a/package-lock.json b/package-lock.json index 1cdada3..5e46580 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,8 +9,13 @@ "dependencies": { "@astrojs/markdoc": "^0.15.10", "@astrojs/node": "^9.5.3", + "@coreui/icons": "^3.0.1", "@astrojs/vue": "^5.1.4", "@dotenvx/dotenvx": "^1.52.0", + "@fontsource-variable/kameron": "^5.2.8", + "@fontsource-variable/kreon": "^5.2.8", + "@fontsource-variable/rokkitt": "^5.2.8", + "@fontsource/poppins": "^5.2.7", "@iconify-json/ph": "^1.2.2", "@tailwindcss/vite": "^4.1.18", "@unpic/astro": "^1.0.2", @@ -870,6 +875,12 @@ "node": ">=18" } }, + "node_modules/@coreui/icons": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@coreui/icons/-/icons-3.0.1.tgz", + "integrity": "sha512-u9UKEcRMyY9pa4jUoLij8pAR03g5g6TLWV33/Mx2ix8sffyi0eO4fLV8DSTQljDCw938zt7KYog5cVKEAJUxxg==", + "license": "MIT" + }, "node_modules/@dotenvx/dotenvx": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/@dotenvx/dotenvx/-/dotenvx-1.52.0.tgz", @@ -1357,6 +1368,42 @@ "node": ">=18" } }, + "node_modules/@fontsource-variable/kameron": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource-variable/kameron/-/kameron-5.2.8.tgz", + "integrity": "sha512-Q2wjV3qZ62H54rl2k3QUopvPutXBjOU+gy2aqTz4iZYKPW2w0LTvY+UmQLSaWmTXV3MTCHKemr8HRxObQZjx3A==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/kreon": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource-variable/kreon/-/kreon-5.2.8.tgz", + "integrity": "sha512-QSRKN9LwxoUIMjA1utIBRu5kMg5I2nmHTRJ6/+vstlnjW+eaMCxjPdpL5+NM3cFhUwyFXu/U52NmJmINrXEG1g==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource-variable/rokkitt": { + "version": "5.2.8", + "resolved": "https://registry.npmjs.org/@fontsource-variable/rokkitt/-/rokkitt-5.2.8.tgz", + "integrity": "sha512-/1yuWZ0YdvzD5UgayFmISjubAhqkDC5/RZyd583XCXBS9Yck3t0IYGN37+qEZtA8iQ8AypoVc2CfTRmz6L5mHQ==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, + "node_modules/@fontsource/poppins": { + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/@fontsource/poppins/-/poppins-5.2.7.tgz", + "integrity": "sha512-6uQyPmseo4FgI97WIhA4yWRlNaoLk4vSDK/PyRwdqqZb5zAEuc+Kunt8JTMcsHYUEGYBtN15SNkMajMdqUSUmg==", + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" + } + }, "node_modules/@iconify-json/ph": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/@iconify-json/ph/-/ph-1.2.2.tgz", diff --git a/package.json b/package.json index 4b4ec0e..8db3eba 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,13 @@ "dependencies": { "@astrojs/markdoc": "^0.15.10", "@astrojs/node": "^9.5.3", + "@coreui/icons": "^3.0.1", "@astrojs/vue": "^5.1.4", "@dotenvx/dotenvx": "^1.52.0", + "@fontsource-variable/kameron": "^5.2.8", + "@fontsource-variable/kreon": "^5.2.8", + "@fontsource-variable/rokkitt": "^5.2.8", + "@fontsource/poppins": "^5.2.7", "@iconify-json/ph": "^1.2.2", "@tailwindcss/vite": "^4.1.18", "@unpic/astro": "^1.0.2", diff --git a/public/img/DRJBP-2.webp b/public/img/DRJBP-2.webp deleted file mode 100644 index fa726aa..0000000 Binary files a/public/img/DRJBP-2.webp and /dev/null differ diff --git a/public/img/hero-image.webp b/public/img/hero-image.webp deleted file mode 100644 index fe492ea..0000000 Binary files a/public/img/hero-image.webp and /dev/null differ diff --git a/src/components/Header.astro b/src/components/Header.astro index a0ba9e8..8c732d2 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,22 +1,26 @@ --- import Button from "./ui/Button.astro"; import { Icon } from "astro-icon/components"; + +import { createTranslator } from "../i18n/index.ts"; +const tl = createTranslator(Astro.currentLocale); +const currentLocale = Astro.currentLocale; ---
diff --git a/src/components/HeroHome.astro b/src/components/HeroHome.astro index e30d69f..4151725 100644 --- a/src/components/HeroHome.astro +++ b/src/components/HeroHome.astro @@ -1,6 +1,9 @@ --- import Header from './Header.astro'; import { Icon } from 'astro-icon/components'; + +import { createTranslator } from '../i18n'; +const tl = createTranslator(Astro.currentLocale); ---
+
+
+
+
\ No newline at end of file
diff --git a/src/components/cards/NewsCard.astro b/src/components/cards/NewsCard.astro
index 7ffd547..bb4cb16 100644
--- a/src/components/cards/NewsCard.astro
+++ b/src/components/cards/NewsCard.astro
@@ -4,8 +4,9 @@ import { Icon } from "astro-icon/components";
import "dayjs/locale/es";
import dayjs from "dayjs";
const regionNames = new Intl.DisplayNames(['es'], { type: 'region' });
+const { locale } = Astro.params;
-dayjs.locale("es");
+dayjs.locale(locale);
const { data } = Astro.props;
const nicedate = dayjs(data.data.date).format("D MMMM YYYY");
@@ -18,7 +19,7 @@ const countryName = regionNames.of(data.data.country);
{data.data.city}, {countryName}
({nicedate}):
El Dr. José Benjamín Pérez Matos es el fundador y único referente del Centro del Reino de Paz y Justicia. Su liderazgo articula visión espiritual, formación intelectual, acción pública y proyección internacional.
+
diff --git a/src/components/section/ColumnsSection.astro b/src/components/section/ColumnsSection.astro
index 14366ae..86cd92d 100644
--- a/src/components/section/ColumnsSection.astro
+++ b/src/components/section/ColumnsSection.astro
@@ -1,14 +1,17 @@
---
import { Icon } from "astro-icon/components";
+import { createTranslator } from '../../i18n';
+const tl = createTranslator(Astro.currentLocale);
+
const { props } = Astro.props;
---
Compromiso activo con un orden justo, basado en principios morales, respeto por la dignidad humana y defensa de valores permanentes.
+{tl("values.justice.text")}
Coherencia entre pensamiento, palabra y acción; transparencia institucional y responsabilidad en el espacio público.
+{tl("values.integrity.text")}
Vocación de acompañamiento y acción orientada a objetivos claros y trascendentes.
+{tl("values.service.text")}
Rigor intelectual, profesionalismo y mejora constante en todas las áreas de trabajo.
+{tl("values.excellence.text")}
Apertura al intercambio entre culturas, naciones y credos, sin renunciar a convicciones ni principios fundamentales.
+{tl("values.dialogue.text")}
- El Centro del Reino de Paz y Justicia dispone de canales - directos para consultas institucionales, participación en programas y - actividades internacionales. -
+ -
- Correo electrónico:
- developer@centrodelreinodepazyjusticia.com
- Redes sociales: actualizaciones permanentes sobre actividades y convocatorias.
-
- ©2026. Todos los Derechos Reservados. All Rights Reserved. - Centro del Reino de Paz y Justicia +
+ {tl("footer.reserved")}
El Centro del Reino de Paz y Justicia (CRPJ) desarrolla cursos, seminarios y programas de formación dirigidos a líderes, profesionales, referentes institucionales y actores con responsabilidad pública.
+-
Acompañamiento estratégico a organizaciones e instituciones que buscan diseñar e implementar iniciativas de impacto, alineadas con valores claros, objetivos transversales y una visión de largo plazo.
+{tl("formation.consulting.text")}
Desarrollo de iniciativas concretas en distintos territorios, orientadas a la formación, la prevención de conflictos y el fortalecimiento de liderazgos locales con visión internacional.
+
+
El Centro del Reino de Paz y Justicia es una organización internacional conformada por miles de voluntarios distribuidos en numerosos países, que actúan de manera coordinada bajo el liderazgo y la guía del Dr. José Benjamín Pérez Matos, único referente del Centro del Reino de Paz y Justicia (CRPJ).
-El Centro cuenta con presencia activa en distintos continentes, articulando personas, líderes, comunidades e instituciones que comparten una visión común: llevar los valores del Reino al espacio público y afrontar, con responsabilidad y convicción, los desafíos que atraviesa el mundo actual.
-El Centro del Reino de Paz y Justicia (CRPJ) nace con una misión clara: tender puentes entre la fe y la acción en el ámbito público, integrando reflexión espiritual, formación intelectual y compromiso práctico, con el objetivo de preparar el camino hacia una nueva era, marcada por un orden más justo, una paz verdadera y un mundo mejor, conforme a la visión profética.
-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.
- +El Centro del Reino de Paz y Justicia (CRPJ) es una organización de alcance internacional dedicada a la formación, el diálogo estratégico y la acción pública, orientada a promover la justicia y la paz conforme a los valores eternos proclamados por los profetas, con un compromiso explícito y permanente con Israel y su lugar central en la historia y el destino del mundo.
+El Centro del Reino de Paz y Justicia (CRPJ) desarrolla iniciativas educativas, espacios de reflexión profunda y acciones concretas en el ámbito público, integrando principios espirituales, responsabilidad institucional y liderazgo ético. Su labor se inscribe en el campo de la diplomacia pública, entendida como una herramienta legítima para influir en la conversación global, fortalecer vínculos entre naciones y defender valores fundamentales frente a los desafíos del presente y del futuro.
-La paz no es concebida como una consigna abstracta ni como un ideal ingenuo, sino como el resultado de decisiones firmes, liderazgo con valores y compromiso sostenido con propósitos claros, que reconocen el rol insustituible de Israel en la construcción de un orden justo y estable para toda la humanidad.
+ +
diff --git a/src/components/section/NewsSection.astro b/src/components/section/NewsSection.astro
index 673a604..3c68886 100644
--- a/src/components/section/NewsSection.astro
+++ b/src/components/section/NewsSection.astro
@@ -1,14 +1,21 @@
---
import { getCollection, getEntry } from "astro:content";
import NewsCard from "../cards/NewsCard.astro";
-const newsItems = await getCollection("news");
+const newsItems = await getCollection("news", (post)=>{
+ //Filter by locale
+ const currentLocale = Astro.currentLocale;
+ return post.data.locale == currentLocale
+});
+
+import { createTranslator, t } from '../../i18n';
+const tl = createTranslator(Astro.currentLocale);
---
Esta sección reúne las principales actividades, reconocimientos y acciones del Centro del Reino de Paz y Justicia y de su fundador.
+{tl("news.text2")}
La labor del Centro del Reino de Paz y Justicia se fortalece mediante la participación de personas e instituciones alineadas con sus valores y objetivos generales. Formas de participar:
+colaboración en proyectos formativos, institucionales o internacionales.
+{tl("participate.box1.text")}
amplificación de la misión y acciones del Centro del Reino de Paz y Justicia (CRPJ) en espacios públicos.
+{tl("participate.box2.text")}
La paz se construye mediante decisiones responsables, liderazgo comprometido y acción sostenida.
+{tl("participate.text3")}
El Centro del Reino de Paz y Justicia lleva adelante una activa política de diplomacia pública, entendida como la construcción consciente de vínculos éticos, culturales y estratégicos entre pueblos, instituciones y liderazgos globales.
-A través de encuentros, giras internacionales, foros y relaciones institucionales, el Centro del Reino de Paz y Justicia (CRPJ) impulsa:
-Esta proyección internacional posiciona al Centro del Reino de Paz y Justicia (CRPJ) como un actor relevante en el debate global sobre el futuro del mundo, la estabilidad internacional y la vigencia de los valores proféticos.
+The Kingdom of Peace and Justice Center is an international organization made up of thousands of volunteers throughout numerous countries, who act in alignment under the leadership and guidance of Dr. José Benjamín Pérez Matos, the sole point of reference of the KPJC.
The KPJC has an active presence in different continents,bringing together individuals, leaders, communities, and institutions that share a common vision: to bring the values of the Kingdom into the public sphere and to meet the challenges that the world is currently facing with responsibility and conviction.
The KPJC was created with a clear mission: to build bridges between faith and action in the public sphere, integrating spiritual reflection, intellectual development, and actionable commitment, to pave the way for a new era marked by a more just order, true peace, and a better world, according to the prophetic vision.
Its vision is strategic, international, and forward-looking, mindful of emerging conflicts, cultural tensions, geopolitical challenges, and the need for steadfast leadership capable of acting with clarity in times of global transformation.
", + + "authority.title": "Authority | Kingdom of Peace and Justice Center", + "authority.body": "Dr. José Benjamín Pérez Matos is the founder and sole leader of the Kingdom of Peace and Justice Center. His leadership combines spiritual vision, intellectual development, public action, and global reach.", + + "title1.title": "Dr. José Benjamín Pérez Matos | Trajectory", + + "grid.cards" : [ + { + "type": "text", + "icon": "ph:arrow-circle-down-thin", + "text": "Administration Of La Gran Carpa Catedral. Puerto Rico", + "bgColor": "#EBE5D0", + "textColor": "#003421" + }, + { + "type": "image", + "image": "https://ik.imagekit.io/crpy/grid_image_1.webp" + }, + { + "type": "text", + "icon": "ph:arrow-circle-right-thin", + "text": "Active involment in international scenarios.", + "textColor": "#003421", + "bgColor": "#BEA48D" + }, + { + "type": "image", + "image": "https://ik.imagekit.io/crpy/grid_image_2.webp" + }, + { + "type": "image", + "image": "https://ik.imagekit.io/crpy/grid_image_3.webp" + }, + { + "type": "text", + "icon": "ph:arrow-circle-up-thin", + "text": "Biblical teaching applied to the analysis of the contemporary world.", + "textColor": "#EBE5D0", + "bgColor": "#003421" + }, + { + "type": "image", + "image": "https://ik.imagekit.io/crpy/grid_image_4.webp" + }, + { + "type": "text", + "icon": "ph:arrow-circle-left-thin", + "text": "Public commitment in defense, justice and peace of Israel.", + "textColor": "#003421", + "bgColor": "#EBE5D0" + } + ], + + "color1.title": "Mission", + "color1.text": "To form leaders, promote educational initiatives, and encourage public actions in pursuit of justice and peace, based on a firm ethical and spiritual foundation, with an explicit commitment to Israel and a responsibility to contribute to the well-being and stability of mankind as a whole.", + + "color2.title": "Vision", + "color2.text": "To position ourselves as an international benchmark in leadership development, public diplomacy, and institutional outreach, recognized for our consistency, clear values, and tangible contribution to building a world aligned with the prophetic vision of justice and peace.", + + "title2.title": "Institutional Values", + + "values.justice.title": "Justice", + "values.justice.text": "An active commitment to a just order grounded in moral principles, respect for human dignity, and the defense of enduring values.", + "values.integrity.title": "Integrity", + "values.integrity.text": "Alignment of thought, word, and deed; institutional transparency and accountability in the public sphere.", + "values.service.title": "Service with purpose", + "values.service.text": "A calling to accompany others and act in pursuit of clear and transcendent goals.", + "values.excellence.title": "Excellence", + "values.excellence.text": "Intellectual rigor, professionalism, and continuous improvement in all work areas.", + "values.dialogue.title": "Strategic dialogue", + "values.dialogue.text": "Openness to exchange across cultures, nations, and faiths, while upholding fundamental convictions and principles.", + + "projection.title": "Public Diplomacy and International Projection", + "projection.text": "The Kingdom of Peace and Justice Center pursues an active policy of public diplomacy, defined as the intentional building of ethical, cultural, and strategic bonds between peoples, institutions, and global leaders.
Through meetings, international missions, forums, and institutional relations, the KPJC promotes:
This global reach positions the KPJC as a stakeholder in the global discourse on the future of the world, international stability, and the enduring relevance of prophetic values.
", + "projection.card1": "The connection with political, academic and social leaders.", + "projection.card2": "Clear and permanent support for the Jewish people and the State of Israel", + + "formation.title": "Training and Development", + "formation.subtitle": "Programs and Areas of Action", + "formation.text": "The KPJC develops courses, seminars, and training programs for leaders, professionals, institutional management, and public stakeholders.", + "formation.area.title": "Training areas", + "formation.area.text": "El Centro del Reino de Paz y Justicia es una organización internacional conformada por miles de voluntarios distribuidos en numerosos países, que actúan de manera coordinada bajo el liderazgo y la guía del Dr. José Benjamín Pérez Matos, único referente del Centro del Reino de Paz y Justicia (CRPJ).
El Centro cuenta con presencia activa en distintos continentes, articulando personas, líderes, comunidades e instituciones que comparten una visión común: llevar los valores del Reino al espacio público y afrontar, con responsabilidad y convicción, los desafíos que atraviesa el mundo actual.
El Centro del Reino de Paz y Justicia (CRPJ) nace con una misión clara: tender puentes entre la fe y la acción en el ámbito público, integrando reflexión espiritual, formación intelectual y compromiso práctico, con el objetivo de preparar el camino hacia una nueva era, marcada por un orden más justo, una paz verdadera y un mundo mejor, conforme a la visión profética.
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.
", + + "authority.title": "Autoridades | Centro del Reino de Paz y Justicia", + "authority.body": "El Dr. José Benjamín Pérez Matos es el fundador y único referente del Centro del Reino de Paz y Justicia. Su liderazgo articula visión espiritual, formación intelectual, acción pública y proyección internacional.", + + "title1.title": "Dr. José Benjamín Pérez Matos | Trayectoria", + + "grid.cards" : [ + { + "type": "text", + "icon": "ph:arrow-circle-down-thin", + "text": "Dirección de La Gran Carpa Catedral. Puerto Rico", + "bgColor": "#EBE5D0", + "textColor": "#003421" + }, + { + "type": "image", + "image": "https://ik.imagekit.io/crpy/grid_image_1.webp" + }, + { + "type": "text", + "icon": "ph:arrow-circle-right-thin", + "text": "Participación activa en escenarios internacionales.", + "textColor": "#003421", + "bgColor": "#BEA48D" + }, + { + "type": "image", + "image": "https://ik.imagekit.io/crpy/grid_image_2.webp" + }, + { + "type": "image", + "image": "https://ik.imagekit.io/crpy/grid_image_3.webp" + }, + { + "type": "text", + "icon": "ph:arrow-circle-up-thin", + "text": "Enseñanza bíblica aplicada al análisis del mundo contemporáneo.", + "textColor": "#EBE5D0", + "bgColor": "#003421" + }, + { + "type": "image", + "image": "https://ik.imagekit.io/crpy/grid_image_4.webp" + }, + { + "type": "text", + "icon": "ph:arrow-circle-left-thin", + "text": "Compromiso público en la defensa de Israel, la justicia y la paz.", + "textColor": "#003421", + "bgColor": "#EBE5D0" + } + ], + + "color1.title": "Misión", + "color1.text": "Formar líderes, impulsar iniciativas educativas y promover acciones públicas orientadas a la justicia y la paz, desde una base ética y espiritual firme, con un compromiso explícito con Israel y con la responsabilidad de contribuir al bienestar y la estabilidad de la humanidad en su conjunto.", + + "color2.title": "Visión", + "color2.text": "Consolidarse como un actor internacional de referencia en formación de liderazgo, diplomacia pública y proyección institucional, reconocido por su coherencia, su claridad de valores y su contribución concreta a la construcción de un mundo alineado con la visión profética de justicia y paz.", + + "title2.title": "Valores Institucionales", + + "values.justice.title": "Justicia", + "values.justice.text": "Compromiso activo con un orden justo, basado en principios morales, respeto por la dignidad humana y defensa de valores permanentes.", + + "values.integrity.title": "Integridad", + "values.integrity.text": "Coherencia entre pensamiento, palabra y acción; transparencia institucional y responsabilidad en el espacio público.", + + "values.service.title": "Servicio", + "values.service.text": "Vocación de acompañamiento y acción orientada a objetivos claros y trascendentes.", + + "values.excellence.title": "Excelencia", + "values.excellence.text": "Rigor intelectual, profesionalismo y mejora constante en todas las áreas de trabajo.", + + "values.dialogue.title": "Diálogo Estratégico", + "values.dialogue.text": "Apertura al intercambio entre culturas, naciones y credos, sin renunciar a convicciones ni principios fundamentales.", + + "projection.title": "Diplomacia Pública y Proyección Internacional", + "projection.text": "El Centro del Reino de Paz y Justicia lleva adelante una activa política de diplomacia pública, entendida como la construcción consciente de vínculos éticos, culturales y estratégicos entre pueblos, instituciones y liderazgos globales.
A través de encuentros, giras internacionales, foros y relaciones institucionales, el Centro del Reino de Paz y Justicia (CRPJ) impulsa:
Esta proyección internacional posiciona al Centro del Reino de Paz y Justicia (CRPJ) como un actor relevante en el debate global sobre el futuro del mundo, la estabilidad internacional y la vigencia de los valores proféticos.
", + "projection.card1": "La vinculación con líderes políticos, académicos y sociales.", + "projection.card2": "Apoyo claro y permanente al pueblo judío y al Estado de Israel.", + + "formation.title": "Formación y Capacitación", + "formation.subtitle": "Programas y Área de Acción", + "formation.text": "El Centro del Reino de Paz y Justicia (CRPJ) desarrolla cursos, seminarios y programas de formación dirigidos a líderes, profesionales, referentes institucionales y actores con responsabilidad pública.", + "formation.area.title": "Area de Formación", + "formation.area.text": "