diff --git a/components/blocks/InteractiveGermanyMap.tsx b/components/blocks/InteractiveGermanyMap.tsx index 50bdec2c5..4b0b314f8 100644 --- a/components/blocks/InteractiveGermanyMap.tsx +++ b/components/blocks/InteractiveGermanyMap.tsx @@ -150,7 +150,10 @@ export function InteractiveGermanyMap({ onMouseEnter={() => setActiveLocation(loc)} onMouseLeave={() => setActiveLocation(null)} onClick={() => { - if (loc.href) router.push(loc.href); + if (loc.href) { + const href = loc.href.startsWith('/') ? `/${locale}${loc.href}` : loc.href; + router.push(href); + } }} > {/* Ping Animation for HQ / Branch */} diff --git a/components/blocks/JobListingBlock.tsx b/components/blocks/JobListingBlock.tsx index 95fd61157..d0f1359a7 100644 --- a/components/blocks/JobListingBlock.tsx +++ b/components/blocks/JobListingBlock.tsx @@ -59,7 +59,7 @@ export const JobListingBlock = (props: JobListingBlockProps) => { ], emptyStateMessage = t('emptyStateMessage'), emptyStateLinkText = t('emptyStateLinkText'), - emptyStateLinkHref = '/kontakt' + emptyStateLinkHref = t('emptyStateLinkHref') } = props; const title = props.title || t('title'); diff --git a/components/home/Hero.tsx b/components/home/Hero.tsx index 7f117db28..57e702481 100644 --- a/components/home/Hero.tsx +++ b/components/home/Hero.tsx @@ -160,7 +160,7 @@ export default function Hero({ data }: { data?: any }) {