fix hero section text set

This commit is contained in:
2026-07-01 13:04:16 +05:30
parent d5fe40882e
commit 208f6258ce
4 changed files with 16 additions and 16 deletions

View File

@@ -46,7 +46,7 @@ export function BusinessHero() {
{/* Left Column: animated with unique stagger */}
<motion.div
className="flex flex-col items-center text-center w-full max-w-[780px] relative z-20"
className="flex flex-col items-center text-center w-full max-w-[860px] relative z-20 bg-[radial-gradient(ellipse_80%_75%_at_50%_45%,rgba(0,0,0,0.18)_0%,rgba(0,0,0,0.06)_55%,rgba(0,0,0,0)_82%)] px-10 py-10 md:px-14 md:py-12"
variants={staggerContainer}
initial="hidden"
animate="visible"
@@ -60,16 +60,16 @@ export function BusinessHero() {
<motion.h1
variants={titleVariant}
className="font-display text-4xl sm:text-5xl lg:text-[48px] xl:text-[54px] font-black text-[#16001D] leading-[1.1] tracking-tight"
className="font-display text-4xl sm:text-5xl lg:text-[48px] xl:text-[54px] font-extrabold text-white leading-[1.1] tracking-tight [text-shadow:0_2px_10px_rgba(0,0,0,0.22)]"
>
Grow Your Local Business,
<br />
<span className="text-[#6330D6]">Neighbourhood by Neighbourhood.</span>
<span className="text-[#A855F7]">Neighbourhood by Neighbourhood.</span>
</motion.h1>
<motion.p
variants={descVariant}
className="max-w-[780px] text-base sm:text-lg md:text-xl text-[#16001D] font-black mt-6 leading-relaxed [text-shadow:0_2px_6px_rgba(0,0,0,0.12)]"
className="max-w-[780px] text-lg sm:text-xl md:text-xl text-white/[0.96] font-semibold mt-6 leading-[1.6] [text-shadow:0_1px_6px_rgba(0,0,0,0.28)]"
>
Get discovered by nearby customers, manage orders, and build repeat business from one simple platform.
</motion.p>