From a53d8fc2aaebfb7bbc17dd08a449f69ffef279db Mon Sep 17 00:00:00 2001 From: vshnosngh Date: Wed, 4 Nov 2026 12:55:21 +0530 Subject: [PATCH] feat: implement multi-tier progressive gradient blur canopy on navbar --- src/components/ui/Navbar.tsx | 191 ++++++++++++++++++++++------------- 1 file changed, 122 insertions(+), 69 deletions(-) diff --git a/src/components/ui/Navbar.tsx b/src/components/ui/Navbar.tsx index f87e004..56b6bc6 100644 --- a/src/components/ui/Navbar.tsx +++ b/src/components/ui/Navbar.tsx @@ -35,76 +35,132 @@ export function Navbar({ config, currentLocale }: NavbarProps) { }, [mobileMenuOpen]); return ( -
- {/* Top Prismatic Micro-Highlight */} -
+
+ {/* 1. Progressive Multi-Tier Gradient Blur Canopy (Extends 120px down from the top) */} +
+ {/* Tier 1: Deep subtle blur (softest edge at the bottom) */} +
- {/* Main Aligned Edge-to-Edge Container */} -
- {/* Brand Logo */} -
- -
+ {/* Tier 2: Low-mid progressive blur */} +
- {/* Center Navigation Links - Protected Optical Floating Pill */} - + {/* Tier 4: Strong progressive blur */} +
- {/* Right CTA Button */} -
- - - {resolveLocalised(config.nav.cta.label, currentLocale)} - - -
+ {/* Tier 5: Ultra dense frosted blur under the main header */} +
- {/* Mobile Menu Trigger */} -
- + {/* Progressive Color Tint: Melts scrolling content softly into the warm page canvas background (#FAF8F5) */} +
+ + {/* Soft feather at bottom */} +
+
+ + {/* 2. Top Prismatic Micro-Highlight */} +
+ + {/* 3. Main Aligned Edge-to-Edge Navigation Bar */} +
+
+ {/* Brand Logo */} +
+ +
+ + {/* Center Navigation Links - Protected Optical Floating Pill */} + + + {/* Right CTA Button */} +
+ + + {resolveLocalised(config.nav.cta.label, currentLocale)} + + +
+ + {/* Mobile Menu Trigger */} +
+ +
@@ -113,7 +169,7 @@ export function Navbar({ config, currentLocale }: NavbarProps) { )} - - {/* Optical Dissolve Edge (soft feather at bottom edge so content seamlessly melts inside it) */} -
); }