"use client" import { useEffect } from "react" import Swiper from "swiper" import { Pagination, Autoplay, FreeMode } from "swiper/modules" import "swiper/css" import "swiper/css/pagination" export default function Trades() { useEffect(() => { const swiper = new Swiper(".tradesSwiper", { modules: [Pagination, Autoplay, FreeMode], loop: true, slidesPerView: 3, spaceBetween: 25, speed: 1500, autoplay: { delay: 0, disableOnInteraction: false, }, freeMode: true, freeModeMomentum: false, pagination: { el: ".swiper-pagination", clickable: true, }, breakpoints: { 0: { slidesPerView: 1 }, 768: { slidesPerView: 2 }, 1024: { slidesPerView: 3 } } }) return () => swiper.destroy() // cleanup }, []) return (
Meet Our Trades

HouseCoin's specialized capabilities are
driven by expert craftsmen.

Explore All Trades
{[ { img: "/assets/images/trader1.png", title: "Woodwork", name: "Mark S", role: "Lead Carpenter", desc: "Specializes in building robust frameworks and custom woodwork." }, { img: "/assets/images/trader2.png", title: "Electrical", name: "John D", role: "Senior Electrician", desc: "Expert in wiring systems and smart installations." }, { img: "/assets/images/trader3.png", title: "Plumbing", name: "David R", role: "Master Plumber", desc: "Handles modern plumbing systems with precision." }, { img: "/assets/images/Masonry.png", title: "Masonry", name: "Alex K", role: "Interior Specialist", desc: "Delivers premium finishes and detailing." } ].map((item, i) => (

{item.title}

{item.name}

{item.role}

{item.desc}

))}
{/* ✅ PAGINATION DOTS */}
) }