diff --git a/src/assets/DRJBP-1.webp b/src/assets/DRJBP-1.webp index 879078e..1c65821 100644 Binary files a/src/assets/DRJBP-1.webp and b/src/assets/DRJBP-1.webp differ diff --git a/src/assets/DRJBP-2.webp b/src/assets/DRJBP-2.webp deleted file mode 100644 index fa726aa..0000000 Binary files a/src/assets/DRJBP-2.webp and /dev/null differ diff --git a/src/components/section/CarouselSection.astro b/src/components/section/CarouselSection.astro index f197b5f..ea1d433 100644 --- a/src/components/section/CarouselSection.astro +++ b/src/components/section/CarouselSection.astro @@ -14,7 +14,13 @@ const { images } = Astro.props; { images.map((image) => (
- +
+ +
+ {image.text} +
+ +
)) } @@ -36,23 +42,24 @@ const { images } = Astro.props; diff --git a/src/pages/index.astro b/src/pages/index.astro index f2e5397..eebd4ce 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -20,15 +20,33 @@ import FormationSection from "../components/section/FormationSection.astro"; import FooterSection from "../components/section/FooterSection.astro"; const carouselImages2 = [ - "https://picsum.photos/1920/800?random=1&grayscale", - "https://picsum.photos/1920/800?random=2&grayscale", - "https://picsum.photos/1920/800?random=3&grayscale", + { + image: "https://picsum.photos/1920/800?random=1&grayscale", + text: "Justicia", + }, + { + image: "https://picsum.photos/1920/800?random=2&grayscale", + text: "Paz", + }, + { + image: "https://picsum.photos/1920/800?random=3&grayscale", + text: "", + } ]; const carouselImages3 = [ - "https://picsum.photos/1920/800?random=1&grayscale", - "https://picsum.photos/1920/800?random=2&grayscale", - "https://picsum.photos/1920/800?random=3&grayscale", + { + image: "https://picsum.photos/1920/800?random=1&grayscale", + text: "Justicia", + }, + { + image: "https://picsum.photos/1920/800?random=2&grayscale", + text: "Paz", + }, + { + image: "https://picsum.photos/1920/800?random=3&grayscale", + text: "", + } ]; ---