From d4143f993dfe76e1bd1531e42e92c320d46be0e3 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 18 Jun 2026 17:41:42 +0000 Subject: [PATCH] Switch to version 43: modified src/pages/HomePage/sections/Testimonials.tsx --- src/pages/HomePage/sections/Testimonials.tsx | 171 +++++-------------- 1 file changed, 46 insertions(+), 125 deletions(-) diff --git a/src/pages/HomePage/sections/Testimonials.tsx b/src/pages/HomePage/sections/Testimonials.tsx index 235bcb7..2a9bd20 100644 --- a/src/pages/HomePage/sections/Testimonials.tsx +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -1,131 +1,52 @@ -/* eslint-disable */ -// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body -import Button from "@/components/ui/Button"; -import TextAnimation from "@/components/ui/TextAnimation"; -import ImageOrVideo from "@/components/ui/ImageOrVideo"; -import ScrollReveal from "@/components/ui/ScrollReveal"; +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "testimonials" section. -const testimonials = [ - { - name: "UCC", - role: "CEO", - quote: "Yusupov Agency completely transformed our brand visibility.", - }, - { - name: "OldShahar", - role: "CEO", - quote: "Incredible creative energy and professional execution.", - }, - { - name: "UCC", - role: "CEO", - quote: "Best design partner we have ever collaborated with.", - }, - { - name: "OldShahar", - role: "CEO", - quote: "Their work ethic is unparalleled in Central Asia.", - }, - { - name: "UCC", - role: "CEO", - quote: "The electric blue design language is now our signature.", - } -]; - -type Testimonial = { - name: string; - role: string; - quote: string; -} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); - -const TestimonialsInline = () => { - const half = Math.ceil(testimonials.length / 2); - const topRow = testimonials.slice(0, half); - const bottomRow = testimonials.slice(half); +import React from 'react'; +import TestimonialMarqueeCards from '@/components/sections/testimonial/TestimonialMarqueeCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +export default function TestimonialsSection(): React.JSX.Element { return ( -
-
-
-
-

{"Client Success"}

-
- - - - - - {(undefined || undefined) && ( -
- {undefined &&
- )} -
- - -
-
- {[...topRow, ...topRow, ...topRow, ...topRow].map((testimonial, index) => ( -
-

{testimonial.quote}

- -
-
- {testimonial.name.charAt(0)} -
-
- {testimonial.name} - {testimonial.role} -
-
-
- ))} -
-
- -
-
- {[...bottomRow, ...bottomRow, ...bottomRow, ...bottomRow].map((testimonial, index) => ( -
-

{testimonial.quote}

- -
-
- {testimonial.name.charAt(0)} -
-
- {testimonial.name} - {testimonial.role} -
-
-
- ))} -
-
-
+
+ + +
-
- ); -}; - -export default function TestimonialsSection() { - return ( -
- -
); }