Image adjustments
|
|
@ -11,6 +11,8 @@ export default defineConfig({
|
||||||
plugins: [tailwindcss()],
|
plugins: [tailwindcss()],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
//base: '/mockup/',
|
||||||
|
|
||||||
integrations: [markdoc(), icon()],
|
integrations: [markdoc(), icon()],
|
||||||
|
|
||||||
i18n: {
|
i18n: {
|
||||||
|
|
|
||||||
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 164 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 92 KiB |
|
After Width: | Height: | Size: 9.2 KiB |
|
After Width: | Height: | Size: 189 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
|
@ -10,7 +10,7 @@ const {
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="generator" content={Astro.generator} />
|
<meta name="generator" content={Astro.generator} />
|
||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
<meta name="description" content={description} />
|
<meta name="description" content={description} />
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import Button from "./ui/Button.astro";
|
||||||
const background = props.bgImage || props.bgColor;
|
const background = props.bgImage || props.bgColor;
|
||||||
|
|
||||||
---
|
---
|
||||||
<div style={{ background: props.bgImage ? `url('${props.bgImage}') center no-repeat; background-size:680px;` : props.bgColor }} class={`aspect-square py-12 px-16 flex flex-col justify-evenly`}>
|
<div style={{ background: props.bgImage ? `url('${props.bgImage}') center no-repeat; background-size:680px;` : props.bgColor }} class={`aspect-auto lg:aspect-square py-12 px-16 flex flex-col justify-evenly`}>
|
||||||
|
|
||||||
<div class="flex flex-col gap-6">
|
<div class="flex flex-col gap-6">
|
||||||
{props.hasIcon && (
|
{props.hasIcon && (
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ import Header from './Header.astro';
|
||||||
<div class="gap-8 flex flex-col justify-end">
|
<div class="gap-8 flex flex-col justify-end">
|
||||||
<div>
|
<div>
|
||||||
<img
|
<img
|
||||||
src="/src/assets/logo-metalico.webp"
|
src="/img/logo-metalico.webp"
|
||||||
alt="Logo Metalico"
|
alt="Logo Metalico"
|
||||||
class="w-58 mb-4"
|
class="w-58 mb-4"
|
||||||
/>
|
/>
|
||||||
|
|
@ -35,7 +35,7 @@ import Header from './Header.astro';
|
||||||
</h2>
|
</h2>
|
||||||
<div class="w-16 self-end mt-64">
|
<div class="w-16 self-end mt-64">
|
||||||
<img
|
<img
|
||||||
src="/src/assets/white-dove.webp"
|
src="/img/white-dove.webp"
|
||||||
alt="White Dove"
|
alt="White Dove"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
import Image from "astro/components/Image.astro";
|
import { Image } from "astro:assets"
|
||||||
import { Icon } from "astro-icon/components";
|
import { Icon } from "astro-icon/components";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ const { title, titleColor, description, descColor, bgColor } = Astro.props;
|
||||||
<p>El <strong>Dr. José Benjamín Pérez Matos</strong> es el <strong>fundador y único referente del Centro del Reino de Paz y Justicia.</strong> Su liderazgo articula visión espiritual, formación intelectual, acción pública y proyección internacional.</p>
|
<p>El <strong>Dr. José Benjamín Pérez Matos</strong> es el <strong>fundador y único referente del Centro del Reino de Paz y Justicia.</strong> Su liderazgo articula visión espiritual, formación intelectual, acción pública y proyección internacional.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-span-4 bg-secondary flex items-end self-end justify-center h-82 overflow-visible">
|
<div class="col-span-4 bg-secondary flex items-end self-end justify-center h-82 overflow-visible">
|
||||||
<img src="/src/assets/DRJBP-1.webp" class="w-92 h-98 object-contain" alt="">
|
<img src="/img/DRJBP-1.webp" class="w-92 h-98 object-contain" alt="">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
import Image from "astro/components/Image.astro";
|
import { Image } from "astro:assets"
|
||||||
import "swiper/css";
|
import "swiper/css";
|
||||||
import "swiper/css/navigation";
|
import "swiper/css/navigation";
|
||||||
import "swiper/css/pagination";
|
import "swiper/css/pagination";
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
import { Icon } from "astro-icon/components";
|
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";
|
import jbp from "../../assets/DRJBP-1.webp";
|
||||||
---
|
---
|
||||||
<div class="bg-[#22523F]">
|
<div class="bg-[#22523F]">
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ const { title, text, initTitle, colorText, bgColor } = Astro.props;
|
||||||
|
|
||||||
<div class={`grid grid-cols-12 ${bgColor}`}>
|
<div class={`grid grid-cols-12 ${bgColor}`}>
|
||||||
<div class="bg-[#22523F] col-span-4 flex items-center justify-center bg-[url('/src/assets/mid-logo-2.webp')] bg-left">
|
<div class="bg-[#22523F] col-span-4 flex items-center justify-center bg-[url('/src/assets/mid-logo-2.webp')] bg-left">
|
||||||
<img src="/src/assets/logo-metalico.webp" alt="Imagen de identidad del CPyJ" class="w-1/2" />
|
<img src="/img/logo-metalico.webp" alt="Imagen de identidad del CPyJ" class="w-1/2" />
|
||||||
</div>
|
</div>
|
||||||
<div class={`flex flex-col ${colorText} col-span-8 gap-8 py-24 px-32`}>
|
<div class={`flex flex-col ${colorText} col-span-8 gap-8 py-24 px-32`}>
|
||||||
<h2 class="font-primary text-3xl font-bold">{initTitle}</h2>
|
<h2 class="font-primary text-3xl font-bold">{initTitle}</h2>
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ const { bgColor, titleColor, textColor, title, text } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="container mx-auto">
|
<div class="container mx-auto">
|
||||||
<div class="grid grid-cols-3">
|
<div class="grid grid-cols-1 md:grid-cols-1 lg:grid-cols-3">
|
||||||
{ infoboxes.map((box) => (
|
{ infoboxes.map((box) => (
|
||||||
<BoxContainer props={box} />
|
<BoxContainer props={box} />
|
||||||
))}
|
))}
|
||||||
|
|
@ -37,7 +37,7 @@ const { bgColor, titleColor, textColor, title, text } = Astro.props;
|
||||||
}} />
|
}} />
|
||||||
</div>
|
</div>
|
||||||
<div class="col-span-1 py-38 px-24 bg-[#21523F]">
|
<div class="col-span-1 py-38 px-24 bg-[#21523F]">
|
||||||
<img src="/src/assets/logo-ligth.webp" alt="Logo del CPyJ">
|
<img src="/img///logo-ligth.webp" alt="Logo del CPyJ">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -49,11 +49,11 @@ const { bgColor, titleColor, textColor, title, text } = Astro.props;
|
||||||
bgColor: '#CBA16A',
|
bgColor: '#CBA16A',
|
||||||
}} />
|
}} />
|
||||||
<div class="absolute -bottom-[8rem] z-10 w-full">
|
<div class="absolute -bottom-[8rem] z-10 w-full">
|
||||||
<img src="/src/assets/logo-ligth.webp" class="w-1/2 mx-auto" alt="Logo del CPyJ">
|
<img src="/img/logo-ligth.webp" class="w-1/2 mx-auto" alt="Logo del CPyJ">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bg-[#22523F] object-cover pt-64 justify-end flex">
|
<div class="bg-[#22523F] object-cover pt-64 justify-end flex">
|
||||||
<img src="/src/assets/DRJBP-2.webp" class="h-full object-cover" />
|
<img src="/img/DRJBP-2.webp" class="h-full object-cover" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import CarouselSection from "../components/section/CarouselSection.astro";
|
||||||
import InfoSection from "../components/section/InfoSection.astro";
|
import InfoSection from "../components/section/InfoSection.astro";
|
||||||
import IdentitySection from "../components/section/IdentitySection.astro";
|
import IdentitySection from "../components/section/IdentitySection.astro";
|
||||||
import AuthoritySection from "../components/section/AuthoritySection.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 { infoboxes } from "../data/content/infosection.js";
|
||||||
import ColorSection from "../components/section/ColorSection.astro";
|
import ColorSection from "../components/section/ColorSection.astro";
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,8 @@
|
||||||
--color-secondary: #CBA16A;
|
--color-secondary: #CBA16A;
|
||||||
--color-tertiary: #003421;
|
--color-tertiary: #003421;
|
||||||
--color-link: #CBA16A;
|
--color-link: #CBA16A;
|
||||||
|
|
||||||
|
--container-mobile: 40rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
|
|
|
||||||