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 MarketingFooter({
  brand,
  columns = [],
  social,
  copyright,
  className
}) {
  return /* @__PURE__ */ jsx("footer", { className: cn("border-t border-border bg-background", className), children: /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-7xl px-6 py-16 lg:px-8", children: [
    /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-8 md:grid-cols-4 lg:grid-cols-5", children: [
      brand ? /* @__PURE__ */ jsx("div", { className: "col-span-2 lg:col-span-2", children: brand }) : null,
      columns.map((column, index) => /* @__PURE__ */ jsxs("div", { children: [
        /* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold text-foreground", children: column.title }),
        /* @__PURE__ */ jsx("ul", { className: "mt-4 space-y-3", children: column.links.map((link, linkIndex) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
          "a",
          {
            href: link.href,
            className: "rounded-sm text-sm text-muted-foreground transition-all duration-[var(--duration-normal,200ms)] ease-out hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
            children: link.label
          }
        ) }, linkIndex)) })
      ] }, index))
    ] }),
    social || copyright ? /* @__PURE__ */ jsxs("div", { className: "mt-16 flex flex-col items-center justify-between gap-4 border-t border-border pt-8 sm:flex-row", children: [
      copyright ? /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: copyright }) : null,
      social ? /* @__PURE__ */ jsx("div", { className: "flex items-center gap-4", children: social }) : null
    ] }) : null
  ] }) });
}

export { MarketingFooter };
//# sourceMappingURL=marketing-footer.js.map
//# sourceMappingURL=marketing-footer.js.map