From a2860162b22cb31b03fdc6b61a507fb6af6e5f8a Mon Sep 17 00:00:00 2001 From: pradeepkumar Date: Mon, 19 Jan 2026 10:01:40 +0530 Subject: [PATCH] refactor: Adjust header positioning in user layout and update HeroSection image fit, padding, and button text color. --- src/app/(user)/layout.tsx | 17 ++++++++--------- src/components/home/HeroSection.tsx | 6 +++--- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/app/(user)/layout.tsx b/src/app/(user)/layout.tsx index c23bb8e..a47b195 100644 --- a/src/app/(user)/layout.tsx +++ b/src/app/(user)/layout.tsx @@ -38,16 +38,15 @@ export default function UserLayout({ } return ( -
- {/* Header */} -
-
- +
+ {/* Main Content with Header inside */} +
+ {/* Header overlaying the content */} +
+
+ +
-
- - {/* Main Content */} -
{children}
diff --git a/src/components/home/HeroSection.tsx b/src/components/home/HeroSection.tsx index e9a1b64..19d7758 100644 --- a/src/components/home/HeroSection.tsx +++ b/src/components/home/HeroSection.tsx @@ -67,12 +67,12 @@ export function HeroSection() { src="/assets/images/user_home_top.png" alt="" fill - className="object-cover object-center" + className="object-cover object-bottom" priority />
-
+
{/* Headline */}

@@ -209,7 +209,7 @@ export function HeroSection() {