diff --git a/src/pages/HomePage/sections/Services.tsx b/src/pages/HomePage/sections/Services.tsx index e4fa5da..9b88ac2 100644 --- a/src/pages/HomePage/sections/Services.tsx +++ b/src/pages/HomePage/sections/Services.tsx @@ -1,59 +1,142 @@ -// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this -// file as the canonical source for the "services" section. +/* eslint-disable */ +// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body +import type { LucideIcon } from "lucide-react"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import LoopCarousel from "@/components/ui/LoopCarousel"; +import Button from "@/components/ui/Button"; +import { useButtonClick } from "@/hooks/useButtonClick"; +import { resolveIcon } from "@/utils/resolve-icon"; -import React from 'react'; -import FeaturesMediaCarousel from '@/components/sections/features/FeaturesMediaCarousel'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +const items = [ + { + title: "Custom Web Design", + description: "Tailored, high-conversion visual design.", + buttonIcon: "ArrowRight", + imageSrc: "http://img.b2bpic.net/free-photo/light-prisms-colorful-effect_23-2148898178.jpg" + }, + { + title: "On-page SEO", + description: "Ready to rank from day one.", + buttonIcon: "ArrowRight", + imageSrc: "http://img.b2bpic.net/free-photo/empty-concrete-room-with-neon-lights_1048-12984.jpg" + }, + { + title: "Integrations", + description: "WhatsApp, Forms, and GMB setup.", + buttonIcon: "ArrowRight", + imageSrc: "http://img.b2bpic.net/free-photo/colorful-light-prisms-effect_23-2148898152.jpg" + }, + { + title: "Analytics", + description: "Google Analytics and traffic reporting.", + buttonIcon: "ArrowRight", + imageSrc: "http://img.b2bpic.net/free-photo/front-view-blue-white-bottle-designed-round-beautiful-white-wall_140725-11601.jpg" + }, + { + title: "Speed Optimization", + description: "Performance focused architecture.", + buttonIcon: "ArrowRight", + imageSrc: "http://img.b2bpic.net/free-photo/abstract-metallic-cube-shape_23-2150979663.jpg" + }, + { + title: "Ongoing Support", + description: "We ensure your site stays up.", + buttonIcon: "ArrowRight", + imageSrc: "http://img.b2bpic.net/free-photo/spiky-black-ferromagnetic-liquid-metal-with-copy-space_23-2148253673.jpg" + } +]; + +type FeatureItem = { + title: string; + description: string; + buttonIcon: string | LucideIcon; + buttonHref?: string; + buttonOnClick?: () => void; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +interface FeaturesMediaCarouselProps { + tag: string; + title: string; + description: string; + primaryButton?: { text: string; href: string }; + secondaryButton?: { text: string; href: string }; + items: FeatureItem[]; + textAnimation: "slide-up" | "fade-blur" | "fade"; +} + +const FeatureMediaCarouselCard = ({ item }: { item: FeatureItem }) => { + const handleClick = useButtonClick(item.buttonHref, item.buttonOnClick); + const Icon = resolveIcon(item.buttonIcon); -export default function ServicesSection(): React.JSX.Element { return ( -
- - - +
+ +
+
+

{item.title}

+

{item.description}

+
+ + +
+
+ ); +}; + +const ServicesInline = () => { + return ( +
+
+
+
+

{"WHAT WE BUILD"}

+
+ + + + + + {(undefined || undefined) && ( +
+ {undefined &&
+ )} +
+ + + {items.map((item) => ( + + ))} + +
+
+ ); +}; + +export default function ServicesSection() { + return ( +
+ +
); }