UNPKG

@medalsocial/meda

Version:

Shared Meda UI shell and runtime package.

6 lines (5 loc) 737 B
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { cx } from './utils.js'; export function MarketingCTA({ eyebrow, title, subtitle, ctas, className }) { return (_jsxs("section", { className: cx('mx-auto w-full max-w-4xl px-6 py-24 text-center', className), children: [eyebrow && _jsx("p", { className: "mb-3 text-sm font-semibold text-primary", children: eyebrow }), _jsx("h2", { className: "mx-auto max-w-3xl text-4xl font-semibold sm:text-5xl", children: title }), subtitle && (_jsx("p", { className: "mx-auto mt-4 max-w-xl text-base text-muted-foreground sm:text-lg", children: subtitle })), ctas && _jsx("div", { className: "mt-8 flex flex-wrap items-center justify-center gap-3", children: ctas })] })); }