"use client";
'use strict';

var clsx = require('clsx');
var tailwindMerge = require('tailwind-merge');
var img = require('@page-speed/img');
var jsxRuntime = require('react/jsx-runtime');

// lib/utils.ts
function cn(...inputs) {
  return tailwindMerge.twMerge(clsx.clsx(inputs));
}
var defaultAuthor = {
  name: "Jordan Mitchell",
  role: "Founder & CEO"
};
function AboutMinimalStory({
  title = "Our Story",
  content = `Every great company starts with a simple idea. Ours was born from frustration with the complexity of modern software development. We believed there had to be a better way.

In 2019, our founders came together with a shared vision: make building software as intuitive as using it. What started as a side project quickly grew into something bigger as more developers discovered our tools.

Today, we're proud to serve thousands of teams worldwide, from solo entrepreneurs to Fortune 500 companies. But our mission remains the same: empower everyone to build the software they need.`,
  author = defaultAuthor,
  authorSlot,
  featuredImage,
  className,
  containerClassName,
  contentClassName,
  titleClassName,
  bodyClassName,
  authorClassName,
  imageClassName,
  optixFlowConfig
}) {
  const renderAuthor = () => {
    if (authorSlot) return authorSlot;
    if (!author) return null;
    return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mb-12 flex items-center gap-4", authorClassName), children: [
      author.avatar ? /* @__PURE__ */ jsxRuntime.jsx(
        img.Img,
        {
          src: author.avatar.src,
          alt: author.avatar.alt,
          className: "h-16 w-16 rounded-full object-cover",
          optixFlowConfig
        }
      ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-16 w-16 items-center justify-center rounded-full bg-primary text-2xl font-bold text-primary-foreground", children: author.name.charAt(0) }),
      /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
        /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-semibold", children: author.name }),
        /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: author.role })
      ] })
    ] });
  };
  return /* @__PURE__ */ jsxRuntime.jsx("section", { className: cn("py-32", className), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mx-auto max-w-3xl", contentClassName), children: [
    (authorSlot || author) && renderAuthor(),
    title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn("text-4xl font-bold tracking-tight md:text-5xl", titleClassName), children: title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: titleClassName, children: title })),
    content && (typeof content === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mt-8 text-lg leading-relaxed text-muted-foreground whitespace-pre-line", bodyClassName), children: content }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mt-8", bodyClassName), children: content })),
    featuredImage && /* @__PURE__ */ jsxRuntime.jsx(
      img.Img,
      {
        src: featuredImage.src,
        alt: featuredImage.alt,
        className: cn("mt-12 w-full rounded-2xl object-cover", imageClassName),
        optixFlowConfig
      }
    )
  ] }) }) });
}

exports.AboutMinimalStory = AboutMinimalStory;
//# sourceMappingURL=about-minimal-story.cjs.map
//# sourceMappingURL=about-minimal-story.cjs.map