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 MarketingHero({
  eyebrow,
  title,
  description,
  actions,
  media,
  layout = "centered",
  className
}) {
  if (layout === "split") {
    return /* @__PURE__ */ jsx("section", { className: cn("bg-background py-24 sm:py-32", className), children: /* @__PURE__ */ jsxs("div", { className: "mx-auto grid max-w-7xl items-center gap-12 px-6 lg:grid-cols-2 lg:gap-16 lg:px-8", children: [
      /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start gap-6", children: [
        eyebrow ? /* @__PURE__ */ jsx("div", { children: eyebrow }) : null,
        /* @__PURE__ */ jsx("h1", { className: "text-balance text-4xl font-semibold tracking-tight text-foreground sm:text-5xl lg:text-6xl", children: title }),
        description ? /* @__PURE__ */ jsx("p", { className: "max-w-xl text-pretty text-lg text-muted-foreground", children: description }) : null,
        actions ? /* @__PURE__ */ jsx("div", { className: "flex flex-wrap items-center gap-4", children: actions }) : null
      ] }),
      media ? /* @__PURE__ */ jsx("div", { className: "lg:justify-self-end", children: media }) : null
    ] }) });
  }
  return /* @__PURE__ */ jsx("section", { className: cn("bg-background py-24 sm:py-32", className), children: /* @__PURE__ */ jsxs("div", { className: "mx-auto flex max-w-3xl flex-col items-center gap-6 px-6 text-center lg:px-8", children: [
    eyebrow ? /* @__PURE__ */ jsx("div", { children: eyebrow }) : null,
    /* @__PURE__ */ jsx("h1", { className: "text-balance text-4xl font-semibold tracking-tight text-foreground sm:text-6xl", children: title }),
    description ? /* @__PURE__ */ jsx("p", { className: "max-w-2xl text-pretty text-lg text-muted-foreground", children: description }) : null,
    actions ? /* @__PURE__ */ jsx("div", { className: "flex flex-wrap items-center justify-center gap-4", children: actions }) : null,
    media ? /* @__PURE__ */ jsx("div", { className: "mt-8 w-full", children: media }) : null
  ] }) });
}

export { MarketingHero };
//# sourceMappingURL=marketing-hero.js.map
//# sourceMappingURL=marketing-hero.js.map