From 2cbe919deb59f22e38309ee80692845889cc8817 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Thu, 2 Jul 2026 00:02:04 +0000 Subject: [PATCH] Bob AI: Update Guarantee section to match v2 design specs --- src/pages/HomePage/sections/Guarantee.tsx | 142 ++++++++++++++++------ 1 file changed, 108 insertions(+), 34 deletions(-) diff --git a/src/pages/HomePage/sections/Guarantee.tsx b/src/pages/HomePage/sections/Guarantee.tsx index ed5f0a4..ccb798f 100644 --- a/src/pages/HomePage/sections/Guarantee.tsx +++ b/src/pages/HomePage/sections/Guarantee.tsx @@ -1,40 +1,114 @@ -// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this -// file as the canonical source for the "guarantee" section. +/* eslint-disable */ +// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body +import { Zap, TrendingUp, ShieldCheck } from 'lucide-react'; +import type { LucideIcon } from "lucide-react"; +import Button from "@/components/ui/Button"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import { resolveIcon } from "@/utils/resolve-icon"; +import { useEffect, useRef } from 'react'; +import { gsap } from 'gsap'; +import { ScrollTrigger } from 'gsap/ScrollTrigger'; -import React from 'react'; -import AboutFeaturesSplit from '@/components/sections/about/AboutFeaturesSplit'; -import { ShieldCheck, TrendingUp, Zap } from "lucide-react"; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +gsap.registerPlugin(ScrollTrigger); -export default function GuaranteeSection(): React.JSX.Element { +const items = [ + { + icon: Zap, + title: "SPEED", + description: "Guaranteed delivery in 7 business days." + }, + { + icon: TrendingUp, + title: "RESULTS", + description: "Design that converts visitors into clients." + }, + { + icon: ShieldCheck, + title: "SUPPORT", + description: "Real support — not a ticket queue." + } +]; + +type AboutFeaturesSplitProps = { + tag: string; + title: string; + description: string; + primaryButton?: { text: string; href: string }; + secondaryButton?: { text: string; href: string }; + items: { icon: string | LucideIcon; title: string; description: string }[]; + textAnimation: "slide-up" | "fade-blur" | "fade"; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +const GuaranteeInline = () => { return ( -
- - - +
+
+
+
+

{"OUR PROMISE"}

+
+ + + + + + {(undefined || undefined) && ( +
+ {undefined &&
+ )} +
+ +
+
+ {items.map((item, index) => { + const ItemIcon = resolveIcon(item.icon); + return ( +
+
+
+ +
+

{item.title}

+

{item.description}

+
+ {index < items.length - 1 && ( +
+ )} +
+ ); + })} +
+ +
+
+ +
+
+
+
+ ); +}; + +export default function GuaranteeSection() { + return ( +
+ +
); }