From 02c4f061087b8df73af2d090e788d496ed3c3007 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Thu, 18 Jun 2026 22:23:09 +0200 Subject: [PATCH] hotfix: increase footer padding, restore interactive map state, disable hero map lag animation --- components/blocks/InteractiveGermanyMap.tsx | 11 ++++++----- components/layout/Footer.tsx | 2 +- components/ui/AnimatedGlossyBorder.tsx | 9 +++++++-- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/components/blocks/InteractiveGermanyMap.tsx b/components/blocks/InteractiveGermanyMap.tsx index 9083c3dfd..eba223ae8 100644 --- a/components/blocks/InteractiveGermanyMap.tsx +++ b/components/blocks/InteractiveGermanyMap.tsx @@ -4,7 +4,7 @@ import React, { useState } from 'react'; import { motion, AnimatePresence } from 'framer-motion'; import { MapPin, Factory, Zap, CheckCircle2, ArrowUpRight } from 'lucide-react'; import Image from 'next/image'; - +import { useRouter, usePathname } from 'next/navigation'; import Link from 'next/link'; import { AnimatedGlossyBorder } from '@/components/ui/AnimatedGlossyBorder'; import { Location, defaultLocations, minorLocations, projectLocations } from '@/lib/map-data'; @@ -52,7 +52,8 @@ export function InteractiveGermanyMap({ setHoverTimeout(timeout); }; - + const router = useRouter(); + const pathname = usePathname(); const locale = useLocale(); const t = useTranslations('InteractiveGermanyMap'); const tStandard = useTranslations('StandardPage'); @@ -81,10 +82,10 @@ export function InteractiveGermanyMap({ }, [locations, hideStandorte]); return ( -
+
- {/* Animated Border Glow (disabled in hero due to performance lag on 100vw) */} - {!isHero && } + {/* Animated Border Glow */} + {/* Background Effects */}
diff --git a/components/layout/Footer.tsx b/components/layout/Footer.tsx index 61b0578dc..b1e4d3ece 100644 --- a/components/layout/Footer.tsx +++ b/components/layout/Footer.tsx @@ -19,7 +19,7 @@ export function Footer({ companyInfo }: FooterProps) { const locale = useLocale(); return ( -