fix: optimize hero section height for mobile devices
Adjusted hero image height on mobile from min-h-[300px] to h-[40vh] to ensure content below the fold is visible and scrollable. Desktop behavior remains unchanged with full viewport height. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -177,7 +177,7 @@ const HeroSection = React.forwardRef<HTMLDivElement, HeroSectionProps>(
|
||||
|
||||
{/* Right Side: Image with Clip Path Animation */}
|
||||
<motion.div
|
||||
className="w-full min-h-[300px] bg-cover bg-center md:w-1/2 md:min-h-full lg:w-2/5"
|
||||
className="w-full h-[40vh] bg-cover bg-center md:w-1/2 md:h-auto md:min-h-full lg:w-2/5"
|
||||
style={{
|
||||
backgroundImage: `url(${backgroundImage})`,
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user