Skip to content

Commit

Permalink
Images added for Corousel
Browse files Browse the repository at this point in the history
Signed-off-by: Swastik Sharma <swastkk@gmail.com>
  • Loading branch information
swastkk committed Jul 12, 2023
1 parent 5e8d286 commit ec7e178
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/components/homePageComponents/carousel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,19 @@ import hultImage1 from "../../static/images/Hult_Images/Hult_01N.jpg";
import hultImage2 from "../../static/images/Hult_Images/Hult_04N.jpg";
import pahalImage1 from "../../static/images/Hult_Images/Hult_01N.jpg";
import pahalImage2 from "../../static/images/pahal_events.jpg";
import technexImage from "../../static/images/Technex 05.jpg";
import technexImage1 from "../../static/images/Technex 05.jpg";
import technexImage2 from "../../static/images/Technex 04.jpg";
import technexImage3 from "../../static/images/Technex 03.jpg";

const ImageCarousel = () => {
const carouselImages = [
hultImage1,
hultImage2,
pahalImage1,
pahalImage2,
technexImage
technexImage1,
technexImage2,
technexImage3,
];


Expand All @@ -31,7 +35,7 @@ const ImageCarousel = () => {
>
{carouselImages.map((image, index) => (
<div key={index}>
<img src={image} alt={`Carousel Image ${index + 1}`} />
<img src={image} alt={`img ${index + 1}`} />
</div>
))}
</Carousel>
Expand Down

0 comments on commit ec7e178

Please sign in to comment.