diff --git a/content/en/planung.mdx b/content/en/planung.mdx
index 6624a8a12..4a608ffcd 100644
--- a/content/en/planung.mdx
+++ b/content/en/planung.mdx
@@ -12,7 +12,7 @@ layout: "fullBleed"
backgroundImage={{ url: '/assets/photos/DJI_0048.JPG' }}
alignment="center"
ctaLabel="Request a project"
- ctaHref="/en/kontakt"
+ ctaHref="/en/contact"
/>
@@ -75,5 +75,5 @@ layout: "fullBleed"
title="Do you need planning security?"
text="Let's talk about your project. We are at your side with our engineering knowledge."
buttonText="Contact us"
- buttonLink="/en/kontakt"
+ buttonLink="/en/contact"
/>
diff --git a/content/en/team.mdx b/content/en/team.mdx
index 0c7e10c2e..f3de74eb1 100644
--- a/content/en/team.mdx
+++ b/content/en/team.mdx
@@ -86,5 +86,5 @@ layout: "fullBleed"
title="Become part of our team"
text="We are always looking for motivated talents for exciting infrastructure projects."
buttonText="View open positions"
- buttonLink="/en/karriere"
+ buttonLink="/en/career"
/>
diff --git a/content/en/ueber-uns.mdx b/content/en/ueber-uns.mdx
index 27f273f32..205380696 100644
--- a/content/en/ueber-uns.mdx
+++ b/content/en/ueber-uns.mdx
@@ -11,7 +11,7 @@ layout: "fullBleed"
description="Since 2015, we have been growing continuously to meet the demands of the energy transition and digitalization. As a corporate group, we pool specialized expertise under one roof."
videoUrl="/assets/videos/web/hero-bahnkreuzung.mp4"
linkText="Open Positions"
- linkHref="/en/karriere"
+ linkHref="/en/career"
secondaryCtaLabel="Discover Company"
secondaryCtaHref="#structure"
/>
@@ -128,5 +128,5 @@ layout: "fullBleed"
title="Ready for Your Project?"
description="We are always looking for new challenges and strong partners. Contact us for a non-binding consultation on your project."
ctaLabel="Contact Us Now"
- ctaHref="/en/kontakt"
+ ctaHref="/en/contact"
/>
diff --git a/content/en/vermessung.mdx b/content/en/vermessung.mdx
index 087de8cba..1c72d00ec 100644
--- a/content/en/vermessung.mdx
+++ b/content/en/vermessung.mdx
@@ -12,7 +12,7 @@ layout: "fullBleed"
backgroundImage={{ url: '/assets/photos/DSC08653.JPG' }}
alignment="center"
ctaLabel="Request a project"
- ctaHref="/en/kontakt"
+ ctaHref="/en/contact"
/>
@@ -77,5 +77,5 @@ layout: "fullBleed"
title="Are you facing high documentation requirements?"
text="Contact us for professional surveying and GIS services."
buttonText="Contact us"
- buttonLink="/en/kontakt"
+ buttonLink="/en/contact"
/>
diff --git a/tests/mdx-links.test.ts b/tests/mdx-links.test.ts
new file mode 100644
index 000000000..155760547
--- /dev/null
+++ b/tests/mdx-links.test.ts
@@ -0,0 +1,26 @@
+import { describe, it, expect } from 'vitest';
+import fs from 'fs';
+import path from 'path';
+
+describe('English MDX Content Links', () => {
+ it('should not contain German slug routes like /en/kontakt or /en/karriere', () => {
+ const enContentDir = path.join(process.cwd(), 'content', 'en');
+ const files = fs.readdirSync(enContentDir).filter(f => f.endsWith('.mdx'));
+
+ const forbiddenLinks = ['/en/kontakt', '/en/karriere'];
+ const infractions: string[] = [];
+
+ files.forEach(file => {
+ const filePath = path.join(enContentDir, file);
+ const content = fs.readFileSync(filePath, 'utf8');
+
+ forbiddenLinks.forEach(link => {
+ if (content.includes(link)) {
+ infractions.push(`${file} contains forbidden link "${link}"`);
+ }
+ });
+ });
+
+ expect(infractions).toEqual([]);
+ });
+});