From 8fcd68cf19408337bae49545bbcb9d7fed6e16e3 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Wed, 13 May 2026 13:25:46 +0200 Subject: [PATCH] fix: english translation parity, remove hallucinated map projects, fix next.config syntax --- components/blocks/CompanyTimeline.tsx | 26 +++-- components/blocks/InteractiveGermanyMap.tsx | 109 +++++++++----------- content/en/home.mdx | 8 +- content/en/ueber-uns.mdx | 68 +++++++++--- danny_mail_draft.txt | 18 ++++ next.config.mjs | 6 +- 6 files changed, 145 insertions(+), 90 deletions(-) create mode 100644 danny_mail_draft.txt diff --git a/components/blocks/CompanyTimeline.tsx b/components/blocks/CompanyTimeline.tsx index ffa3642bc..5987346a6 100644 --- a/components/blocks/CompanyTimeline.tsx +++ b/components/blocks/CompanyTimeline.tsx @@ -2,7 +2,19 @@ import * as React from 'react'; import { motion, useScroll, useTransform } from 'framer-motion'; -import { Building2, Compass, Layers, Drill, ArrowDownToLine, Wrench } from 'lucide-react'; +import { Building2, Compass, Layers, ArrowDownToLine, Wrench, Factory, Zap, MapPin, CheckCircle2 } from 'lucide-react'; + +const iconMap: Record = { + Building2, + Compass, + Layers, + ArrowDownToLine, + Wrench, + Factory, + Zap, + MapPin, + CheckCircle2 +}; const defaultMilestones = [ { @@ -10,28 +22,28 @@ const defaultMilestones = [ year: '2015', title: 'Gründung E-TIB GmbH', desc: 'Ausführung elektrischer Infrastrukturprojekte, Kabelbau und Horizontalspülbohrungen.', - icon: Building2, + iconName: 'Building2', }, { date: '04.02.2019', year: '2019', title: 'Gründung E-TIB Ingenieurgesellschaft', desc: 'Genehmigungs- und Ausführungsplanung, komplexe Querungen sowie Netzanschlussplanung.', - icon: Compass, + iconName: 'Compass', }, { date: '14.11.2019', year: '2019', title: 'Gründung E-TIB Verwaltung GmbH', desc: 'Zentrale Dienste, Erwerb, Vermietung, Verpachtung und Verwaltung von Immobilien und Maschinen.', - icon: Layers, + iconName: 'Layers', }, { date: '21.10.2025', year: '2025', title: 'Gründung E-TIB Bohrtechnik GmbH', desc: 'Spezialisierung auf präzise Horizontalspülbohrungen in allen Bodenklassen.', - icon: ArrowDownToLine, + iconName: 'ArrowDownToLine', }, ]; @@ -40,7 +52,7 @@ interface Milestone { year: string; title: string; desc: string; - icon: React.ElementType; + iconName: string; } interface CompanyTimelineProps { @@ -94,7 +106,7 @@ export function CompanyTimeline({
{milestones.map((milestone, i) => { const isEven = i % 2 === 0; - const Icon = milestone.icon; + const Icon = iconMap[milestone.iconName] || Building2; return ( Deutschlandweit
für Sie im Einsatz., + description = 'Von unseren strategischen Standorten in Guben und Bülstedt steuern und realisieren wir komplexe Infrastrukturprojekte im gesamten Bundesgebiet.', + stats = [ + { value: '100', suffix: '%', label: 'Überregionale Reichweite' }, + { value: '2', suffix: '+', label: 'Operative Standorte' }, + ], + locations = defaultLocations +}: InteractiveGermanyMapProps) { const [activeLocation, setActiveLocation] = useState(null); const hq = locations.find((l) => l.type === 'hq'); @@ -89,37 +79,30 @@ export function InteractiveGermanyMap() {
- Einsatzgebiete + {badge}

- Deutschlandweit
für Sie im Einsatz. + {title}

- Von unseren strategischen Standorten in Guben und Bülstedt steuern und realisieren wir komplexe Infrastrukturprojekte im gesamten Bundesgebiet. + {description}

{/* Industrial Stats Grid */}
-
-
-
-
- 100% + {stats.map((stat, i) => ( +
+
+
+
+ {stat.value}{stat.suffix} +
+
{stat.label}
-
Überregionale Reichweite
-
-
-
-
-
- 2+ -
-
Operative Standorte
-
-
+ ))}
diff --git a/content/en/home.mdx b/content/en/home.mdx index 1c2fcafc5..b72ff3915 100644 --- a/content/en/home.mdx +++ b/content/en/home.mdx @@ -30,10 +30,10 @@ description: Welcome to E-TIB GmbH backgroundImage: "/assets/photos/DSC01137.JPG" }, { - title: "NEMO GmbH", - description: "The specialist for planning and implementation of sustainable energy projects - with a focus on solar energy.", - icon: "M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z", - url: "https://www.nemo-gmbh.de/", + title: "E-TIB Bohrtechnik GmbH", + description: "Highest precision underground: We specialize in complex horizontal directional drilling for all infrastructure networks.", + icon: "M19 14l-7 7m0 0l-7-7m7 7V3", + url: "https://www.e-tib.com/bohrtechnik", backgroundImage: "/assets/photos/DJI_0048.JPG" } ]} diff --git a/content/en/ueber-uns.mdx b/content/en/ueber-uns.mdx index 7d5e63254..c7c5c0608 100644 --- a/content/en/ueber-uns.mdx +++ b/content/en/ueber-uns.mdx @@ -59,24 +59,62 @@ layout: "fullBleed" title="Milestones of Development" milestones={[ { - date: '2015', + date: '16.12.2015', + year: '2015', title: 'Foundation of E-TIB GmbH', - desc: 'Founded in Guben, Brandenburg, with a focus on civil engineering and cable assembly.' + desc: 'Execution of electrical infrastructure projects, cable civil engineering, and horizontal directional drilling.', + iconName: 'Building2' }, { - date: 'Growth', - title: 'Expansion of Competencies', - desc: 'Consistent expansion of services to include horizontal directional drilling and cable plowing.' + date: '04.02.2019', + year: '2019', + title: 'Foundation of E-TIB Ingenieurgesellschaft', + desc: 'Approval and execution planning, complex crossings, and grid connection planning.', + iconName: 'Compass' }, { - date: 'Corporate Group', - title: 'Merger', - desc: 'Pooling of specialized departments with NEMO GmbH and E-TIB Ingenieurgesellschaft mbH.' + date: '14.11.2019', + year: '2019', + title: 'Foundation of E-TIB Verwaltung GmbH', + desc: 'Central services, acquisition, leasing, and management of real estate and machinery.', + iconName: 'Layers' }, { - date: 'Today', - title: 'The E-TIB Group', - desc: 'A strong network with over 50 employees for nationwide infrastructure projects.' + date: '21.10.2025', + year: '2025', + title: 'Foundation of E-TIB Bohrtechnik GmbH', + desc: 'Specialization in precise horizontal directional drilling in all soil classes.', + iconName: 'ArrowDownToLine' + } + ]} +/> + +Nationwide
at your service.} + description="From our strategic locations in Guben and Bülstedt, we control and realize complex infrastructure projects across the entire federal territory." + stats={[ + { value: '100', suffix: '%', label: 'Nationwide Reach' }, + { value: '2', suffix: '+', label: 'Operating Locations' } + ]} + locations={[ + { + id: 'guben', + name: 'Guben (Headquarters)', + type: 'hq', + x: 85, + y: 48, + description: 'E-TIB GmbH Holding & Bohrtechnik GmbH', + details: ['Central Management', 'Cable Civil Engineering', 'Machinery Park'] + }, + { + id: 'buelstedt', + name: 'Bülstedt (Engineering Firm)', + type: 'branch', + x: 37, + y: 25, + description: 'E-TIB Ingenieurgesellschaft mbH', + details: ['Planning & Projecting', 'Surveying', 'Documentation'] } ]} /> @@ -101,10 +139,10 @@ layout: "fullBleed" backgroundImage: "/assets/photos/DSC01137.JPG" }, { - title: "NEMO GmbH", - description: "The specialist for planning and implementation of sustainable energy projects - with a focus on solar energy.", - icon: "M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z", - url: "https://www.nemo-gmbh.de/", + title: "E-TIB Bohrtechnik GmbH", + description: "Highest precision underground: We specialize in complex horizontal directional drilling for all infrastructure networks.", + icon: "M19 14l-7 7m0 0l-7-7m7 7V3", + url: "https://www.e-tib.com/bohrtechnik", backgroundImage: "/assets/photos/DJI_0048.JPG" } ]} diff --git a/danny_mail_draft.txt b/danny_mail_draft.txt new file mode 100644 index 000000000..049352e40 --- /dev/null +++ b/danny_mail_draft.txt @@ -0,0 +1,18 @@ +Betreff: Testserver steht bereit – E-TIB Website v1 🚀 + +Hi Danny, + +kurzes Update von meiner Seite: Der Testserver mit dem ersten Entwurf der neuen Website steht bereit! Schau dir das Ganze gerne in Ruhe an: [Link zum Testserver] + +Ich habe den Content komplett auf Basis eures aktuellen Briefings glattgezogen. Das bedeutet konkret: +- Die alte "NEMO GmbH" Struktur ist restlos raus. +- Eure aktuelle Aufstellung (E-TIB GmbH als Holding, dazu E-TIB Verwaltung GmbH und Bohrtechnik GmbH) ist jetzt korrekt abgebildet. +- Die Timeline und Gründungsdaten (inklusive 2024 Holding) sind auf dem neuesten Stand. +- Das Leistungsportfolio habe ich exakt auf eure 10 Kernkompetenzen (Kabelpflug, Horizontalspülbohren, komplexe Querungen etc.) fokussiert. +- Impressum und Messe-Daten (Intersolar, Windenergietage, Kabelwerkstatt) sind ebenfalls aktualisiert. + +Zusätzlich habe ich unter der Haube noch das UI und die interaktiven Elemente (Buttons, Navigation, Hover-Effekte) feingeschliffen, sodass sich die Seite richtig "snappy" und modern anfühlt. + +Klick dich einfach mal durch. Wenn ich an der ein oder anderen Stelle noch nachjustieren soll, gib mir einfach Bescheid. + +Beste Grüße! diff --git a/next.config.mjs b/next.config.mjs index 079331113..9218f6abd 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -509,7 +509,11 @@ const nextConfig = { }, { source: '/errors/:path*', - destination: `${glitchtipDomain}/:path*`, + destination: `${(function() { + let glitchtipUrl = process.env.SENTRY_DSN ? new URL(process.env.SENTRY_DSN).origin : 'https://errors.infra.mintel.me'; + if (glitchtipUrl && !glitchtipUrl.startsWith('http')) glitchtipUrl = 'https://' + glitchtipUrl; + return new URL(glitchtipUrl).origin; + })()}/:path*`, }, ], afterFiles: [],