feat(hero): add subtle top gradient feathering along the upper navbar edge
This commit is contained in:
@@ -285,6 +285,8 @@ export function HeroSection({
|
|||||||
decoding="sync"
|
decoding="sync"
|
||||||
/>
|
/>
|
||||||
</picture>
|
</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 */}
|
{/* 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" />
|
<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 */}
|
{/* Dynamic Mobile Gradient: Deep protection at top where text sits, fading down so artwork stays visible below */}
|
||||||
|
|||||||
Reference in New Issue
Block a user