'use client' import SanityImage from '../../ui/sanity-image'; interface USPSectionProps { usps: [] | any } const USPSection = ({ usps }: USPSectionProps) => { const desktopGridLayout = usps.length === 4 ? 'lg:grid-cols-4' : 'lg:grid-cols-3'; return (
{usps.map((usp: any, index: number) => (

{usp.title}

{usp.text && (

{usp.text}

)}
))}
) } export default USPSection