"use client";
import { m, LazyMotion, domAnimation } from "framer-motion";
import {
BarChart3,
CheckCircle2,
ChevronRight,
Shield,
Zap,
} from "lucide-react";
import Image from "next/image";
import Link from "next/link";
import { Button } from "./Button";
import { Counter } from "./Counter";
import { Reveal } from "./Reveal";
import { TechBackground } from "./TechBackground";
import { TileGrid } from "./TileGrid";
import { useTranslations } from "next-intl";
export default function Home() {
const t = useTranslations("Index");
const serviceJsonLd = {
"@context": "https://schema.org",
"@type": "Service",
name: t("portfolio.items.beratung.title"),
provider: {
"@type": "Organization",
name: "MB Grid Solutions & Services GmbH",
},
description: t("portfolio.description"),
areaServed: "Europe",
hasOfferCatalog: {
"@type": "OfferCatalog",
name: t("portfolio.title"),
itemListElement: [
{
"@type": "Offer",
itemOffered: {
"@type": "Service",
name: t("portfolio.items.beratung.title"),
},
},
{
"@type": "Offer",
itemOffered: {
"@type": "Service",
name: t("portfolio.items.begleitung.title"),
},
},
{
"@type": "Offer",
itemOffered: {
"@type": "Service",
name: t("portfolio.items.beschaffung.title"),
},
},
],
},
};
return (
{/* Hero Section */}
{t("hero.tag")}
{t("hero.title") ===
"Spezialisierter Partner für Energiekabelprojekte" ? (
<>
Spezialisierter Partner für{" "}
Energiekabelprojekte
>
) : (
t("hero.title")
)}
{t("hero.subtitle")}
{/* Portfolio Section */}
{t("portfolio.tag")}
{t("portfolio.title")}
{t("portfolio.description")}
{t("portfolio.link")}{" "}
{[
{
icon:
,
title: t("portfolio.items.beratung.title"),
desc: t("portfolio.items.beratung.desc"),
},
{
icon:
,
title: t("portfolio.items.begleitung.title"),
desc: t("portfolio.items.begleitung.desc"),
},
{
icon:
,
title: t("portfolio.items.beschaffung.title"),
desc: t("portfolio.items.beschaffung.desc"),
},
].map((item, i) => (
{item.icon}
{item.title}
{item.desc}
))}
{/* Expertise Section */}
{t("expertise.tag")}
{t("expertise.title")}
{t("expertise.description")}
{t.raw("expertise.groups").map((item: string, i: number) => (
))}
{/* Technical Specs Section */}
{/* Data Stream Effect */}
{t("specs.tag")}
{t("specs.title")}
{[
{
label: t("specs.items.kabel.label"),
value: t("specs.items.kabel.value"),
desc: t("specs.items.kabel.desc"),
},
{
label: t("specs.items.spannung.label"),
value: t("specs.items.spannung.value"),
desc: t("specs.items.spannung.desc"),
},
{
label: t("specs.items.technologie.label"),
value: t("specs.items.technologie.value"),
desc: t("specs.items.technologie.desc"),
},
].map((item, i) => (
{item.label}
{item.value}
{item.desc}
))}
{/* CTA Section */}
{/* Decorative Background Elements */}
{/* Corner Accents */}
{t("cta.title")}
{t("cta.subtitle")}
);
}