Skip to content

Commit

Permalink
Update: pausetime updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchayan721 committed Sep 8, 2023
1 parent 11f618f commit 279017b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion src/components/Carousel/DynamicSlides/UnitSlide/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ const UnitSlide: React.FC<UnitSlideProps> = ({
{...props}
data-splide-interval={pauseTime}
>
<StyledImage width="900" height="600" src={image} alt={title} />
<StyledImage
width="900"
height="600"
src={image}
alt={title}
/>
<CarouselDataCard
title={title}
tagline={tagline}
Expand Down
10 changes: 5 additions & 5 deletions src/components/Carousel/carouselData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const carouselData : CarouselData[] = [
title: "Discover Bharat",
description: "This is an Indian family of informational, educational and entertainment-oriented Television, Applications and Websites offering value to how Education is developed and accessed by Global Societies.",
image: "/images/home/container-1/slide-1.jpg",
pauseTime: 5000,
pauseTime: 30000,
link: "/",
},
{
Expand All @@ -33,7 +33,7 @@ const carouselData : CarouselData[] = [
title: "Discover Bharat",
description: "This is an Indian family of informational, educational and entertainment-oriented Television, Applications and Websites offering value to how Education is developed and accessed by Global Societies.",
image: "/images/home/container-1/slide-3.jpg",
pauseTime: 5000,
pauseTime: 15000,
link: "/",
},
{
Expand All @@ -42,7 +42,7 @@ const carouselData : CarouselData[] = [
title: "Discover Bharat",
description: "This is an Indian family of informational, educational and entertainment-oriented Television, Applications and Websites offering value to how Education is developed and accessed by Global Societies.",
image: "/images/home/container-1/slide-4.jpg",
pauseTime: 8000,
pauseTime: 10000,
link: "/",
},
{
Expand All @@ -51,7 +51,7 @@ const carouselData : CarouselData[] = [
title: "Discover Bharat",
description: "This is an Indian family of informational, educational and entertainment-oriented Television, Applications and Websites offering value to how Education is developed and accessed by Global Societies.",
image: "/images/home/container-1/slide-5.jpg",
pauseTime: 4000,
pauseTime: 20000,
link: "/",
},
{
Expand All @@ -60,7 +60,7 @@ const carouselData : CarouselData[] = [
title: "Discover Bharat",
description: "This is an Indian family of informational, educational and entertainment-oriented Television, Applications and Websites offering value to how Education is developed and accessed by Global Societies.",
image: "/images/home/container-1/slide-6.jpg",
pauseTime: 7000,
pauseTime: 8000,
link: "/",
},
];
Expand Down

0 comments on commit 279017b

Please sign in to comment.