diff --git a/components/home/HeroBanner.tsx b/components/home/HeroBanner.tsx index 452b287..c9858d5 100644 --- a/components/home/HeroBanner.tsx +++ b/components/home/HeroBanner.tsx @@ -18,6 +18,15 @@ export default function HomeHeroBanner() { // bgImage: '/assets/img/home/banner/banner-1.webp', // image: '/assets/img/all-images/hero/hero-img11.png', // }, + { + // title: 'Tamil Cultural Nite 2025', + // date: 'SERVING', + // location: 'WATERLOO – KITCHENER – CAMBRIDGE- GUELPH – BRANTFORD AND SURROUNDING AREAS SINCE 1989', + bgImage: '/assets/img/home/banner/banner.webp', + // image: '/assets/img/all-images/hero/hero-img12.png', + // buttonText: "Book Now", + // buttonLink: "/upcoming-event/tamil-cultural-nite-2025", + }, { title: 'Tamil Cultural Nite 2025', date: 'SERVING', @@ -77,56 +86,51 @@ export default function HomeHeroBanner() { backgroundPosition: 'center bottom', }} > -
+
-
- {/* */} - Where Culture Meets the Beat -
-
-

+ {slide.title && ( + <> +
+ Where Culture Meets the Beat +
+
+

+ + )}
-
- - {slide.buttonText} - - {/* - Schedules - */} -
+ {slide.buttonLink && slide.buttonText && ( +
+ + {slide.buttonText} + +
+ )}
- {/*
-
- -
-
*/}
-
-
-
-
- {/*
-
- -
-
*/} -
-
-

{slide.date}

- {/*
*/} -

- - {slide.location} -

+ {(slide.date || slide.location) && ( +
+
+
+
+
+
+ {slide.date &&

{slide.date}

} + {slide.location && ( +

+ + {slide.location} +

+ )} +
-
+ )}
diff --git a/public/assets/img/home/banner/banner.webp b/public/assets/img/home/banner/banner.webp new file mode 100644 index 0000000..50cfa9f Binary files /dev/null and b/public/assets/img/home/banner/banner.webp differ