From 184ed2b45b42cac940d3372cdb5bc6df7440afb0 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 22 Jun 2026 20:06:03 +0000 Subject: [PATCH] Bob AI: Add 'Mehr erfahren' link text to clickable service cards --- src/pages/HomePage/sections/Services.tsx | 220 +++++++++++++++++------ 1 file changed, 163 insertions(+), 57 deletions(-) diff --git a/src/pages/HomePage/sections/Services.tsx b/src/pages/HomePage/sections/Services.tsx index 0f21225..d7d2df2 100644 --- a/src/pages/HomePage/sections/Services.tsx +++ b/src/pages/HomePage/sections/Services.tsx @@ -1,63 +1,169 @@ -// 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 Button from "@/components/ui/Button"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import { cls } from "@/lib/utils"; -import React from 'react'; -import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +const items = [ + { + title: "Vor-Ort-Service", + description: "Wir kommen direkt zu Ihnen – schnell, zuverlässig und fachgerecht.", + imageSrc: "https://picsum.photos/seed/1471687373/1200/800", + href: "/vor-ort-service" + }, + { + title: "Smart Home Lösungen", + description: "Integration von Beleuchtung, Sicherheit und Thermostaten.", + imageSrc: "http://img.b2bpic.net/free-photo/smart-application-tablet-placed-kitchen-desk-empty-house-automation-system-turning-l_482257-2747.jpg" + }, + { + title: "Technische Installation", + description: "Geräte, Router, Kameras und Netzwerkkonfiguration.", + imageSrc: "http://img.b2bpic.net/free-photo/white-usb-charging-gadgets-blurred-background-room-closeup_169016-15158.jpg" + }, + { + title: "Reparatur & Wartung", + description: "Fehlersuche, Wartung und Geräteaustausch.", + imageSrc: "http://img.b2bpic.net/free-photo/top-view-different-types-pliers_23-2148428260.jpg" + }, + { + title: "Gebäudeservice", + description: "Wartungen, Rauchmelder und technische Inspektionen.", + imageSrc: "http://img.b2bpic.net/free-photo/photovoltaics-factory-manager-chatting-with-engineer-about-energy-production_482257-118280.jpg" + }, + { + title: "Geschäftssupport", + description: "Büro-Support und Netzwerkkonfiguration für Firmen.", + imageSrc: "http://img.b2bpic.net/free-photo/data-center-programmers-doing-brainstorming-setting-up-machine-learning-systems_482257-126248.jpg" + }, + { + title: "Smart Security", + description: "Sicherheits- und Sensor-Konfiguration.", + imageSrc: "http://img.b2bpic.net/free-photo/smart-home-thermostat-control_23-2152024168.jpg" + }, + { + title: "Vernetzung", + description: "Optimales WLAN-Setup und Smart-Home-Setup.", + imageSrc: "http://img.b2bpic.net/free-photo/woman-crouched-near-special-cabinet-with-wires_259150-60335.jpg" + } +]; + +type FeatureItem = { + title: string; + description: string; + href?: string; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +interface FeaturesImageBentoProps { + tag: string; + title: string; + description: string; + primaryButton?: { text: string; href: string }; + secondaryButton?: { text: string; href: string }; + items: [FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem]; +} + +const ServicesInline = () => { + const gridClasses = [ + "md:col-span-2", + "md:col-span-4", + "md:col-span-3", + "md:col-span-3", + "md:col-span-2", + "md:col-span-2", + "md:col-span-2", + ]; + + const staggerDelays = [ + 0, + 0.1, + 0, + 0.1, + 0, + 0.1, + 0.2, + ]; -export default function ServicesSection(): React.JSX.Element { return ( -
- - - +
+
+
+
+

{"Unsere Leistungen"}

+
+ + + + + + {(undefined || undefined) && ( +
+ {undefined &&
+ )} +
+ +
+ {items.map((item, index) => { + const content = ( +
+ + +
+
+ {item.title} + {item.href && ( + Mehr erfahren → + )} +
+ {item.description} +
+
+ ); + + return ( + + {item.href ? ( + + {content} + + ) : ( +
+ {content} +
+ )} +
+ ); + })} +
+
+ ); +}; + +export default function ServicesSection() { + return ( +
+ +
); } -- 2.49.1