diff --git a/src/components/section/CarouselSection.astro b/src/components/section/CarouselSection.astro index 5371146..1c3c786 100644 --- a/src/components/section/CarouselSection.astro +++ b/src/components/section/CarouselSection.astro @@ -9,14 +9,14 @@ const { images, class: className } = Astro.props;
-
+
{ images.map((image) => (
{image.text && ( -
+
{image.text}
)} diff --git a/src/pages/news/[id].astro b/src/pages/news/[id].astro index b95d4cb..0b31512 100644 --- a/src/pages/news/[id].astro +++ b/src/pages/news/[id].astro @@ -31,22 +31,22 @@ const { Content } = await render(post);
{post.data.gallery && }
-
- -
-
- { post.data.youtube && ( - +
+ +
+
+ { post.data.youtube && ( + - )} + )} - {post.data.gallery && ( - post.data.gallery.map(galleryImage => ( - {galleryImage.text} - )) - )} + {post.data.gallery && ( + post.data.gallery.map(galleryImage => ( + {galleryImage.text} + )) + )} -
+