import { formatPrice } from '../theme'; import type { ProductGridSection } from '../types'; import { Container, ImagePlaceholder, SectionHeading } from '../ui'; export function ProductGrid({ section }: { section: ProductGridSection }) { const { heading, subheading, items } = section.content; const minimal = section.variant === 'minimal'; return (
    {items.map((item, index) => (
  • {item.badge && ( {item.badge} )}

    {item.name}

    {formatPrice(item.price)}

  • ))}
); }