diff --git a/app/[locale]/[slug]/page.tsx b/app/[locale]/[slug]/page.tsx index 66d542117..4294b97ae 100644 --- a/app/[locale]/[slug]/page.tsx +++ b/app/[locale]/[slug]/page.tsx @@ -9,7 +9,7 @@ import { SITE_URL } from '@/lib/schema'; import TrackedLink from '@/components/analytics/TrackedLink'; import { getButtonClasses, ButtonOverlay } from '@/components/ui/Button'; import { getAllReferences } from '@/lib/references'; -import { defaultLocations } from '@/lib/map-data'; +import { defaultLocations, minorLocations } from '@/lib/map-data'; // Import components used in MDX import { HeroVideo as HomeHero } from '@/components/blocks/HeroVideo'; @@ -153,7 +153,8 @@ 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 enrichedLocations = defaultLocations.map(loc => { + const allLocations = [...defaultLocations, ...minorLocations]; + const enrichedLocations = allLocations.map(loc => { if (loc.type === 'project') { const ref = references.find(r => r.slug === loc.id); if (ref) {