feat(hero): add subtle top gradient feathering along the upper navbar edge

This commit is contained in:
2026-11-05 18:29:18 +05:30
parent 3380fa3ccf
commit 3330b8ed7b
+2
View File
@@ -285,6 +285,8 @@ export function HeroSection({
decoding="sync"
/>
</picture>
{/* Subtle Top Gradient: Just a little feathering along the top edge for the navbar */}
<div className="absolute inset-x-0 top-0 h-14 sm:h-16 lg:h-20 bg-gradient-to-b from-[#FAF8F5]/85 via-[#FAF8F5]/40 via-40% to-transparent pointer-events-none" />
{/* Dynamic Desktop Gradient: Restrained to left text side (~55%) so complete image stays vibrant & visible */}
<div className="absolute inset-0 bg-gradient-to-r from-[#FAF8F5] via-[#FAF8F5]/65 via-30% to-transparent to-55% hidden sm:block pointer-events-none" />
{/* Dynamic Mobile Gradient: Deep protection at top where text sits, fading down so artwork stays visible below */}