Skip to content

Commit bf423c0

Browse files
Updates layout to dynamically adjust hero section height.
Improves responsiveness by calculating the hero section's minimum height based on the viewport height minus a predefined offset, ensuring a more adaptive and user-friendly experience.
1 parent aec2ef2 commit bf423c0

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/app/page.module.css

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/features/landing/components/hero-section.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ArrowRight, Play, Sparkles } from 'lucide-react'
33

44
export default function HeroSection() {
55
return (
6-
<section className="py-20 md:py-16 relative overflow-hidden">
6+
<section className="py-20 md:py-16 relative overflow-hidden min-h-[calc(100vh-76px)]">
77
<div className="absolute inset-0" />
88

99
<div className="container mx-auto px-4 relative">

0 commit comments

Comments
 (0)