@hashicorp/hashi-split-cta

1.0.0 • 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/hashi-split-cta

Weekly Downloads

0

Version

1.0.0

License

none

Unpacked Size

9.12 kB

Total Files

4

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