diff --git a/src/components/sections/testimonial/TestimonialCardSixteen.tsx b/src/components/sections/testimonial/TestimonialCardSixteen.tsx index 3230fd0..5087332 100644 --- a/src/components/sections/testimonial/TestimonialCardSixteen.tsx +++ b/src/components/sections/testimonial/TestimonialCardSixteen.tsx @@ -16,6 +16,7 @@ type Testimonial = { rating: number; imageSrc: string; imageAlt?: string; + testimonialText: string; }; type KpiItem = { @@ -25,20 +26,6 @@ type KpiItem = { interface TestimonialCardSixteenProps { testimonials: Testimonial[]; - // New testimonial from Alex King -testimonials: [ - ...testimonials, - { - id: "6", - name: "Alex King", - role: "Pro Player", - company: "Champions League", - rating: 5, - imageSrc: "/images/alex-king.jpg", - imageAlt: "Alex King", - testimonialText: "Gaming is not just about winning; it's about the journey. This platform makes every game feel special.", - }, -]; kpiItems: [KpiItem, KpiItem, KpiItem]; carouselMode?: "auto" | "buttons"; uniformGridCustomHeightClasses?: string; @@ -194,6 +181,20 @@ const TestimonialCardSixteen = ({ ); + const updatedTestimonials = [ + ...testimonials, + { + id: "6", + name: "Alex King", + role: "Pro Player", + company: "Champions League", + rating: 5, + imageSrc: "/images/alex-king.jpg", + imageAlt: "Alex King", + testimonialText: "Gaming is not just about winning; it's about the journey. This platform makes every game feel special.", + }, + ]; + return ( - {testimonials.map((testimonial, index) => ( + {updatedTestimonials.map((testimonial, index) => (