// cta.jsx: single source of truth for where the site's CTAs point.
//
// Sendorai is live and self-serve now: every primary CTA sends visitors to
// sign up in the app. Pricing tiers are shown on the marketing site (see
// Pricing.jsx) but the actual Stripe checkout happens inside the app, after
// signup, on the Billing page.

function ctaConfig({ place = "hero" } = {}) {
  return {
    href: window.APP_URL + "/signup",
    label: place === "nav" ? "Get started" : "Get started free",
    external: true,
  };
}

Object.assign(window, { ctaConfig });
