Skip to content

Commit

Permalink
removed scripts from themes
Browse files Browse the repository at this point in the history
  • Loading branch information
LiveDuo committed Dec 21, 2023
1 parent d284ec9 commit 9f28197
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 120 deletions.
32 changes: 0 additions & 32 deletions lib/themes/hyperui/Testimonials1/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@

<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>

<link href="https://unpkg.com/swiper/swiper-bundle.min.css" rel="stylesheet" />

<section class="bg-gray-100">
<div
class="mx-auto max-w-[1340px] px-4 py-16 sm:px-6 sm:py-24 lg:mr-0 lg:pl-8 lg:pr-0"
Expand Down Expand Up @@ -361,30 +356,3 @@ <h2 class="text-3xl font-bold tracking-tight sm:text-4xl">
</div>
</div>
</section>

<script>
document.addEventListener('DOMContentLoaded', function () {
new Swiper('.swiper-container', {
loop: true,
slidesPerView: 1,
spaceBetween: 32,
autoplay: {
delay: 8000,
},
breakpoints: {
640: {
centeredSlides: true,
slidesPerView: 1.25,
},
1024: {
centeredSlides: false,
slidesPerView: 1.5,
},
},
navigation: {
nextEl: '.next-button',
prevEl: '.prev-button',
},
})
})
</script>
27 changes: 0 additions & 27 deletions lib/themes/hyperui/Testimonials4/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@

<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>

<link href="https://unpkg.com/swiper/swiper-bundle.min.css" rel="stylesheet" />

<section class="bg-white">
<div class="mx-auto max-w-screen-xl px-4 py-16 sm:px-6 sm:py-24 lg:px-8">
<h2 class="text-center text-4xl font-bold tracking-tight sm:text-5xl">
Expand Down Expand Up @@ -236,25 +231,3 @@ <h2 class="text-center text-4xl font-bold tracking-tight sm:text-5xl">
</div>
</div>
</section>

<script>
document.addEventListener('DOMContentLoaded', function () {
const swiper = new Swiper('.swiper-container', {
loop: true,
slidesPerView: 1,
spaceBetween: 32,
centeredSlides: true,
autoplay: {
delay: 8000,
},
breakpoints: {
640: {
slidesPerView: 1.5,
},
1024: {
slidesPerView: 3,
},
},
})
})
</script>
32 changes: 0 additions & 32 deletions lib/themes/hyperui/Testimonials5/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@

<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>

<link href="https://unpkg.com/swiper/swiper-bundle.min.css" rel="stylesheet" />

<section class="bg-gray-100">
<div
class="mx-auto max-w-[1340px] px-4 py-16 sm:px-6 sm:py-24 lg:mr-0 lg:pl-8 lg:pr-0"
Expand Down Expand Up @@ -400,30 +395,3 @@ <h5 class="text-2xl font-bold text-pink-600 sm:text-3xl">
</div>
</div>
</section>

<script>
document.addEventListener('DOMContentLoaded', function () {
const swiper = new Swiper('.swiper-container', {
loop: true,
slidesPerView: 1,
spaceBetween: 32,
autoplay: {
delay: 8000,
},
navigation: {
nextEl: '.next-button',
prevEl: '.prev-button',
},
breakpoints: {
640: {
slidesPerView: 1.5,
centeredSlides: true,
},
1024: {
centeredSlides: false,
slidesPerView: 2.25,
},
},
})
})
</script>
29 changes: 0 additions & 29 deletions lib/themes/hyperui/Testimonials7/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@

<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>

<link href="https://unpkg.com/swiper/swiper-bundle.min.css" rel="stylesheet" />

<section>
<div class="mx-auto max-w-screen-xl px-4 py-16 sm:px-6 lg:px-8">
<div class="swiper-container !overflow-hidden">
Expand Down Expand Up @@ -124,28 +120,3 @@
</div>
</div>
</section>

<script>
document.addEventListener('DOMContentLoaded', function () {
new Swiper('.swiper-container', {
loop: true,
slidesPerView: 1,
spaceBetween: 8,
autoplay: {
delay: 8000,
},
pagination: {
el: '.swiper-pagination',
clickable: true,
},
breakpoints: {
640: {
slidesPerView: 1.5,
},
1024: {
slidesPerView: 3,
},
},
})
})
</script>

0 comments on commit 9f28197

Please sign in to comment.