PageSourceSearch

https://shopmando.com/assets/Testimonials-O4oGFxDw.js

js shopmando.com collected 2026-10-03 21:22:54 UTC 2,796 bytes, 1 lines download raw bytes

1import{j as e}from"./jsx-runtime-BldLWdAb.js";import{c as r}from"./Button-CJnu3L3K.js";import{u as m,C as u,a as f,b as p,c as h,d as j}from"./carousel-B9e8c4AT.js";import{I as g}from"./Image-Df1FrJwD.js";function y({testimonials:l,variant:t="light",className:c,heading:a}){const s=t==="dark";return e.jsx("section",{children:e.jsxs("div",{className:r("flex items-center w-full flex-col py-14 md:px-12 md:py-20 lg:py-20",s&&"bg-neutral-dark-1 text-default-negative",c),children:[a||e.jsxs("div",{className:"flex flex-col items-center mb-9",children:[e.jsx("span",{className:r("text-lg text-default uppercase",s&&"text-subtle-negative"),children:"A Few Words From"}),e.jsx("h3",{children:"Our Customers"})]}),e.jsx(v,{testimonials:l,isDark:s}),e.jsx("div",{className:"hidden md:flex flex-col gap-5 max-w-screen-xl lg:flex-row lg:gap-11",children:l.map(({title:n,content:i,author:x,image:o})=>e.jsx(d,{title:n,content:i,author:x,image:o,isDark:s},n))})]})})}function v({testimonials:l,isDark:t}){const{setApi:c,current:a,count:s}=m();return e.jsxs(u,{ariaLabel:"Testimonials",setApi:c,opts:{skipSnaps:!0,containScroll:!1,duration:20},className:r("md:hidden md:w-0 block w-full",t&&"bg-neutral-dark-1 text-default-negative"),children:[e.jsx(f,{children:l.map(({title:n,content:i,author:x,image:o})=>e.jsx(p,{className:"basis-10/12",children:e.jsx(d,{title:n,content:i,author:x,image:o,isDark:t},n)},n))}),e.jsxs("div",{className:r("flex justify-center items-center text-subtle",t&&"text-subtle-negative [&_svg]:text-subtle-negative"),children:[e.jsx(h,{className:"relative flex justify-center items-center left-[unset] right-[unset] top-[unset] transform-none w-11 h-11 [&_svg]:h-6"}),e.jsxs("span",{className:"text-xs min-w-11 text-center",children:[a,"/",s]}),e.jsx(j,{className:"relative flex justify-center items-center left-[unset] right-[unset] top-[unset] transform-none w-11 h-11 [&_svg]:h-6"})]})]})}function d({title:l,isDark:t,content:c,author:a,image:s}){return e.jsxs("div",{className:"flex flex-col flex-1",children:[s&&e.jsx("div",{className:"w-[120px] h-[120px] rounded-full overflow-hidden mx-auto mb-4",children:e.jsx(g,{data:s,className:"w-full h-full object-cover",srcSetOptions:{incrementSize:0,intervals:1,placeholderWidth:120,startingWidth:120},sizes:"120px"})}),e.jsx("span",{className:"text-center tracking-widest",children:"★★★★★"}),e.jsxs("div",{className:r("flex bg-neutral-light-2 rounded-tr-[24px] rounded-bl-[24px] flex-col items-center gap-4 p-5 my-3",t&&"bg-neutral-dark-2"),children:[e.jsx("p",{className:"text-lg font-bold text-center",children:l}),e.jsx("p",{className:r("text-default/75 text-center lg:text-balance text-sm",t&&"text-subtle-negative"),children:c})]}),!!a&&e.jsx("span",{className:"eyebrow text-center",children:a})]},l)}export{y as T};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.