From 598978467c8fa25501c5085cbc3df70ddf2886c2 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Fri, 3 Jul 2026 14:40:13 +0000 Subject: [PATCH] Bob AI: Added specific metrics and results to testimonials --- src/pages/HomePage/sections/Testimonials.tsx | 195 ++++++++++++++----- 1 file changed, 143 insertions(+), 52 deletions(-) diff --git a/src/pages/HomePage/sections/Testimonials.tsx b/src/pages/HomePage/sections/Testimonials.tsx index 25b7221..c0722ab 100644 --- a/src/pages/HomePage/sections/Testimonials.tsx +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -1,58 +1,149 @@ -// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this -// file as the canonical source for the "testimonials" section. +/* eslint-disable */ +// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body +import { Star } from "lucide-react"; +import { cls } from "@/lib/utils"; +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 React from 'react'; -import TestimonialMarqueeOverlayCards from '@/components/sections/testimonial/TestimonialMarqueeOverlayCards'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +const testimonials = [ + { + name: "Claire Miller", + role: "Food Blogger", + company: "EatLocal", + rating: 5, + result: "Featured their sourdough in a post that drove 10k+ new readers.", + imageSrc: "https://picsum.photos/seed/1052007197/1200/800" + }, + { + name: "John Doe", + role: "Local Resident", + company: "Neighbor", + rating: 5, + result: "Subscribed for 2 years straight, saving 15% on weekly artisan loaves.", + imageSrc: "https://picsum.photos/seed/1232930319/1200/800" + }, + { + name: "Sarah Smith", + role: "Chef", + company: "Bistro", + rating: 5, + result: "Boosted our lunch sandwich sales by 30% after switching to their bread.", + imageSrc: "https://picsum.photos/seed/274719499/1200/800" + }, + { + name: "Mike Ross", + role: "Teacher", + company: "Public School", + rating: 5, + result: "Ordered 50+ loaves for our school fundraiser, raising over $500.", + imageSrc: "https://picsum.photos/seed/1477195051/1200/800" + }, + { + name: "Jane Wilson", + role: "Designer", + company: "Studio", + rating: 5, + result: "Their reliable catering delivery has flawlessly served 12 of our client events.", + imageSrc: "https://picsum.photos/seed/681714153/1200/800" + } +]; + +type Testimonial = { + name: string; + role: string; + company: string; + rating: number; + result?: string; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +const TestimonialsInline = () => { + const duplicated = [...testimonials, ...testimonials, ...testimonials, ...testimonials]; -export default function TestimonialsSection(): React.JSX.Element { return ( -
- - - +
+
+
+
+

{"Testimonials"}

+
+ + + + + + {(undefined || undefined) && ( +
+ {undefined &&
+ )} +
+ + +
+
+ {duplicated.map((testimonial, i) => ( +
+ + +
+
+ {Array.from({ length: 5 }).map((_, index) => ( + + ))} +
+ + {testimonial.name} + +
+ {testimonial.role} + {testimonial.company} +
+ {testimonial.result && ( +

+ "{testimonial.result}" +

+ )} +
+
+ ))} +
+
+
+
+ ); +}; + +export default function TestimonialsSection() { + return ( +
+ +
); }