"use client"; import { projectItems } from "@/data/projects"; import { Autoplay, Pagination } from "swiper/modules"; import { Swiper, SwiperSlide } from "swiper/react"; import AnimatedText from "@/components/common/AnimatedText"; import Link from "next/link"; import Image from "next/image"; export default function Projects() { const swiperOptions = { spaceBetween: 30, speed: 2000, loop: true, centeredSlides: true, autoplay: { delay: 2000, disableOnInteraction: false, }, modules: [Autoplay, Pagination], pagination: { el: ".project-dot", }, breakpoints: { 1199: { slidesPerView: 3, }, 991: { slidesPerView: 2, }, 767: { slidesPerView: 2, }, 575: { slidesPerView: 1, }, 0: { slidesPerView: 1, }, }, }; return (
latest project gallery

View all Projects
{projectItems.map((item) => (
Project

{item.title}

{" "} {item.location}

{item.number}

))}
); }