78 lines
2.6 KiB
JavaScript
78 lines
2.6 KiB
JavaScript
import React from "react";
|
|
import Pagination from "@/components/common/Pagination";
|
|
import { services } from "@/data/services";
|
|
import { allProducts } from "@/utlis/constant.utils";
|
|
import Link from "next/link";
|
|
import Image from "next/image";
|
|
import AnimatedText from "@/components/common/AnimatedText";
|
|
export default function Products() {
|
|
return (
|
|
<section className="service-section fix section-padding">
|
|
<div className="container">
|
|
<div className="section-title text-center">
|
|
<h6 className="wow fadeInUp">
|
|
<i className="fa-regular fa-arrow-left-long"></i>Product Range
|
|
<i className="fa-regular fa-arrow-right-long"></i>
|
|
</h6>
|
|
<h2 className="splt-txt wow">
|
|
<AnimatedText text="Explore Our Advanced " /> <br />
|
|
<AnimatedText text="Coconut Processing Solutions" />
|
|
</h2>
|
|
</div>
|
|
<div className="row">
|
|
{allProducts.map((product) => (
|
|
<div
|
|
key={product.id}
|
|
className={`col-xl-4 col-lg-6 col-md-6 wow fadeInUp ${product.id === 33 ? "highlight-product" : ""}`}
|
|
data-wow-delay={product.delay}
|
|
>
|
|
<div className="service-box-items items-bg">
|
|
<div className="service-thumb">
|
|
<Image
|
|
src={product.image}
|
|
width={346}
|
|
height={236}
|
|
alt="img"
|
|
/>
|
|
<div className="icon">
|
|
<Image
|
|
src={product.icon}
|
|
width={32}
|
|
height={32}
|
|
alt="img"
|
|
/>
|
|
</div>
|
|
</div>
|
|
<div className="service-content">
|
|
{/* <h2 className="number">{product.number}</h2> */}
|
|
<h3>
|
|
<Link href={`/product-details/${product.slug}`}>
|
|
{product.title}
|
|
</Link>
|
|
</h3>
|
|
<p>{product.para}</p>
|
|
<Link
|
|
href={`/product-details/${product.slug}`}
|
|
className="link-btn"
|
|
>
|
|
Explore More <i className="fa-solid fa-arrow-right" />
|
|
</Link>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
))}
|
|
</div>
|
|
{/* <div
|
|
className="page-nav-wrap pt-5 text-center wow fadeInUp"
|
|
data-wow-delay=".3s"
|
|
>
|
|
<ul>
|
|
<Pagination />
|
|
</ul>
|
|
</div> */}
|
|
</div>
|
|
</section>
|
|
);
|
|
}
|