feat(carousel): add clickable carousel indicators
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import ServiceCarousel from "@/components/ServiceCarousel";
|
||||
import {
|
||||
Carousel,
|
||||
CarouselContent,
|
||||
@ -347,13 +348,7 @@ export default function Home() {
|
||||
Strategic excellence across every dimension of modern PR
|
||||
</h5>
|
||||
<section className="flex flex-col items-start space-y-7">
|
||||
<Carousel className="w-full h-fit ">
|
||||
<CarouselContent>
|
||||
{serviceCarousel.map(({ id, content }) => (
|
||||
<CarouselItem key={id}>{content}</CarouselItem>
|
||||
))}
|
||||
</CarouselContent>
|
||||
</Carousel>
|
||||
<ServiceCarousel />
|
||||
</section>
|
||||
</section>
|
||||
{/*Approach*/}
|
||||
|
||||
Reference in New Issue
Block a user