From 9de5f2938bb8f5b0b7f143e1467dc7ec49d8cba4 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Mon, 15 Jun 2026 00:02:20 +0200 Subject: [PATCH] fix(map): include standorteLocations in md pages --- app/[locale]/[slug]/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/[locale]/[slug]/page.tsx b/app/[locale]/[slug]/page.tsx index fe931c83a..4bf7930e3 100644 --- a/app/[locale]/[slug]/page.tsx +++ b/app/[locale]/[slug]/page.tsx @@ -10,7 +10,7 @@ import TrackedLink from '@/components/analytics/TrackedLink'; import { getButtonClasses, ButtonOverlay } from '@/components/ui/Button'; import { getAllReferences } from '@/lib/references'; import { defaultLocations, minorLocations } from '@/lib/map-data'; - +import { standorteLocations } from '@/lib/standorte-data'; // Import components used in MDX import { HeroVideo as HomeHero } from '@/components/blocks/HeroVideo'; import { SubCompanyTiles as HomeSubCompanyTiles } from '@/components/blocks/SubCompanyTiles'; @@ -153,7 +153,7 @@ export default async function Page(props: { params: Promise<{ locale: string; sl // Fetch references to enrich the map if it's used const references = await getAllReferences(locale); - const allLocations = [...defaultLocations, ...minorLocations]; + const allLocations = [...standorteLocations, ...defaultLocations, ...minorLocations]; const enrichedLocations = allLocations.map(loc => { if (loc.type === 'project') { const ref = references.find(r => r.slug === loc.id);