mirror of
https://github.com/Sosokker/B2D-Ventures.git
synced 2025-12-19 05:54:06 +01:00
feat: add previous and next buttons to carousel for improved navigation
This commit is contained in:
parent
9953aae4a4
commit
34d929370b
@ -99,6 +99,8 @@ export default async function ProjectDealPage({ params }: { params: { id: number
|
||||
</CarouselItem>
|
||||
))}
|
||||
</CarouselContent>
|
||||
<CarouselPrevious className="absolute left-2 top-1/2 transform -translate-y-1/2 z-10 text-white bg-black opacity-50 hover:opacity-100" />
|
||||
<CarouselNext className="absolute right-2 top-1/2 transform -translate-y-1/2 z-10 text-white bg-black opacity-50 hover:opacity-100" />
|
||||
</Carousel>
|
||||
{/* second carousel */}
|
||||
<Carousel className="w-full ml-1 h-[100px] mt-5 overflow-hidden">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user