style(homepage): align hero image flush touching the navbar without gaps or border lines

This commit is contained in:
2026-11-17 12:21:42 +05:30
parent 16b21908d4
commit db183fe55b
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -329,6 +329,7 @@ export function HeroSection({
{/* Background Layer 1: High-Resolution Responsive Background Image */}
<div className="absolute inset-0 z-0 overflow-hidden">
<picture
className="absolute inset-0 block w-full h-full"
style={{
maskImage: 'linear-gradient(to top, transparent 0%, rgba(0,0,0,0.3) 15%, black 45%)',
WebkitMaskImage: 'linear-gradient(to top, transparent 0%, rgba(0,0,0,0.3) 15%, black 45%)',
@@ -340,7 +341,7 @@ export function HeroSection({
<img
src="/management/pages/home/hero_desktop.jpg"
alt="CRE Innovations Photo Studio"
className="w-full h-full object-cover object-[75%_25%] sm:object-right select-none pointer-events-none opacity-80 sm:opacity-95 brightness-[0.98] sm:brightness-[0.97]"
className="w-full h-full object-cover object-[right_top] sm:object-[right_top] -translate-y-3 sm:-translate-y-5 scale-[1.03] sm:scale-[1.04] origin-top-right select-none pointer-events-none opacity-85 sm:opacity-95 brightness-[0.98] sm:brightness-[0.97]"
loading="eager"
decoding="sync"
/>