feat: implement comprehensive field validation logic and update UI components to enforce validation constraints
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user