import { Container, Heading, Badge } from '@/components/ui'; import { getTranslations, setRequestLocale } from 'next-intl/server'; import { Metadata } from 'next'; import { getAllReferences } from '@/lib/references'; import TrackedLink from '@/components/analytics/TrackedLink'; import { MapPin, Calendar, Briefcase, Zap, Activity, ShieldCheck, Wrench, CheckCircle2 } from 'lucide-react'; import { getButtonClasses, ButtonOverlay } from '@/components/ui/Button'; import { SITE_URL } from '@/lib/schema'; import Image from 'next/image'; import { InteractiveGermanyMap } from '@/components/blocks/InteractiveGermanyMap'; import { HeroSection } from '@/components/blocks/HeroSection'; import { defaultLocations, minorLocations } from '@/lib/map-data'; import { MDXRemote } from 'next-mdx-remote/rsc'; const CustomLi = ({ children, ...props }: any) => { let text = ''; if (typeof children === 'string') text = children; else if (Array.isArray(children)) text = children.map((c: any) => typeof c === 'string' ? c : '').join(' '); else if (children?.props?.children) text = children.props.children; const lowerText = String(text).toLowerCase(); let Icon = CheckCircle2; if (lowerText.includes('kabel')) Icon = Zap; else if (lowerText.includes('bohrung')) Icon = Activity; else if (lowerText.includes('rohr')) Icon = ShieldCheck; else if (lowerText.includes('montage')) Icon = Wrench; else if (lowerText.includes('vlf') || lowerText.includes('otdr')) Icon = Zap; return (
  • {children}
  • ); }; const mdxComponents = { ul: (props: any) =>