diff --git a/content/_partials/projectcarousel.html.haml b/content/_partials/projectcarousel.html.haml index 1ebf87b2beeb..4baea02451b9 100644 --- a/content/_partials/projectcarousel.html.haml +++ b/content/_partials/projectcarousel.html.haml @@ -28,6 +28,10 @@ %div.carousel-indicators - page.slides.each_with_index do |slide, index| %button{:class => index == 0 && "active", :data => {:bs => {:target => "#ProjectCarousel_#{carousel_id}", :slide => {:to => index }}}} + %a.carousel-control-prev{href: "#ProjectCarousel_#{carousel_id}", role: "button", "data-bs-slide": "prev"} + %span.carousel-control-prev-icon{"aria-hidden": "true"} + %a.carousel-control-next{href: "#ProjectCarousel_#{carousel_id}", role: "button", "data-bs-slide": "next"} + %span.carousel-control-next-icon{"aria-hidden": "true"} .carousel-inner{:class => "carousel_#{carousel_id}"} - page.slides.each_with_index do |slide, index| - slide_background = slide.background || "rgba(0,0,0,0)"