diff --git a/src/components/views/Home/Banner/Banner.jsx b/src/components/views/Home/Banner/Banner.jsx index 57b57e8..da8c84c 100644 --- a/src/components/views/Home/Banner/Banner.jsx +++ b/src/components/views/Home/Banner/Banner.jsx @@ -1,19 +1,23 @@ import React, { useState } from "react"; -import { useNavigate } from "react-router-dom"; import Slider from "react-slick"; import "slick-carousel/slick/slick-theme.css"; import "slick-carousel/slick/slick.css"; -import { IMAGES } from "../../../../constants/images"; import "./Banner.css"; const Banner = () => { - const navigate = useNavigate(); const eventBanners = [ - // { bannerImg: "https://readyvery.com/statics/images/event/ic_home_event1.png" }, - // { bannerImg: "https://readyvery.com/statics/images/event/ic_home_event2.png" }, - // { bannerImg: "https://readyvery.com/statics/images/event/ic_home_event3.png" }, - { bannerImg: IMAGES.banner_img }, - { bannerImg: IMAGES.banner2_img }, + { + bannerImg: + "https://readyvery.com/statics/images/event/ic_home_event1.png", + }, + { + bannerImg: + "https://readyvery.com/statics/images/event/ic_home_event2.png", + }, + { + bannerImg: + "https://readyvery.com/statics/images/event/ic_home_event3.png", + }, ]; const [currentIndex, setCurrentIndex] = useState(0); @@ -31,14 +35,12 @@ const Banner = () => { return (