fix: translate all hardcoded /contact links and add kontakt mapping to language switcher
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 14s
Build & Deploy / 🧪 QA (push) Has been cancelled
Build & Deploy / 🏗️ Build (push) Has been cancelled
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled
Build & Deploy / ⚡ Performance & Accessibility (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled

This commit is contained in:
2026-02-25 01:38:42 +01:00
parent 2ba67af68a
commit 2db2a3aff9
3 changed files with 7 additions and 5 deletions

View File

@@ -173,12 +173,12 @@ export default function Footer() {
</li>
<li>
<Link
href={`/${locale}/contact`}
href={`/${locale}/${locale === 'de' ? 'kontakt' : 'contact'}`}
className="text-white/70 hover:text-accent transition-all duration-300 hover:translate-x-1 inline-block"
onClick={() =>
trackEvent(AnalyticsEvents.LINK_CLICK, {
label: navT('contact'),
href: '/contact',
href: locale === 'de' ? '/kontakt' : '/contact',
location: 'footer_company',
})
}