added the news of congress and change the view of news in the subpage

This commit is contained in:
Esteban 2026-03-10 07:30:53 -05:00
parent f6ef73988e
commit fc83095cda
6 changed files with 93 additions and 7 deletions

View File

@ -0,0 +1,30 @@
---
import { Image } from "astro:assets"
import { Icon } from "astro-icon/components";
import "dayjs/locale/es";
import dayjs from "dayjs";
import utc from "dayjs/plugin/utc";
const regionNames = new Intl.DisplayNames(['es'], { type: 'region' });
const locale = Astro.currentLocale;
dayjs.extend(utc);
dayjs.locale(locale);
const { data } = Astro.props;
const nicedate = dayjs.utc(data.data.date).format("D MMMM YYYY");
const countryName = data?.data?.country ? regionNames.of(data.data.country) : "";
const locationArray = [data.data.city,countryName]
locationArray.filter(Boolean).join(', ');
---
<div>
<h3 class="text-2xl font-bold mb-1 font-secondary text-tertiary"><a href={`/${locale}/news/${data.id}`}>{data.data.title}</a></h3>
{
data.data.city && <span class="font-normal font-primary text-lg text-tertiary/70">
{locationArray.filter(Boolean).join(', ')} | </span>
}
<span class="font-normal font-primary text-lg text-tertiary/70">{nicedate}</span>
</div>

View File

@ -0,0 +1,53 @@
---
locale: en
title: 'Closing of the 3rd International Congress of Rabbis in Puerto Rico'
date: 2026-02-16
slug: 2026-02-16-closing-of-the-3rd-international-congress-of-rabbis-in-puerto-rico
city: Cayey
country: PR
thumbnail: https://ik.imagekit.io/crpy/tr:w-900/2026_02_16_cierre2.webp
gallery: [
{
image: 'https://ik.imagekit.io/crpy/tr:w-1280/2026_02_16_cierre2.webp',
},
{
image: 'https://ik.imagekit.io/crpy/tr:w-1280/2026_02_16_cierre1.webp',
},
{
image: 'https://ik.imagekit.io/crpy/tr:w-1280/2026_02_16_cierre3.webp',
},
{
image: 'https://ik.imagekit.io/crpy/tr:w-1280/2026_02_16_cierre4.webp',
},
{
image: 'https://ik.imagekit.io/crpy/tr:w-1280/2026_02_16_cierre5.webp',
},
{
image: 'https://ik.imagekit.io/crpy/tr:w-1280/2026_02_16_cierre6.webp',
},
{
image: 'https://ik.imagekit.io/crpy/tr:w-1280/2026_02_16_cierre7.webp',
},
{
image: 'https://ik.imagekit.io/crpy/tr:w-1280/2026_02_16_cierre8.webp',
},
{
image: 'https://ik.imagekit.io/crpy/tr:w-1280/2026_02_16_cierre9.webp',
},
]
---
## The final day included an institutional visit to La Gran Carpa Catedral (The Great Tent Cathedral), an academic conference, and the presentation of the 2026 Amiel Award.
On Monday, February 16, 2026, the closing day of the 3rd International Congress of Rabbis featured an institutional visit to La Gran Carpa Catedral in Puerto Rico.
The event brought together more than fifty rabbis from different countries, together with their families, in a gathering designed to strengthen the bonds formed during the days of academic and community work.
As part of the program, Dr. José Benjamín Pérez Matos gave a lecture to the participants, offering reflections related to community leadership and the contemporary challenges that religious institutions face in diverse international contexts.
That same day, the 2026 Amiel Award was presented, a distinction given in recognition of institutional work undertaken in the education and community fields. The award was presented by Rabbi Eliahu Birnbaum and Rabbi Dr. Katriel Kenneth Brander, President and Rosh HaYeshiva of the Ohr Torah Stone network, who delivered remarks on the significance of the award.
The meeting concluded with a dinner that served as a space for informal exchange and the strengthening of institutional relationships, closing the congress in an atmosphere of collaboration and shared vision.
On this final day, the 3rd International Congress of Rabbis concluded its 2026 agenda by consolidating an international network dedicated to educational cooperation, intercultural dialogue, and sustained partnership between communities from different continents.

View File

