Bob AI: add a testimonial from 'Alex King' who is a 'Pro P...
This commit is contained in:
@@ -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 = ({
|
||||
</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 (
|
||||
<CardStack
|
||||
mode={carouselMode}
|
||||
@@ -226,7 +227,7 @@ const TestimonialCardSixteen = ({
|
||||
buttonTextClassName={textBoxButtonTextClassName}
|
||||
ariaLabel={ariaLabel}
|
||||
>
|
||||
{testimonials.map((testimonial, index) => (
|
||||
{updatedTestimonials.map((testimonial, index) => (
|
||||
<TestimonialCard
|
||||
key={`${testimonial.id}-${index}`}
|
||||
testimonial={testimonial}
|
||||
|
||||
Reference in New Issue
Block a user