From f4bc14b49f2965a7620db7ebf6474e5bd94c446f Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 14 Jun 2026 03:53:45 +0000 Subject: [PATCH] Bob AI: Added verified badge to testimonial cards --- src/pages/HomePage/sections/Testimonials.tsx | 150 +++++++++++++++++-- 1 file changed, 140 insertions(+), 10 deletions(-) diff --git a/src/pages/HomePage/sections/Testimonials.tsx b/src/pages/HomePage/sections/Testimonials.tsx index 0a87f10..a0030c6 100644 --- a/src/pages/HomePage/sections/Testimonials.tsx +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -1,17 +1,147 @@ -// Created by add_section_from_catalog (TestimonialMarqueeCards). +/* 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"; +import { BadgeCheck } from "lucide-react"; -import React from 'react'; -import TestimonialMarqueeCards from '@/components/sections/testimonial/TestimonialMarqueeCards'; +const testimonials = [ + { + imageSrc: "http://img.b2bpic.net/free-photo/woman-sitting-couch_23-2148751504.jpg", + quote: "The design team turned my outdated flat into a modern masterpiece. Truly exceptional quality.", + role: "Salamanca Resident", + name: "Elena R." + }, + { + imageSrc: "http://img.b2bpic.net/free-photo/overhead-view-young-couple-with-their-baby-sitting-cardboard-boxes-their-new-home_23-2148060078.jpg", + quote: "They captured our vision perfectly. The attention to detail is unmatched in Madrid.", + role: "Villa Owner", + name: "Carlos M." + }, + { + imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-woman-bathrobe-indoors_1153-8058.jpg", + quote: "A seamless process from concept to completion. I couldn't be happier with the results.", + name: "Sofia G.", + role: "Art Collector" + }, + { + imageSrc: "http://img.b2bpic.net/free-photo/lovely-woman-drawing-looking-camera_23-2147770011.jpg", + quote: "Their eye for texture and balance is superb. Highly recommended for any interior project.", + role: "Architect", + name: "Diego V." + }, + { + imageSrc: "http://img.b2bpic.net/free-photo/colleagues-smiling-speaking-discussing-new-ideas_176420-1665.jpg", + quote: "Simply wonderful to work with. They made the renovation process stress-free and exciting.", + role: "Business Owner", + name: "Isabel P." + } +]; -export default function TestimonialsSection(): React.JSX.Element { +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); + + return ( +
+
+
+
+

{"Client Stories"}

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

{testimonial.quote}

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

{testimonial.quote}

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