import{j as e}from"./jsx-runtime.D_zvdyIk.js";import"./index.2yJIXLcc.js";/* empty css                       */import{P as s}from"./pagination.CSD-W6zp.js";import{S as r,a as t}from"./swiper-react.BpyM6VYm.js";const m=({products:a})=>e.jsx(e.Fragment,{children:e.jsx(r,{pagination:{clickable:!0,bulletClass:"banner-pagination-bullet",bulletActiveClass:"banner-pagination-bullet-active"},modules:[s],children:a?.map(l=>e.jsx(t,{children:e.jsxs("div",{className:"row items-center px-7 xl:px-16",children:[e.jsx("div",{className:"sm:col-12 lg:col-6 order-2 lg:order-0",children:e.jsxs("div",{className:"text-center py-10 lg:py-0",children:[l?.description&&e.jsx("p",{className:"mb-2 lg:mb-3 text-light dark:text-darkmode-light font-medium md:text-xl",children:l.description}),e.jsx("div",{className:"row",children:e.jsx("h1",{className:"mb-4 lg:mb-10 col-10 sm:col-8 lg:col-12 mx-auto",children:l.title})}),l.handle&&e.jsx("a",{className:"btn btn-sm md:btn-lg btn-primary font-medium",href:`products/${l.handle}`,children:"Shop Now"})]})}),e.jsx("div",{className:"sm:col-12 lg:col-6",children:l.featuredImage&&e.jsx("img",{src:l.featuredImage.url,className:"mx-auto w-[388px] lg:w-full",width:"507",height:"385",alt:"banner image"})})]})},l.id))})});export{m as default};
