This package has been deprecated

Author message:

[DEPRECATED] - This package is deprecated, and will no longer be maintained. Please check the hashicorp/react-components repository for a list of maintained packages, and file an issue if you need a replacement for this package.

@hashicorp/react-split-cta

2.1.8 • Public • Published

Hero

Double CTA section with image, text and buttons.

Params

Array of 2 objects with the following properties:

  • _data (obj): data passed in from datocms
  • background_color (str): [optional] hex code for background color of section
  • background_image (obj): [optional] url prop contains link to image
    • url (str)
    • format (str)
    • alt (str)
  • title (str): [optional] title of section, max 80 characters
  • title_logo (obj): [optional] url prop contains link to image. sits above headline.
    • url (str)
    • foramt (str)
    • alt (str)
  • description (str): paragraph text, max 150 characters
  • buttons (arr): [optional] array of link objects
    • title (str): primary button text
    • url (str): where the button links to
    • external (bool)
    • theme (str)

Depends On

  • hashi-button
  • hashi-image

Readme

Keywords

none

Package Sidebar

Install

npm i @hashicorp/react-split-cta

Weekly Downloads

37

Version

2.1.8

License

MPL-2.0

Unpacked Size

24.4 kB

Total Files

6

Last publish

Collaborators

  • abhishek-hashicorp
  • dstaley
  • cameronperera
  • alexju
  • consul-ui-services
  • wenincode-hashicorp
  • hashicb
  • britt.lindgren
  • paulhcp
  • nandereck
  • tstormk
  • hashibot-hds
  • lackeyjb1
  • youriwims
  • jpogran
  • _natmegs
  • thrashr888
  • melsumner
  • mwickett
  • didoo
  • zchsh
  • hcitsec
  • gregone
  • meirish
  • enmod
  • kaxcode
  • anubhavmishra-hashicorp
  • hashibot-web
  • cstitt-hashi
  • kstraut
  • mocohen
  • dhaulagiri