From fa7182d3515fb6e2231355ac7b20bba74534ffdc Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Tue, 16 Jun 2026 11:43:26 +0200 Subject: [PATCH] fix: address remaining UI and content feedback from Marisa --- app/[locale]/referenzen/page.tsx | 5 ++++ components/blocks/InteractiveGermanyMap.tsx | 8 ++++-- components/blocks/ReferencesSlider.tsx | 1 + content/de/ueber-uns.mdx | 31 +++++++++++++++------ content/en/ueber-uns.mdx | 19 +++++++++++-- lib/map-data.ts | 8 +++--- 6 files changed, 54 insertions(+), 18 deletions(-) diff --git a/app/[locale]/referenzen/page.tsx b/app/[locale]/referenzen/page.tsx index 61daf29c5..5748c867f 100644 --- a/app/[locale]/referenzen/page.tsx +++ b/app/[locale]/referenzen/page.tsx @@ -79,6 +79,11 @@ export default async function ReferenzenOverview(props: { params: Promise<{ loca title={locale === 'en' ? 'Successfully realized projects.' : 'Erfolgreich umgesetzte Projekte.'} description={locale === 'en' ? 'From broadband expansion to complex 110kV lines: A selection of our nationwide projects where we have created infrastructure for the future.' : 'Vom Breitbandausbau bis zur komplexen 110kV-Trasse: Ein Auszug unserer bundesweiten Projekte, bei denen wir Infrastruktur für die Zukunft geschaffen haben.'} locations={enrichedLocations} + hideStandorte={true} + stats={[ + { value: '100', suffix: '%', label: locale === 'en' ? 'Nationwide Reach' : 'Überregionale Reichweite' }, + { value: enrichedLocations.length.toString(), suffix: '+', label: locale === 'en' ? 'Completed Projects' : 'Abgeschlossene Projekte' } + ]} /> {/* Main Content Area */} diff --git a/components/blocks/InteractiveGermanyMap.tsx b/components/blocks/InteractiveGermanyMap.tsx index 4b926b842..db06385eb 100644 --- a/components/blocks/InteractiveGermanyMap.tsx +++ b/components/blocks/InteractiveGermanyMap.tsx @@ -25,6 +25,7 @@ interface InteractiveGermanyMapProps { stats?: Stat[]; locations?: Location[]; isHero?: boolean; + hideStandorte?: boolean; } export function InteractiveGermanyMap({ @@ -33,7 +34,8 @@ export function InteractiveGermanyMap({ description, stats, locations = projectLocations, - isHero = false + isHero = false, + hideStandorte = false }: InteractiveGermanyMapProps) { const [activeLocation, setActiveLocation] = useState(null); const router = useRouter(); @@ -53,6 +55,8 @@ export function InteractiveGermanyMap({ const finalDescription = description || (locale === 'en' ? 'From our strategic locations in Guben, Kirchheilingen and Bülstedt, we control and implement complex infrastructure projects nationwide.' : 'Von unseren strategischen Standorten in Guben, Kirchheilingen und Bülstedt steuern und realisieren wir komplexe Infrastrukturprojekte im gesamten Bundesgebiet.'); const finalLocations = React.useMemo(() => { + if (hideStandorte) return locations; + // Ensure the 3 standorte are always included, without duplicating if already present by ID const base = [...locations]; standorteLocations.forEach(sl => { @@ -61,7 +65,7 @@ export function InteractiveGermanyMap({ } }); return base; - }, [locations]); + }, [locations, hideStandorte]); return (
diff --git a/components/blocks/ReferencesSlider.tsx b/components/blocks/ReferencesSlider.tsx index 236e08eeb..675751263 100644 --- a/components/blocks/ReferencesSlider.tsx +++ b/components/blocks/ReferencesSlider.tsx @@ -138,6 +138,7 @@ export function ReferencesSlider(props: ReferencesSliderProps) { if (dragDistanceRef.current > 15) { e.preventDefault(); } + dragDistanceRef.current = 0; }} className="block relative select-none aspect-[16/10] bg-neutral-800 rounded-2xl overflow-hidden mb-5 border border-white/5 shadow-2xl" > diff --git a/content/de/ueber-uns.mdx b/content/de/ueber-uns.mdx index 33eb3d977..52d8baffc 100644 --- a/content/de/ueber-uns.mdx +++ b/content/de/ueber-uns.mdx @@ -27,7 +27,7 @@ layout: "fullBleed" Seit unserer Gründung im Jahr 2015 in Guben haben wir es uns zur Aufgabe gemacht, den Ausbau der kritischen Infrastruktur in Deutschland aktiv mitzugestalten.
- Mit 100+ engagierten Mitarbeitenden und einem hochmodernen Maschinenpark meistern wir selbst anspruchsvollste Projekte im Kabelnetzbau, der Spülbohrtechnik und der Netzmontage. Verlässlichkeit, Termintreue und höchste Qualitätsstandards sind dabei unser Fundament. + Mit über 100 Experten für Ihr Projekt (darunter Spezialisten der E-TIB GmbH, E-TIB Bohrtechnik und E-TIB Ingenieurgesellschaft) und einem hochmodernen Maschinenpark meistern wir selbst anspruchsvollste Projekte im Kabelnetzbau, der Spülbohrtechnik und der Netzmontage. Verlässlichkeit, Termintreue und höchste Qualitätsstandards sind dabei unser Fundament.
@@ -52,7 +52,20 @@ layout: "fullBleed"
- +
+
+
+
+
+ Bundesweite Präsenz +
+

Infrastruktur für
ein ganzes Land

+

Seit 2016 haben wir in über 200 Projekten quer durch Deutschland bewiesen, dass wir Infrastrukturprojekte jeder Größenordnung verlässlich umsetzen.

+ + Zu unseren Referenzen + +
+
@@ -82,13 +95,13 @@ layout: "fullBleed" url: "/de/standorte/buelstedt", backgroundImage: "/assets/photos/DJI_0048.JPG" }, - { - title: "E-TIB Bohrtechnik GmbH", - description: "Präzise Horizontalspülbohrungen in allen Bodenklassen für eine oberflächenschonende und grabenlose Leitungsverlegung.", - 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: "/de/standorte/kirchheilingen", - backgroundImage: "/assets/photos/Etib_E-tib_Tiefbau_Guben_Netzanbindung_Energie-47.jpg" - } + { + title: "E-TIB Bohrtechnik GmbH", + description: "Präzise Horizontalspülbohrungen in allen Bodenklassen für eine oberflächenschonende und grabenlose Leitungsverlegung.", + 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: "/de/bohrtechnik", + backgroundImage: "/assets/photos/Etib_E-tib_Tiefbau_Guben_Netzanbindung_Energie-47.jpg" + } ]} /> diff --git a/content/en/ueber-uns.mdx b/content/en/ueber-uns.mdx index fc73654cd..496c1849c 100644 --- a/content/en/ueber-uns.mdx +++ b/content/en/ueber-uns.mdx @@ -27,7 +27,7 @@ layout: "fullBleed" Since our foundation in 2015 in Guben, we have made it our mission to actively shape the expansion of critical infrastructure.
- With 100+ dedicated employees and a state-of-the-art machinery park, we master even the most demanding projects in cable network construction, directional drilling, and grid assembly. Reliability, adherence to schedules, and the highest quality standards are our foundation. + With over 100 experts for your project (including specialists from E-TIB GmbH, E-TIB Bohrtechnik and E-TIB Ingenieurgesellschaft) and a state-of-the-art machinery park, we master even the most demanding projects in cable network construction, directional drilling, and grid assembly. Reliability, adherence to schedules, and the highest quality standards are our foundation.
@@ -52,7 +52,20 @@ layout: "fullBleed"
- +
+
+
+
+
+ Nationwide Presence +
+

Infrastructure for
an entire country

+

Since 2016, we have proven in over 200 projects across Germany that we reliably implement infrastructure projects of any scale.

+ + View our references + +
+
@@ -86,7 +99,7 @@ layout: "fullBleed" title: "E-TIB Bohrtechnik GmbH", description: "Precise horizontal directional drilling in all soil classes for surface-friendly and trenchless pipe laying.", 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: "/en/standorte/kirchheilingen", + url: "/en/bohrtechnik", backgroundImage: "/assets/photos/Etib_E-tib_Tiefbau_Guben_Netzanbindung_Energie-47.jpg" } ]} diff --git a/lib/map-data.ts b/lib/map-data.ts index 58605b172..f9b6bea8f 100644 --- a/lib/map-data.ts +++ b/lib/map-data.ts @@ -45,19 +45,19 @@ export const defaultLocations: Location[] = [ }, { id: 'ketzin', - name: 'Ketzin (Wind)', + name: 'Ketzin (Netzausbau)', type: 'project', x: 72, y: 34, - description: 'Netzanbindung Windpark', + description: 'Netzausbau Gewerbegebiet', }, { id: 'jevenstedt', - name: 'Jevenstedt (Wind)', + name: 'Jevenstedt (Kabeltrasse)', type: 'project', x: 43, y: 9, - description: 'Netzanbindung Windpark', + description: '110 kV Kabeltrasse', } ];