diff --git a/app/[locale]/referenzen/page.tsx b/app/[locale]/referenzen/page.tsx index 4427c5f67..66ed2ca6e 100644 --- a/app/[locale]/referenzen/page.tsx +++ b/app/[locale]/referenzen/page.tsx @@ -77,7 +77,7 @@ export default async function ReferenzenOverview(props: { params: Promise<{ loca isHero={true} badge={locale === 'en' ? 'Our References' : 'Unsere Referenzen'} 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. Discover our locations.' : 'Vom Breitbandausbau bis zur komplexen 110kV-Trasse: Ein Auszug unserer bundesweiten Projekte, bei denen wir Infrastruktur für die Zukunft geschaffen haben. Entdecken Sie unsere Standorte.'} + 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} /> diff --git a/components/blocks/ScaleOfImpact.tsx b/components/blocks/ScaleOfImpact.tsx index e12a9ffdd..743500af0 100644 --- a/components/blocks/ScaleOfImpact.tsx +++ b/components/blocks/ScaleOfImpact.tsx @@ -82,17 +82,21 @@ export function ScaleOfImpact() { {/* Static Data Grid (No jumping text) */} -
+
-
100+
-
{locale === 'en' ? 'Major Projects' : 'Großprojekte'}
+
200+
+
{locale === 'en' ? 'Projects' : 'Projekte'}
-
372km
+
602km
{locale === 'en' ? 'Cable Laying' : 'Kabelverlegung'}
-
102km
+
213km
+
{locale === 'en' ? 'Open Trenching' : 'Offener Tiefbau'}
+
+
+
58km
{locale === 'en' ? 'HDD Drilling' : 'Spülbohrung'}
diff --git a/content/de/home.mdx b/content/de/home.mdx index 73cd4bf23..4c1532ab1 100644 --- a/content/de/home.mdx +++ b/content/de/home.mdx @@ -72,8 +72,8 @@ description: "Die E-TIB GmbH ist Ihr zuverlässiger Partner für komplexe Kabelt
Gründung
-
50+
-
Mitarbeiter
+
100+
+
Mitarbeitende
@@ -110,12 +110,12 @@ description: "Die E-TIB GmbH ist Ihr zuverlässiger Partner für komplexe Kabelt ctaHref="/de/kompetenzen" items={[ { - title: "Kabeltiefbau", - description: "Verlegung von Mittel- und Niederspannungskabeln", + title: "Kabelleitungstiefbau", + description: "Kabelleitungstiefbau (Hoch-/Mittel- und Niederspannung) sowie Kabelmontagen bis 110 kV", tag: "Energie", size: "large", href: "/de/kabeltiefbau", - image: { url: "/assets/photos/DSC01123.JPG", alt: "Kabeltiefbau" } + image: { url: "/assets/photos/DSC01123.JPG", alt: "Kabelleitungstiefbau" } }, { title: "Bohrtechnik", diff --git a/content/de/kabeltiefbau.mdx b/content/de/kabeltiefbau.mdx index b3723fa0b..ff772326c 100644 --- a/content/de/kabeltiefbau.mdx +++ b/content/de/kabeltiefbau.mdx @@ -1,14 +1,14 @@ --- title: "Kabelleitungstiefbau" date: "2024-03-20" -excerpt: "Professioneller Kabeltiefbau für Mittel- und Niederspannungsnetze. Wir garantieren höchste Sicherheitsstandards und lückenlose Dokumentation für Ihr Projekt." +excerpt: "Professioneller Kabelleitungstiefbau (Hoch-, Mittel- und Niederspannung) und Kabelmontagen bis 110 kV. Wir garantieren höchste Sicherheitsstandards und lückenlose Dokumentation für Ihr Projekt." layout: "fullBleed" ---
- Mit über 50 engagierten Fachkräften und einem hochmodernen Maschinenpark meistern wir selbst anspruchsvollste Projekte im Kabelleitungstiefbau, der Spülbohrtechnik und der Netzmontage. Verlässlichkeit, Termintreue und höchste Qualitätsstandards sind dabei unser Fundament. + Mit ca. 100 engagierten Fachkräften und einem hochmodernen Maschinenpark meistern wir selbst anspruchsvollste Projekte im Kabelleitungstiefbau, der Spülbohrtechnik und der Netzmontage. Verlässlichkeit, Termintreue und höchste Qualitätsstandards sind dabei unser Fundament.
-
50+
+
100+
Mitarbeiter
@@ -52,7 +52,7 @@ layout: "fullBleed"
- + diff --git a/content/en/home.mdx b/content/en/home.mdx index eac30131a..2e76c0683 100644 --- a/content/en/home.mdx +++ b/content/en/home.mdx @@ -72,7 +72,7 @@ description: "E-TIB GmbH is your reliable partner for complex cable routes, hori
Founded
-
50+
+
100+
Employees
@@ -110,12 +110,12 @@ description: "E-TIB GmbH is your reliable partner for complex cable routes, hori ctaHref="/en/competencies" items={[ { - title: "Cable Construction", - description: "Installation of medium and low voltage cables", + title: "Cable Civil Engineering", + description: "Cable civil engineering (high, medium, low voltage) and cable assembly up to 110 kV", tag: "Energy", size: "large", href: "/en/cable-civil-engineering", - image: { url: "/assets/photos/DSC01123.JPG", alt: "Cable Construction" } + image: { url: "/assets/photos/DSC01123.JPG", alt: "Cable Civil Engineering" } }, { title: "Drilling Technology", diff --git a/content/en/kabeltiefbau.mdx b/content/en/kabeltiefbau.mdx index 2f1fbdc1b..a591a5111 100644 --- a/content/en/kabeltiefbau.mdx +++ b/content/en/kabeltiefbau.mdx @@ -1,14 +1,14 @@ --- title: "Cable Civil Engineering" date: "2024-03-20" -excerpt: "Professional cable civil engineering for medium and low voltage networks. We guarantee maximum safety standards and seamless documentation for your project." +excerpt: "Professional cable civil engineering (high, medium, and low voltage) and cable assembly up to 110 kV. We guarantee maximum safety standards and seamless documentation for your project." layout: "fullBleed" ---
- With over 50 dedicated professionals and a state-of-the-art machinery park, we master even the most demanding projects in cable civil engineering, directional drilling, and grid assembly. Reliability, adherence to schedules, and the highest quality standards are our foundation. + With approx. 100 dedicated professionals and a state-of-the-art machinery park, we master even the most demanding projects in cable civil engineering, directional drilling, and grid assembly. Reliability, adherence to schedules, and the highest quality standards are our foundation.
-
50+
+
100+
Employees
@@ -52,7 +52,7 @@ layout: "fullBleed"
- + diff --git a/lib/map-data.ts b/lib/map-data.ts index a48362cb5..081c0288d 100644 --- a/lib/map-data.ts +++ b/lib/map-data.ts @@ -20,6 +20,15 @@ export const defaultLocations: Location[] = [ description: 'E-TIB GmbH Holding & Bohrtechnik GmbH', details: ['Zentrale Steuerung', 'Kabelleitungstiefbau', 'Maschinenpark'], }, + { + id: 'kirchheilingen', + name: 'Kirchheilingen (Bohrtechnik)', + type: 'branch', + x: 52, + y: 55, + description: 'E-TIB Bohrtechnik GmbH', + details: ['Horizontalspülbohrungen', 'Bahnhofstraße 180a', '99947 Kirchheilingen'], + }, { id: 'buelstedt', name: 'Bülstedt (Ingenieurgesellschaft)', @@ -30,58 +39,58 @@ export const defaultLocations: Location[] = [ details: ['Planung & Projektierung', 'Vermessung', 'Dokumentation'], }, { - id: 'spreewald', - name: 'Spreewald (FTTC)', + id: 'dettmannsdorf', + name: 'Dettmannsdorf (PV)', type: 'project', - x: 81, - y: 36.99, - description: 'Breitbandausbau FTTC', - href: '/referenzen/spreewald', + x: 66.38, + y: 14.04, + description: 'Netzanbindung Solarpark', + href: '/referenzen/dettmannsdorf', }, { - id: 'bomlitz', - name: 'Bomlitz (FTTH)', + id: 'proetzel', + name: 'Prötzel (PV)', + type: 'project', + x: 78.84, + y: 32.5, + description: 'Kabeltrasse Solarpark', + href: '/referenzen/proetzel', + }, + { + id: 'ostbevern', + name: 'Ostbevern (Wind)', + type: 'project', + x: 26.64, + y: 39.84, + description: 'Netzanbindung Windpark', + href: '/referenzen/ostbevern', + }, + { + id: 'petershagen', + name: 'Petershagen (Wind)', + type: 'project', + x: 36.26, + y: 35.79, + description: 'Netzanbindung Windpark', + href: '/referenzen/petershagen', + }, + { + id: 'ketzin', + name: 'Ketzin (Wind)', + type: 'project', + x: 72, + y: 34, + description: 'Netzanbindung Windpark', + href: '/referenzen/ketzin', + }, + { + id: 'jevenstedt', + name: 'Jevenstedt (Wind)', type: 'project', x: 43, - y: 28.76, - description: '88km Leitungstrasse (Tiefbau/HDD)', - href: '/referenzen/bomlitz', - }, - { - id: 'forst', - name: 'Forst (Kabeltrasse)', - type: 'project', - x: 87, - y: 43.85, - description: 'Neubau MS-Kabeltrasse', - href: '/referenzen/forst', - }, - { - id: 'eisenhuettenstadt', - name: 'Eisenhüttenstadt (Kabel)', - type: 'project', - x: 86, - y: 38.36, - description: 'Kabelverbindung U30 - T10', - href: '/referenzen/eisenhuettenstadt', - }, - { - id: 'goerne', - name: 'Görne (PV-Anlage)', - type: 'project', - x: 65, - y: 32.19, - description: 'Einspeisung PV-Anlage (MS-Kabel)', - href: '/referenzen/goerne', - }, - { - id: 'boerde', - name: 'Börde (FTTH-Ausbau)', - type: 'project', - x: 55, - y: 34.24, - description: '109km Leitungstrasse für Breitband', - href: '/referenzen/boerde', + y: 9, + description: 'Netzanbindung Windpark', + href: '/referenzen/jevenstedt', } ]; diff --git a/tests/homepage-and-competence-content.test.ts b/tests/homepage-and-competence-content.test.ts new file mode 100644 index 000000000..b1a2b3d1e --- /dev/null +++ b/tests/homepage-and-competence-content.test.ts @@ -0,0 +1,86 @@ +import { describe, it, expect } from 'vitest'; +import fs from 'fs'; +import path from 'path'; + +describe('Task 6 Content Updates', () => { + const deHomePath = path.join(process.cwd(), 'content', 'de', 'home.mdx'); + const enHomePath = path.join(process.cwd(), 'content', 'en', 'home.mdx'); + const deKompetenzenPath = path.join(process.cwd(), 'content', 'de', 'kompetenzen.mdx'); + const enKompetenzenPath = path.join(process.cwd(), 'content', 'en', 'kompetenzen.mdx'); + const deKabeltiefbauPath = path.join(process.cwd(), 'content', 'de', 'kabeltiefbau.mdx'); + const enKabeltiefbauPath = path.join(process.cwd(), 'content', 'en', 'kabeltiefbau.mdx'); + const deUeberUnsPath = path.join(process.cwd(), 'content', 'de', 'ueber-uns.mdx'); + const enUeberUnsPath = path.join(process.cwd(), 'content', 'en', 'ueber-uns.mdx'); + + it('should verify Kabelleitungstiefbau changes in DE and EN kompetenzen.mdx', () => { + const deContent = fs.readFileSync(deKompetenzenPath, 'utf8'); + const enContent = fs.readFileSync(enKompetenzenPath, 'utf8'); + + // DE Kompetenzen + expect(deContent).toContain('title: "Kabelleitungstiefbau"'); + expect(deContent).toContain('description: "Klassischer Grabenbau, professionelle Verlegung und Kabelmontage (Hoch-, Mittel- und Niederspannung) bis 110 kV."'); + expect(deContent).toContain('title: "Kabelleitungstiefbau (Hoch-/Mittel- und Niederspannung)"'); + expect(deContent).toContain('"Kabelmontagen bis 110 kV"'); + expect(deContent).toContain('"name": "Kabelleitungstiefbau"'); + expect(deContent).toContain('"description": "Klassischer Grabenbau, professionelle Verlegung und Kabelmontage (Hoch-, Mittel- und Niederspannung) bis 110 kV."'); + + // EN Competencies + expect(enContent).toContain('title: "Cable Civil Engineering"'); + expect(enContent).toContain('description: "Classic trench construction, professional laying and cable assembly (high, medium, and low voltage) up to 110 kV."'); + expect(enContent).toContain('title: "Cable Civil Engineering (High/Medium/Low Voltage)"'); + expect(enContent).toContain('"Cable assembly up to 110 kV"'); + expect(enContent).toContain('"name": "Cable Civil Engineering"'); + expect(enContent).toContain('"description": "Classic trench construction, professional laying and cable assembly (high, medium, and low voltage) up to 110 kV."'); + }); + + it('should verify Kabelleitungstiefbau changes in DE and EN home.mdx', () => { + const deContent = fs.readFileSync(deHomePath, 'utf8'); + const enContent = fs.readFileSync(enHomePath, 'utf8'); + + // DE Home + expect(deContent).toContain('title: "Kabelleitungstiefbau"'); + expect(deContent).toContain('description: "Kabelleitungstiefbau (Hoch-/Mittel- und Niederspannung) sowie Kabelmontagen bis 110 kV"'); + expect(deContent).toContain('100+'); + expect(deContent).toContain('Mitarbeitende'); + + // EN Home + expect(enContent).toContain('title: "Cable Civil Engineering"'); + expect(enContent).toContain('description: "Cable civil engineering (high, medium, low voltage) and cable assembly up to 110 kV"'); + expect(enContent).toContain('100+'); + expect(enContent).toContain('Employees'); + }); + + it('should verify Kabelleitungstiefbau changes in DE and EN kabeltiefbau.mdx', () => { + const deContent = fs.readFileSync(deKabeltiefbauPath, 'utf8'); + const enContent = fs.readFileSync(enKabeltiefbauPath, 'utf8'); + + // DE Kabeltiefbau + expect(deContent).toContain('title: "Kabelleitungstiefbau"'); + expect(deContent).toContain('excerpt: "Professioneller Kabelleitungstiefbau'); + expect(deContent).toContain('Kabelmontagen bis 110 kV'); + expect(deContent).toContain('subtitle="Komplette Infrastruktur-Lösungen für Hoch-, Mittel- und Niederspannungsnetze sowie Kabelmontagen bis 110 kV"'); + expect(deContent).toContain('"Kabelmontagen bis 110 kV"'); + + // EN Kabeltiefbau + expect(enContent).toContain('title: "Cable Civil Engineering"'); + expect(enContent).toContain('excerpt: "Professional cable civil engineering'); + expect(enContent).toContain('cable assembly up to 110 kV'); + expect(enContent).toContain('subtitle="Complete infrastructure solutions for high, medium, and low voltage networks and cable assembly up to 110 kV"'); + expect(enContent).toContain('"Cable assembly up to 110 kV"'); + }); + + it('should verify employee and project counts in DE and EN ueber-uns.mdx', () => { + const deContent = fs.readFileSync(deUeberUnsPath, 'utf8'); + const enContent = fs.readFileSync(enUeberUnsPath, 'utf8'); + + // DE Ueber uns + expect(deContent).toContain('100+'); + expect(deContent).toContain('ca. 100 engagierten'); + expect(deContent).toContain('Seit 2016 haben wir in über 200 Projekten quer'); + + // EN Ueber uns + expect(enContent).toContain('100+'); + expect(enContent).toContain('approx. 100 dedicated'); + expect(enContent).toContain('Since 2016, we have proven in over 200 projects across'); + }); +});