diff --git a/astro.config.mjs b/astro.config.mjs index cbe4b6e..0f81161 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -11,6 +11,8 @@ export default defineConfig({ plugins: [tailwindcss()], }, + //base: '/mockup/', + integrations: [markdoc(), icon()], i18n: { diff --git a/public/img/DRJBP-1.webp b/public/img/DRJBP-1.webp new file mode 100644 index 0000000..879078e Binary files /dev/null and b/public/img/DRJBP-1.webp differ diff --git a/public/img/DRJBP-2.webp b/public/img/DRJBP-2.webp new file mode 100644 index 0000000..fa726aa Binary files /dev/null and b/public/img/DRJBP-2.webp differ diff --git a/public/img/JBP-MBM.webp b/public/img/JBP-MBM.webp new file mode 100644 index 0000000..10b724a Binary files /dev/null and b/public/img/JBP-MBM.webp differ diff --git a/public/img/dove-bg.webp b/public/img/dove-bg.webp new file mode 100644 index 0000000..c6a0014 Binary files /dev/null and b/public/img/dove-bg.webp differ diff --git a/public/img/dove.webp b/public/img/dove.webp new file mode 100644 index 0000000..e41104d Binary files /dev/null and b/public/img/dove.webp differ diff --git a/public/img/logo-ligth.webp b/public/img/logo-ligth.webp new file mode 100644 index 0000000..8b4b593 Binary files /dev/null and b/public/img/logo-ligth.webp differ diff --git a/public/img/logo-metalico.webp b/public/img/logo-metalico.webp new file mode 100644 index 0000000..d1f9fda Binary files /dev/null and b/public/img/logo-metalico.webp differ diff --git a/public/img/mid-logo-2.webp b/public/img/mid-logo-2.webp new file mode 100644 index 0000000..f536f44 Binary files /dev/null and b/public/img/mid-logo-2.webp differ diff --git a/public/img/pueblo-judio.webp b/public/img/pueblo-judio.webp new file mode 100644 index 0000000..4fc688d Binary files /dev/null and b/public/img/pueblo-judio.webp differ diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index 9652882..96d0a9b 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -10,7 +10,7 @@ const { - + {title} diff --git a/src/components/BoxContainer.astro b/src/components/BoxContainer.astro index 4c4cf1f..1d97cc2 100644 --- a/src/components/BoxContainer.astro +++ b/src/components/BoxContainer.astro @@ -6,7 +6,7 @@ import Button from "./ui/Button.astro"; const background = props.bgImage || props.bgColor; --- -
+
{props.hasIcon && ( diff --git a/src/components/HeroHome.astro b/src/components/HeroHome.astro index b28eeea..29496f9 100644 --- a/src/components/HeroHome.astro +++ b/src/components/HeroHome.astro @@ -12,7 +12,7 @@ import Header from './Header.astro';
Logo Metalico @@ -35,7 +35,7 @@ import Header from './Header.astro';
White Dove
diff --git a/src/components/cards/NewsCard.astro b/src/components/cards/NewsCard.astro index 00489d8..bcbb562 100644 --- a/src/components/cards/NewsCard.astro +++ b/src/components/cards/NewsCard.astro @@ -1,5 +1,5 @@ --- -import Image from "astro/components/Image.astro"; +import { Image } from "astro:assets" import { Icon } from "astro-icon/components"; import dayjs from "dayjs"; diff --git a/src/components/section/AuthoritySection.astro b/src/components/section/AuthoritySection.astro index d9bb5c9..24ba649 100644 --- a/src/components/section/AuthoritySection.astro +++ b/src/components/section/AuthoritySection.astro @@ -9,7 +9,7 @@ const { title, titleColor, description, descColor, bgColor } = Astro.props;

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/CarouselSection.astro b/src/components/section/CarouselSection.astro index 31960e1..3d1c95b 100644 --- a/src/components/section/CarouselSection.astro +++ b/src/components/section/CarouselSection.astro @@ -1,5 +1,5 @@ --- -import Image from "astro/components/Image.astro"; +import { Image } from "astro:assets" import "swiper/css"; import "swiper/css/navigation"; import "swiper/css/pagination"; diff --git a/src/components/section/FooterSection.astro b/src/components/section/FooterSection.astro index dcbc34d..f4e96f5 100644 --- a/src/components/section/FooterSection.astro +++ b/src/components/section/FooterSection.astro @@ -1,6 +1,6 @@ --- import { Icon } from "astro-icon/components"; -import Image from "astro/components/Image.astro"; +import { Image } from "astro:assets" import jbp from "../../assets/DRJBP-1.webp"; ---
diff --git a/src/components/section/IdentitySection.astro b/src/components/section/IdentitySection.astro index 696bb05..a5b6249 100644 --- a/src/components/section/IdentitySection.astro +++ b/src/components/section/IdentitySection.astro @@ -6,7 +6,7 @@ const { title, text, initTitle, colorText, bgColor } = Astro.props;
- Imagen de identidad del CPyJ + Imagen de identidad del CPyJ

{initTitle}

diff --git a/src/components/section/InfoSection.astro b/src/components/section/InfoSection.astro index e058cc7..a3861b4 100644 --- a/src/components/section/InfoSection.astro +++ b/src/components/section/InfoSection.astro @@ -7,7 +7,7 @@ const { bgColor, titleColor, textColor, title, text } = Astro.props; ---
-
+
{ infoboxes.map((box) => ( ))} @@ -37,7 +37,7 @@ const { bgColor, titleColor, textColor, title, text } = Astro.props; }} />
- Logo del CPyJ + Logo del CPyJ
diff --git a/src/components/section/ProjectionSection.astro b/src/components/section/ProjectionSection.astro index d6eef2e..43d9ce2 100644 --- a/src/components/section/ProjectionSection.astro +++ b/src/components/section/ProjectionSection.astro @@ -49,11 +49,11 @@ const { bgColor, titleColor, textColor, title, text } = Astro.props; bgColor: '#CBA16A', }} />
- Logo del CPyJ + Logo del CPyJ
- +
diff --git a/src/pages/index.astro b/src/pages/index.astro index faee480..cbde19e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -9,7 +9,7 @@ import CarouselSection from "../components/section/CarouselSection.astro"; import InfoSection from "../components/section/InfoSection.astro"; import IdentitySection from "../components/section/IdentitySection.astro"; import AuthoritySection from "../components/section/AuthoritySection.astro"; -import ProjectionSection from "../components/section/projectionSection.astro"; +import ProjectionSection from "../components/section/ProjectionSection.astro"; import { infoboxes } from "../data/content/infosection.js"; import ColorSection from "../components/section/ColorSection.astro"; diff --git a/src/styles/global.css b/src/styles/global.css index fb1b682..7cf821c 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -9,6 +9,8 @@ --color-secondary: #CBA16A; --color-tertiary: #003421; --color-link: #CBA16A; + + --container-mobile: 40rem; } :root {