'use client' import Link from 'next/link' import { useEffect, useState } from 'react' 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: '.testimonial-two-button-next', prevEl: '.testimonial-two-button-prev', }, // Pagination pagination: { el: '.swiper-pagination', clickable: true, }, } export default function Slider3() { const [space, setSpace] = useState(0) const handleResize = () => { const container = document.querySelector('main .container') const windowWidth = window.innerWidth const containerWidth = container.offsetWidth const newSpace = ((windowWidth - containerWidth) / 2) - 15 setSpace(newSpace) const formQuote = document.querySelector('.slider__area-home8 .box-form-quote') formQuote.style.right = `${newSpace}px` } useEffect(() => { // Initial setup handleResize() // Attach event listener window.addEventListener('resize', handleResize) // Cleanup on component unmount return () => { window.removeEventListener('resize', handleResize) } }, []) const [value, setValue] = useState(25000) const handleChange = e => { setValue(Math.ceil(e.target.value / 5) * 5) } return ( <>

Transforming businesses with cutting-edge IT solutions

Empower your business with our comprehensive IT services and drive growth.

Contact us

Transforming businesses with cutting-edge IT solutions

Empower your business with our comprehensive IT services and drive growth.

Contact us

Get a Quote

Limits of balance:

${value}
handleChange(e)} />
) }