Skip to content

Commit

Permalink
Merge pull request #9 from qoherent/more-final-changes
Browse files Browse the repository at this point in the history
Footer/Sponser slider edit
  • Loading branch information
abeigi authored Jan 14, 2024
2 parents 2c4354d + 72c6522 commit e4ac1de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
10 changes: 7 additions & 3 deletions themes/hugoplate/assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@

// Testimonial Slider
// ----------------------------------------
new Swiper(".testimonial-slider", {
var testimonialSlider = new Swiper(".testimonial-slider", {
spaceBetween: 24,
loop: false,
autoplay: {
delay: 2500, // set the delay in milliseconds between slides
disableOnInteraction: false, // continue autoplay even when user interacts with the slider
},
pagination: {
el: ".testimonial-slider-pagination",
type: "bullets",
Expand All @@ -29,11 +33,11 @@
slidesPerView: 2,
},
900: {
slidesPerView:3
slidesPerView: 3,
},
1100: {
slidesPerView: 5,
}
},
},
});
})();
5 changes: 2 additions & 3 deletions themes/hugoplate/layouts/partials/essentials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<ul>
{{ range site.Menus.footer }}
<li class="m-3 block">
<a
<a class="hover:text-white"
{{ if findRE `^http` .URL }}
target="_blank" rel="noopener"
{{ end }}
Expand All @@ -25,8 +25,7 @@
{{ else }}
{{ .URL | relLangURL }}
{{ end }}"
>{{ .Name }}</a
>
>{{ .Name }}</a>
</li>
{{ end }}
</ul>
Expand Down

0 comments on commit e4ac1de

Please sign in to comment.