docs: recap blog for goose nyc meetup (#2264)

This commit is contained in:
Ebony Louis
2025-04-18 14:32:39 -04:00
committed by GitHub
parent e859ad1115
commit d0df6e6f49
16 changed files with 120 additions and 3 deletions

View File

@@ -15,13 +15,15 @@ const ImageCarousel = ({ images, id, width = '100%', names = [] }) => {
return names[activeIndex];
}
// Fallback to default naming
return `Image ${activeIndex + 1}`;
// Don't show anything if no names provided
return '';
};
return (
<div className="carousel-container">
<h3 className="carousel-header">{getCurrentImageName()}</h3>
{getCurrentImageName() && (
<h3 className="carousel-header">{getCurrentImageName()}</h3>
)}
<Swiper
spaceBetween={10}