"use client"; import { useState } from "react"; import { Carousel, CarouselContent, CarouselItem, } from "@/components/ui/carousel"; import CurrentSlide from "@/hooks/CurrentSlide"; import Image from "next/image"; export default function CarouselWrapper() { const serviceCarousel = [ { id: 0, content: ( <>
campaign-strategy

01

Campaign Strategy

Comprehensive planning from research to execution, crafted to win hearts and minds.

), }, { id: 1, content: ( <>
media-production

02

Media Production

Cinematic storytelling through video, photography, and multimedia content that captivates.

), }, { id: 2, content: ( <>
research

03

Research & Analytics

Data-driven insights that inform every decision and optimize every outcome

), }, ]; const [api, setApi] = useState(); return ( <> {serviceCarousel.map(({ id, content }) => ( {content} ))} {/* All slide reading logic happens inside this component */} ); }