import{j as e}from"./jsx-runtime-C35QZyMw.js";import{c as l}from"./index-DzGUYBzK.js";import{C as i}from"./container-C4F3RlnX.js";import{T as x}from"./testimonial-QcW4ydJr.js";function u({testimonials:a,className:s,verticalOnly:r=!1}){return e.jsx("section",{id:"testimonials","aria-label":"What our customers are saying",className:l("bg-slate-50 py-20 sm:py-32 dark:bg-zinc-900",s),children:e.jsxs(i,{children:[e.jsxs("div",{className:"mx-auto max-w-2xl md:text-center",children:[e.jsx("h2",{className:"font-display text-3xl tracking-tight text-slate-900 sm:text-4xl dark:text-white",children:"Leanpub authors love Leanpub."}),e.jsx("p",{className:"mt-4 text-lg tracking-tight text-slate-700 dark:text-zinc-400",children:"We're authors too, and we built Leanpub to be the platform we would love to use. It turns out, we weren't alone..."})]}),e.jsx("article",{className:"mx-auto mt-12 max-w-2xl px-4 lg:px-8",children:e.jsx("div",{className:"overflow-hidden rounded-2xl bg-white p-4 shadow-lg shadow-slate-900/5 dark:bg-zinc-800 dark:shadow-none",children:e.jsx("div",{className:"relative w-full overflow-hidden rounded-xl pt-[56.25%]",children:e.jsx("iframe",{title:"youtube",id:"ytplayer",src:"https://www.youtube.com/embed/5f4iAkxevp4",className:"absolute top-0 right-0 bottom-0 left-0 h-full w-full",allowFullScreen:!0})})})}),e.jsx("ul",{role:"list",className:l("mx-auto mt-12 grid max-w-2xl grid-cols-1 gap-8 px-4 lg:px-8",!r&&"lg:max-w-7xl lg:grid-cols-3"),children:a.map((o,t)=>e.jsx("li",{className:"flex flex-col",children:e.jsx(x,{...o},t)},t))})]})})}export{u as T};