import { clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';
import { jsx, jsxs } from 'react/jsx-runtime';

// src/lib/utils.ts
function cn(...inputs) {
  return twMerge(clsx(inputs));
}
function MarketingLogoCloud({ title, logos, className }) {
  return /* @__PURE__ */ jsx("section", { className: cn("bg-background py-16 sm:py-24", className), children: /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-7xl px-6 lg:px-8", children: [
    title ? /* @__PURE__ */ jsx("p", { className: "text-center text-sm font-medium text-muted-foreground", children: title }) : null,
    /* @__PURE__ */ jsx(
      "div",
      {
        className: cn(
          "grid grid-cols-2 items-center gap-x-8 gap-y-10 sm:grid-cols-3 lg:grid-cols-5",
          title && "mt-10"
        ),
        children: logos.map((logo, index) => /* @__PURE__ */ jsx(
          "div",
          {
            className: "flex items-center justify-center text-muted-foreground [&_img]:max-h-10 [&_img]:w-auto [&_img]:object-contain",
            children: logo
          },
          index
        ))
      }
    )
  ] }) });
}

export { MarketingLogoCloud };
//# sourceMappingURL=marketing-logo-cloud.js.map
//# sourceMappingURL=marketing-logo-cloud.js.map