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 MarketingCta({
  title,
  description,
  actions,
  variant = "simple",
  className
}) {
  const panel = variant === "panel";
  return /* @__PURE__ */ jsx("section", { className: cn("bg-background", panel ? "py-24 sm:py-32" : "py-16 sm:py-24", className), children: /* @__PURE__ */ jsx("div", { className: "mx-auto max-w-7xl px-6 lg:px-8", children: /* @__PURE__ */ jsxs(
    "div",
    {
      className: cn(
        "flex flex-col items-center gap-6 text-center",
        panel && "rounded-3xl bg-primary px-6 py-16 sm:px-16 sm:py-20"
      ),
      children: [
        /* @__PURE__ */ jsx(
          "h2",
          {
            className: cn(
              "text-balance text-3xl font-semibold tracking-tight sm:text-4xl",
              panel ? "text-primary-foreground" : "text-foreground"
            ),
            children: title
          }
        ),
        description ? /* @__PURE__ */ jsx(
          "p",
          {
            className: cn(
              "max-w-2xl text-pretty text-lg",
              panel ? "text-primary-foreground/80" : "text-muted-foreground"
            ),
            children: description
          }
        ) : null,
        actions ? /* @__PURE__ */ jsx("div", { className: "flex flex-wrap items-center justify-center gap-4", children: actions }) : null
      ]
    }
  ) }) });
}

export { MarketingCta };
//# sourceMappingURL=marketing-cta.js.map
//# sourceMappingURL=marketing-cta.js.map