(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[976],{1420:function(e,s,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/home/components/testimonial-carousel",function(){return a(8696)}])},8696:function(e,s,a){"use strict";a.r(s);var t=a(5893);a(7294);var n=a(2261),i=a(6832);a(4839),a(9995);var l=a(216);let r=()=>{var e;let{frontContent:s}=(0,l.a)(),a=(null==s?void 0:null===(e=s.testimonials)||void 0===e?void 0:e.map(e=>({name:e.name,degree:e.degree,message:e.message})))||[];return(0,t.jsx)(t.Fragment,{children:a.length>0&&(0,t.jsx)("div",{className:"py-10",children:(0,t.jsx)("section",{className:"bg-white py-10 ",children:(0,t.jsxs)("div",{className:"container mx-auto px-4",children:[(0,t.jsx)("h2",{className:"text-3xl font-bold text-center text-gray-800 mb-3 text-primaryRed",children:"What Graduates Are Saying"}),(0,t.jsx)(n.tq,{modules:[i.pt,i.tl],autoplay:{delay:4e3,disableOnInteraction:!1},loop:!0,pagination:{clickable:!0},spaceBetween:24,slidesPerView:1,breakpoints:{768:{slidesPerView:2},1024:{slidesPerView:3}},children:a.map((e,s)=>(0,t.jsx)(n.o5,{children:(0,t.jsxs)("div",{className:"h-full bg-white border border-gray-200 rounded-xl shadow-sm p-6 flex flex-col justify-between hover:shadow-md transition",children:[(0,t.jsxs)("p",{className:"text-gray-600 italic mb-6",children:["“",e.message,"”"]}),(0,t.jsxs)("div",{className:"border-t pt-4",children:[(0,t.jsx)("h4",{className:"font-semibold text-gray-800",children:e.name}),(0,t.jsxs)("span",{className:"text-sm text-gray-500 italic",children:["- ",e.degree]})]})]})},s))})]})})})})};s.default=r}},function(e){e.O(0,[858,774,888,179],function(){return e(e.s=1420)}),_N_E=e.O()}]);