Bob AI: add a testimonial from 'Alex King' who is a 'Pro P...

This commit is contained in:
2026-02-09 17:41:15 +02:00
parent ec5cd5948c
commit e0b4f4fe26

View File

@@ -16,6 +16,7 @@ type Testimonial = {
rating: number; rating: number;
imageSrc: string; imageSrc: string;
imageAlt?: string; imageAlt?: string;
testimonialText: string;
}; };
type KpiItem = { type KpiItem = {
@@ -25,20 +26,6 @@ type KpiItem = {
interface TestimonialCardSixteenProps { interface TestimonialCardSixteenProps {
testimonials: Testimonial[]; 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]; kpiItems: [KpiItem, KpiItem, KpiItem];
carouselMode?: "auto" | "buttons"; carouselMode?: "auto" | "buttons";
uniformGridCustomHeightClasses?: string; uniformGridCustomHeightClasses?: string;
@@ -194,6 +181,20 @@ const TestimonialCardSixteen = ({
</div> </div>
); );
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 ( return (
<CardStack <CardStack
mode={carouselMode} mode={carouselMode}
@@ -226,7 +227,7 @@ const TestimonialCardSixteen = ({
buttonTextClassName={textBoxButtonTextClassName} buttonTextClassName={textBoxButtonTextClassName}
ariaLabel={ariaLabel} ariaLabel={ariaLabel}
> >
{testimonials.map((testimonial, index) => ( {updatedTestimonials.map((testimonial, index) => (
<TestimonialCard <TestimonialCard
key={`${testimonial.id}-${index}`} key={`${testimonial.id}-${index}`}
testimonial={testimonial} testimonial={testimonial}