Merge version_13_1782158701248 into main #15

Merged
bender merged 1 commits from version_13_1782158701248 into main 2026-06-22 20:06:46 +00:00

View File

@@ -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 (
<div id="services" data-section="services">
<SectionErrorBoundary name="services">
<FeaturesImageBento
tag="Unsere Leistungen"
title="Umfassender technischer Service"
description="Vom Smart Home bis zum Geschäftssupport wir decken alles ab."
items={[
{
title: "Vor-Ort-Service",
description: "Wir kommen direkt zu Ihnen schnell, zuverlässig und fachgerecht.",
imageSrc: "https://images.pexels.com/photos/6181057/pexels-photo-6181057.jpeg?auto=compress&cs=tinysrgb&h=650&w=940&id=6181057",
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",
},
]}
/>
</SectionErrorBoundary>
<section aria-label="Features image bento section" className="py-20">
<div className="flex flex-col gap-8 md:gap-10">
<div className="flex flex-col items-center w-content-width mx-auto gap-2">
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
<p>{"Unsere Leistungen"}</p>
</div>
<TextAnimation
text={"Umfassender technischer Service"}
variant="slide-up"
gradientText={true}
tag="h2"
className="md:max-w-8/10 text-6xl 2xl:text-7xl leading-[1.15] font-semibold text-center text-balance"
/>
<TextAnimation
text={"Vom Smart Home bis zum Geschäftssupport wir decken alles ab."}
variant="slide-up"
gradientText={false}
tag="p"
className="md:max-w-7/10 text-lg md:text-xl leading-snug text-center text-balance"
/>
{(undefined || undefined) && (
<div className="flex flex-wrap justify-center gap-3 mt-2 md:mt-3">
{undefined && <Button text={undefined.text} href={undefined.href} variant="primary"/>}
{undefined && <Button text={undefined.text} href={undefined.href} variant="secondary" animationDelay={0.1} />}
</div>
)}
</div>
<div className="w-content-width mx-auto grid grid-cols-1 md:grid-cols-6 gap-3">
{items.map((item, index) => {
const content = (
<div className="relative h-80 xl:h-100 2xl:h-120 overflow-hidden">
<ImageOrVideo
imageSrc={item.imageSrc}
videoSrc={item.videoSrc}
className="rounded group-hover:scale-105 transition-transform duration-500"
/>
<div className="absolute inset-x-5 bottom-5 xl:inset-x-6 xl:bottom-6 2xl:inset-x-7 2xl:bottom-7 flex flex-col text-background">
<div className="flex items-baseline gap-2 truncate">
<span className="text-2xl font-semibold leading-snug truncate">{item.title}</span>
{item.href && (
<span className="text-sm text-accent whitespace-nowrap">Mehr erfahren </span>
)}
</div>
<span className="text-base leading-snug truncate">{item.description}</span>
</div>
</div>
);
return (
<ScrollReveal key={index} variant="fade-blur" delay={staggerDelays[index]} className={cls("col-span-1 group", gridClasses[index])}>
{item.href ? (
<a href={item.href} className="block overflow-hidden rounded">
{content}
</a>
) : (
<div className="overflow-hidden rounded">
{content}
</div>
)}
</ScrollReveal>
);
})}
</div>
</div>
</section>
);
};
export default function ServicesSection() {
return (
<div data-webild-section="services" id="services">
<ServicesInline />
</div>
);
}