fix: render map as card on references page to enable glowing border

This commit is contained in:
2026-05-15 21:15:57 +02:00
parent 843d61cd5d
commit 68b0ed7ba0
2 changed files with 16 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ export function InteractiveGermanyMap({
<div className={isHero ? "relative w-full" : "relative w-full max-w-7xl mx-auto py-16 md:py-24 px-4 sm:px-6 mt-16 md:mt-20"}>
<div className={`bg-[#050B14] ${isHero ? 'pt-32 pb-16 md:pt-40 md:pb-24' : 'rounded-[2.5rem] md:rounded-[3.5rem] shadow-2xl border border-white/5'} overflow-visible relative group/map`}>
{/* Animated Border Glow */}
{!isHero && <AnimatedGlossyBorder opacity={0.7} className="z-30" />}
<AnimatedGlossyBorder opacity={0.7} className="z-30" />
{/* Background Effects */}
<div className={`absolute inset-0 bg-gradient-to-br from-[#050B14] via-[#0A1322] to-[#050B14] ${!isHero && 'rounded-[2.5rem] md:rounded-[3.5rem]'} overflow-hidden`} />