import{j as s}from"./jsx-runtime-Byf2O5Qf.js";function x({testimonials:a,tagline:l="We have worked with thousands of amazing people"}){return s.jsx("div",{className:"py-8 sm:py-12",children:s.jsxs("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:[s.jsxs("div",{className:"mx-auto max-w-xl text-center",children:[s.jsx("h2",{className:"text-azure-600 text-lg leading-8 font-semibold tracking-tight",children:"Testimonials"}),s.jsx("p",{className:"mt-2 text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl",children:l})]}),s.jsx("div",{className:"mx-auto mt-16 flow-root max-w-2xl sm:mt-20 lg:mx-0 lg:max-w-none",children:s.jsx("div",{className:"-mt-8 sm:-mx-4 sm:columns-2 sm:text-[0] lg:columns-3",children:a.map(e=>s.jsx("div",{className:"pt-8 sm:inline-block sm:w-full sm:px-4",children:s.jsxs("figure",{className:"rounded-2xl bg-white p-8 text-sm leading-6 shadow-md",children:[s.jsx("blockquote",{className:"text-gray-900",children:s.jsx("p",{children:`"${e.text}"`})}),s.jsxs("figcaption",{className:"mt-6 flex items-center gap-x-4",children:[s.jsx("img",{className:"h-10 w-10 rounded-full bg-gray-50",src:e.avatar.url,alt:""}),s.jsxs("div",{children:[s.jsx("div",{className:"font-semibold text-gray-900",children:e.name}),s.jsx("div",{className:"text-gray-600",children:e.title})]})]})]})},e.id))})})]})})}export{x as T};