import{c as h,j as e,r as c}from"./index-CeSBbkQk.js";import{C as p,T as i,B as a}from"./Container-Cl4KucHL.js";import{P as d}from"./Paper-CO4pcNri.js";import"./createSimplePaletteValueFilter-bm0fmN_7.js";import"./useTheme-CHgUx8ni.js";const g=h(e.jsx("path",{d:"M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"}),"FormatQuote"),o=[{name:"Tessy Okpoyo",occupation:"Supervisor - Exclusive Unique Taste",message:"I would rate your services 9/10. You have been patient and timely in your dealings with us. Your ability to create brilliant and timeless designs while consistently finding innovative solutions to our challenges is truly commendable. I look forward to working with you for many more years to come."},{name:"Pst. Clement Imoh",occupation:"Pastor - RCCG Joshua Generation Chapel",message:"Tech Anchor is a true creative hub! Their exceptional graphic design, attention to detail, and dedication have greatly enhanced RCCG Joshua Generation Chapel’s image. They capture our brand essence and communicate our message effectively. We highly recommend their services—a single trial will get you hooked!"},{name:"Joy",occupation:"CEO JB Concept",message:"Punch Belly Africa Learning App is so much fun and easy to use for everyone. The JAMB CBT is impressive!"},{name:"Moses Ntui",occupation:"CEO - Early Risers Media",message:"Everest23 JAMB CBT Practice is a great app that can serve as a guarantee for success in JAMB."},{name:"Ebube Maduike",occupation:"Software Developer",message:"Punch Belly Africa for Kids is amazing! The colors, the flow—it is just perfect for kids below 5 years. There is room for improvement, but the developers did a great job! As a parent of toddlers, you need this app installed on your kids tablets."}],j=()=>{const[s,l]=c.useState(0),[u,r]=c.useState(!1);c.useEffect(()=>{const n=setInterval(()=>{r(!0),setTimeout(()=>{l(t=>(t+1)%o.length),r(!1)},300)},4e3);return()=>clearInterval(n)},[]);const m=n=>{r(!0),setTimeout(()=>{l(n),r(!1)},300)};return e.jsxs(p,{maxWidth:"lg",sx:{py:8},children:[e.jsx(i,{variant:"h4",component:"h2",align:"center",gutterBottom:!0,sx:{mb:6},children:"What Our Users/Partners Says"}),e.jsx(d,{elevation:3,sx:{p:4,borderRadius:2,bgcolor:"background.paper"},children:e.jsxs(a,{sx:{opacity:u?0:1,transition:"opacity 0.3s ease-in-out"},children:[e.jsx(a,{sx:{display:"flex",justifyContent:"center",mb:3},children:e.jsx(g,{sx:{fontSize:60,color:"primary.main"}})}),e.jsx(i,{variant:"h6",align:"center",sx:{mb:4,px:2},children:o[s].message}),e.jsxs(a,{sx:{textAlign:"center"},children:[e.jsx(i,{variant:"h6",component:"h3",sx:{fontWeight:"bold",mb:1},children:o[s].name}),e.jsx(i,{variant:"subtitle1",color:"text.secondary",children:o[s].occupation})]})]})}),e.jsx(a,{sx:{display:"flex",justifyContent:"center",mt:3,gap:1},children:o.map((n,t)=>e.jsx(a,{onClick:()=>m(t),sx:{width:s===t?32:12,height:12,borderRadius:6,bgcolor:s===t?"primary.main":"grey.300",cursor:"pointer",transition:"all 0.3s ease-in-out","&:hover":{bgcolor:s===t?"primary.main":"grey.400"}}},t))})]})};export{j as default};
