144 lines
6.2 KiB
JavaScript
144 lines
6.2 KiB
JavaScript
'use client'
|
||
import Link from "next/link"
|
||
import { Autoplay, Navigation, Pagination } from "swiper/modules"
|
||
import { Swiper, SwiperSlide } from "swiper/react"
|
||
|
||
const swiperOptions = {
|
||
modules: [Autoplay, Pagination, Navigation],
|
||
slidesPerView: 1,
|
||
spaceBetween: 30,
|
||
autoplay: {
|
||
delay:2500,
|
||
disableOnInteraction: false,
|
||
},
|
||
loop: true,
|
||
|
||
// Navigation
|
||
navigation: {
|
||
nextEl: '.h1n',
|
||
prevEl: '.h1p',
|
||
},
|
||
|
||
// Pagination
|
||
pagination: {
|
||
el: '.swiper-pagination',
|
||
clickable: true,
|
||
},
|
||
|
||
breakpoints: {
|
||
320: {
|
||
slidesPerView: 1,
|
||
// spaceBetween: 30,
|
||
},
|
||
575: {
|
||
slidesPerView: 1,
|
||
// spaceBetween: 30,
|
||
},
|
||
767: {
|
||
slidesPerView: 1,
|
||
// spaceBetween: 30,
|
||
},
|
||
991: {
|
||
slidesPerView: 1,
|
||
// spaceBetween: 30,
|
||
},
|
||
1199: {
|
||
slidesPerView: 1,
|
||
// spaceBetween: 30,
|
||
},
|
||
1350: {
|
||
slidesPerView: 1,
|
||
// spaceBetween: 30,
|
||
},
|
||
}
|
||
}
|
||
export default function TestimonialSlider1() {
|
||
return (
|
||
<>
|
||
<Swiper {...swiperOptions} className="single-item-carousel owl-carousel owl-theme owl-dots-none owl-nav-none">
|
||
<SwiperSlide className="slide-item">
|
||
<div className="testimonial-block-one">
|
||
<div className="inner-box">
|
||
<div className="icon-box"><i className="icon-23"></i></div>
|
||
<p>“Rapha Rehab provided exceptional care and support throughout my physiotherapy sessions. The team’s professionalism and personalized approach helped me recover faster than I expected.”</p>
|
||
{/* <div className="author-box">
|
||
<figure className="author-thumb"><img src="assets/images/resource/testimonial-1.png" alt="" /></figure>
|
||
<ul className="rating clearfix">
|
||
<li><i className="fas fa-star"></i></li>
|
||
<li><i className="fas fa-star"></i></li>
|
||
<li><i className="fas fa-star"></i></li>
|
||
<li><i className="fas fa-star"></i></li>
|
||
<li><i className="far fa-star"></i></li>
|
||
</ul>
|
||
<h3>Robert Fox</h3>
|
||
<span className="designation">Dog Trainer</span>
|
||
</div> */}
|
||
</div>
|
||
</div>
|
||
</SwiperSlide>
|
||
<SwiperSlide className="slide-item">
|
||
<div className="testimonial-block-one">
|
||
<div className="inner-box">
|
||
<div className="icon-box"><i className="icon-23"></i></div>
|
||
<p>“The hand massage therapy at Rapha Rehab was incredibly effective in relieving my pain and tension. The therapists are skilled and truly caring.”</p>
|
||
{/* <div className="author-box">
|
||
<figure className="author-thumb"><img src="assets/images/resource/testimonial-1.png" alt="" /></figure>
|
||
<ul className="rating clearfix">
|
||
<li><i className="fas fa-star"></i></li>
|
||
<li><i className="fas fa-star"></i></li>
|
||
<li><i className="fas fa-star"></i></li>
|
||
<li><i className="fas fa-star"></i></li>
|
||
<li><i className="far fa-star"></i></li>
|
||
</ul>
|
||
<h3>Robert Fox</h3>
|
||
<span className="designation">Dog Trainer</span>
|
||
</div> */}
|
||
</div>
|
||
</div>
|
||
</SwiperSlide>
|
||
<SwiperSlide className="slide-item">
|
||
<div className="testimonial-block-one">
|
||
<div className="inner-box">
|
||
<div className="icon-box"><i className="icon-23"></i></div>
|
||
<p>“I highly recommend Rapha Rehab for anyone looking for top-quality physio services in Mississauga. The modern equipment and expert staff make a real difference.”</p>
|
||
{/* <div className="author-box">
|
||
<figure className="author-thumb"><img src="assets/images/resource/testimonial-1.png" alt="" /></figure>
|
||
<ul className="rating clearfix">
|
||
<li><i className="fas fa-star"></i></li>
|
||
<li><i className="fas fa-star"></i></li>
|
||
<li><i className="fas fa-star"></i></li>
|
||
<li><i className="fas fa-star"></i></li>
|
||
<li><i className="far fa-star"></i></li>
|
||
</ul>
|
||
<h3>Robert Fox</h3>
|
||
<span className="designation">Dog Trainer</span>
|
||
</div> */}
|
||
</div>
|
||
</div>
|
||
</SwiperSlide>
|
||
<SwiperSlide className="slide-item">
|
||
<div className="testimonial-block-one">
|
||
<div className="inner-box">
|
||
<div className="icon-box"><i className="icon-23"></i></div>
|
||
<p>“Excellent waterfront physio and rehab services. The calming environment combined with expert care made my rehabilitation a comfortable and successful experience.”</p>
|
||
{/* <div className="author-box">
|
||
<figure className="author-thumb"><img src="assets/images/resource/testimonial-1.png" alt="" /></figure>
|
||
<ul className="rating clearfix">
|
||
<li><i className="fas fa-star"></i></li>
|
||
<li><i className="fas fa-star"></i></li>
|
||
<li><i className="fas fa-star"></i></li>
|
||
<li><i className="fas fa-star"></i></li>
|
||
<li><i className="far fa-star"></i></li>
|
||
</ul>
|
||
<h3>Robert Fox</h3>
|
||
<span className="designation">Dog Trainer</span>
|
||
</div> */}
|
||
</div>
|
||
</div>
|
||
</SwiperSlide>
|
||
|
||
</Swiper>
|
||
</>
|
||
)
|
||
}
|