feat: Implement S3 presigned URL resolution for CMS images across pages and apply minor styling adjustments to the header and hero sections.

This commit is contained in:
pradeepkumar
2026-03-05 05:51:57 +05:30
parent 9152bb818b
commit 724ce6a735
6 changed files with 74 additions and 18 deletions

View File

@@ -98,7 +98,7 @@ export function HeroSection({ content }: { content?: HeroContent }) {
};
return (
<section className="relative min-h-[600px] overflow-hidden">
<section className="relative min-h-[480px] overflow-hidden">
{/* Background Image */}
<div className="absolute inset-0">
<Image
@@ -110,7 +110,7 @@ export function HeroSection({ content }: { content?: HeroContent }) {
/>
</div>
<div className="relative max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 pt-28 pb-8 min-h-[600px] flex flex-col">
<div className="relative max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 pt-16 pb-8 min-h-[480px] flex flex-col">
{/* Headline */}
<div className="text-center mb-5">
<h1 className="font-fractul font-bold text-[24px] md:text-[28px] lg:text-[30px] leading-[50px] text-[#00293d] max-w-4xl mx-auto">
@@ -245,8 +245,8 @@ export function HeroSection({ content }: { content?: HeroContent }) {
</div>
{/* Bottom Section - pushed to bottom */}
<div className="mt-auto">
{/* Bottom Section */}
<div className="mt-8">
{/* See All Agents Button */}
<div className="flex justify-center">
<button