Skip to content

Commit 30d459a

Browse files
committed
Merge branch 'WEB-60-Add-summary-section-that-links-to-HacktheChange-website' of https://github.com/Code-the-Change-YYC/code-the-change-yyc-site into WEB-60-Add-summary-section-that-links-to-HacktheChange-website
2 parents 051b6b0 + ba77044 commit 30d459a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

components/EventsCarousel.jsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import TextSection from './TextSection';
66
import Heading from './Heading';
77
import { EventTileImage } from './EventTileImage';
88

9-
const CAROUSEL_CONTAINER = 'w-4/5 md:hidden swiper-button swiperContainer relative';
9+
const CAROUSEL_CONTAINER = 'w-4/5 md:hidden swiper-button swiperContainer relative';
1010
const ARROW_INIT = { left: 'swiper-button-prev', right: 'swiper-button-next' };
1111
const LEFT_NAVIGATION_ARROW = styles.swiperButtonPrev;
1212
const RIGHT_NAVIGATION_ARROW = styles.swiperButtonNext;
@@ -27,6 +27,12 @@ const EventTile = ({ eventName, description, image }) => {
2727
<EventTileImage image={image} />
2828
</div>
2929
</div>
30+
<TextSection classes="text-sm pb-10">{descriptionText}</TextSection>
31+
<div className={TILE_IMAGE_CONTAINER}>
32+
<div>
33+
<EventTileImage image={image} />
34+
</div>
35+
</div>
3036
<TextSection classes="text-xs sm:py-2 ">{descriptionText}</TextSection>
3137
</div>
3238
);

0 commit comments

Comments
 (0)