@ -5,6 +5,7 @@ date: 2026-02-26
slug: 2026-02-26-dr-jose-benjamin-perez-plantacion-bosque-israel slug: 2026-02-26-dr-jose-benjamin-perez-plantacion-bosque-israel
city: Asunción city: Asunción
country: PY country: PY
youtube: https://youtu.be/8-YWuoWb4dY
thumbnail: https://ik.imagekit.io/crpy/tr:w-1280/parque-isarel.jpg thumbnail: https://ik.imagekit.io/crpy/tr:w-1280/parque-isarel.jpg
gallery: [ gallery: [
{ {

View File

@ -5,6 +5,7 @@ import Header from "@/components/Header.astro"
import NewsCard from "@/components/cards/NewsCard.astro"; import NewsCard from "@/components/cards/NewsCard.astro";
import { getCollection, getEntry } from "astro:content"; import { getCollection, getEntry } from "astro:content";
import FooterSection from "@/components/section/FooterSection.astro"; import FooterSection from "@/components/section/FooterSection.astro";
import NewsList from "@/components/cards/NewsList.astro";
import { createTranslator, t } from '@/i18n'; import { createTranslator, t } from '@/i18n';
@ -20,7 +21,7 @@ const newsItems = await getCollection("news", (post)=>{
<div class="top-16 relative mb container mx-auto"> <div class="top-16 relative mb container mx-auto">
<Header /> <Header />
</div> </div>
<div class="container mx-auto"> <div class="container mx-auto mt-4">
<div class="flex flex-col lg:w-1/2 items-center mx-auto py-8"> <div class="flex flex-col lg:w-1/2 items-center mx-auto py-8">
<h1 class="text-white text-2xl uppercase font-bold text-center mb-4 font-primary md:mt-20 mt-10">{tl("news.title")}</h1> <h1 class="text-white text-2xl uppercase font-bold text-center mb-4 font-primary md:mt-20 mt-10">{tl("news.title")}</h1>
<h2 class="text-white text-3xl lg:text-5xl font-bold text-center font-secondary mb-4">{tl("news.text")}</h2> <h2 class="text-white text-3xl lg:text-5xl font-bold text-center font-secondary mb-4">{tl("news.text")}</h2>
@ -28,14 +29,14 @@ const newsItems = await getCollection("news", (post)=>{
</div> </div>
<div class="grid md:grid-cols-2 lg:grid-cols-3 md:gap-10 gap-20"> <div class="flex flex-col md:gap-8 gap-2 lg:max-w-4xl mx-auto bg-white p-8">
{ {
[...newsItems] [...newsItems]
.sort((a, b) => .sort((a, b) =>
new Date(b.data.date).getTime() - new Date(a.data.date).getTime() new Date(b.data.date).getTime() - new Date(a.data.date).getTime()
) )
.map((item) => ( .map((item) => (
<NewsCard data={item} /> <NewsList data={item} />
)) ))
} }
</div> </div>

View File

@ -5,6 +5,7 @@ import Header from "@/components/Header.astro"
import NewsCard from "@/components/cards/NewsCard.astro"; import NewsCard from "@/components/cards/NewsCard.astro";
import { getCollection, getEntry } from "astro:content"; import { getCollection, getEntry } from "astro:content";
import FooterSection from "@/components/section/FooterSection.astro"; import FooterSection from "@/components/section/FooterSection.astro";
import NewsList from "@/components/cards/NewsList.astro";
import { createTranslator, t } from '@/i18n'; import { createTranslator, t } from '@/i18n';
@ -20,7 +21,7 @@ const newsItems = await getCollection("news", (post)=>{
<div class="top-16 relative mb container mx-auto"> <div class="top-16 relative mb container mx-auto">
<Header /> <Header />
</div> </div>
<div class="container mx-auto"> <div class="container mx-auto mt-4">
<div class="flex flex-col lg:w-1/2 items-center mx-auto py-8"> <div class="flex flex-col lg:w-1/2 items-center mx-auto py-8">
<h1 class="text-white text-2xl uppercase font-bold text-center mb-4 font-primary md:mt-20 mt-10">{tl("news.title")}</h1> <h1 class="text-white text-2xl uppercase font-bold text-center mb-4 font-primary md:mt-20 mt-10">{tl("news.title")}</h1>
<h2 class="text-white text-3xl lg:text-5xl font-bold text-center font-secondary mb-4">{tl("news.text")}</h2> <h2 class="text-white text-3xl lg:text-5xl font-bold text-center font-secondary mb-4">{tl("news.text")}</h2>
@ -28,14 +29,14 @@ const newsItems = await getCollection("news", (post)=>{
</div> </div>
<div class="grid md:grid-cols-2 lg:grid-cols-3 md:gap-10 gap-20"> <div class="flex flex-col md:gap-8 gap-2 lg:max-w-4xl mx-auto bg-white p-8">
{ {
[...newsItems] [...newsItems]
.sort((a, b) => .sort((a, b) =>
new Date(b.data.date).getTime() - new Date(a.data.date).getTime() new Date(b.data.date).getTime() - new Date(a.data.date).getTime()
) )
.map((item) => ( .map((item) => (
<NewsCard data={item} /> <NewsList data={item} />
)) ))
} }
</div> </div>