feat: implement comprehensive field validation logic and update UI components to enforce validation constraints

This commit is contained in:
pradeepkumar
2026-04-15 15:44:51 +05:30
parent affaefc29a
commit 99a594ed16
8 changed files with 159 additions and 55 deletions

View File

@@ -119,24 +119,19 @@ export function TestimonialsSection({ content }: { content?: TestimonialsContent
</div>
{/* Stats Section */}
<div className="flex justify-center items-center gap-8 md:gap-12 mb-10">
<div className="flex flex-col sm:flex-row justify-center items-center gap-4 sm:gap-8 md:gap-12 mb-10">
{data.stats.map((stat, index) => (
<div key={index} className="flex items-center gap-3">
<div key={index} className="flex items-center gap-3 whitespace-nowrap">
<Image
src={stat.iconPath}
alt=""
width={27}
height={27}
/>
<div>
<span className="font-serif font-bold text-[14px] leading-normal text-[#00293d]">
{stat.boldText}
</span>
<br />
<span className="font-serif font-normal text-[14px] leading-normal text-[#00293d]">
{stat.normalText}
</span>
</div>
<span className="font-serif text-[14px] leading-normal text-[#00293d]">
<span className="font-bold">{stat.boldText}</span>{' '}
<span className="font-normal">{stat.normalText}</span>
</span>
</div>
))}
</div>