import { t as e } from "../../chunks/clsx.js";
import { jsx as t } from "react/jsx-runtime";
//#region lib/ui/frame/FrameTitle.tsx
var n = ({ children: n, className: r, coverLink: i = !1, hasImage: a = !1, href: o, onClick: s, ...c }) => {
	let l = !!o, u = l ? "a" : "div", d = l ? {
		href: o,
		onClick: s
	} : null;
	return /* @__PURE__ */ t(u, {
		className: e("pointer-events-auto flex w-full gap-x-8 px-12 pb-12 sm:px-24 sm:pb-24", {
			"justify-center text-center": !n,
			"h-full items-end": i,
			"mt-auto h-auto": !i,
			"text-white": a,
			"text-black": !a
		}, r),
		...d,
		...c,
		children: n
	});
};
//#endregion
export { n as FrameTitle };

//# sourceMappingURL=FrameTitle.js.map