Skip to content

Commit

Permalink
add roadmap
Browse files Browse the repository at this point in the history
  • Loading branch information
alidevjimmy committed Sep 10, 2024
1 parent 67f90e9 commit deb9b24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -771,14 +771,15 @@ <h6 class="font-medium text-sm mt-2">
1400: {
slidesPerView: 4
}
}
},
});
let n = 100 / (swiper2.params.loop ? swiper2.slides.length - 2 : swiper2.slides.length)
let i = $(".step_in");
swiper2.on("slideChange", function () {
roadmapStep(this, i, n);
});

swiper2.slideTo(swiper2.slides.length / 2)

</script>
{{ end }}

0 comments on commit deb9b24

Please sign in to comment.