Skip to content

Commit

Permalink
Update projectcarousel.html.haml
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshmishreea122003 authored Feb 22, 2024
1 parent 6f21da2 commit ea4cb99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/_partials/projectcarousel.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit ea4cb99

Please sign in to comment.