import type { CSSProperties } from "react"; import NetField from "./NetField"; interface HeroProps { eyebrowText?: string; headline1?: string; subtext1?: string; subtext2?: string; cta1Text?: string; cta1Href?: string; cta2Text?: string; cta2Href?: string; bgImagePath?: string | null; badges?: string[]; } // Knoten im Netz: was wir tun, in Worten für Nicht-Techniker. x/y in Prozent des Hero. const netLabels = [ { text: "WLAN", x: 58, y: 22 }, { text: "Netzwerk", x: 75, y: 15 }, { text: "PC & Notebook", x: 84, y: 32 }, { text: "Eigene Cloud", x: 64, y: 42 }, { text: "Webseiten", x: 80, y: 52 }, { text: "Datensicherung", x: 58, y: 63 }, { text: "Fernzugriff", x: 86, y: 68 }, { text: "IT-Sicherheit", x: 71, y: 78 }, ]; export default function Hero({ headline1 = "Ihr IT-Service in Crailsheim.", subtext1 = "Ihr IT-Dienstleister in Crailsheim, egal ob zu Hause oder im Büro. Von Hard- & Software über Netzwerk & WLAN bis hin zu Webseiten & Webanwendungen: Wir lösen Ihre IT-Probleme persönlich und zum fairen Preis.", subtext2 = "", cta1Text = "Jetzt anfragen", cta1Href = "#contact", cta2Text = "Unsere Leistungen", cta2Href = "/services", bgImagePath = null, }: HeroProps = {}) { return (
{bgImagePath && (
{/* eslint-disable-next-line @next/next/no-img-element */}
)}

{headline1}

{subtext1 &&

{subtext1}

} {subtext2 &&

{subtext2}

}
{cta1Text} {cta2Text}
    {netLabels.map((l, i) => (
  • {l.text}
  • ))}
); }