@hashicorp-tmp/hashi-hero

0.3.0 • Public • Published

Hero

Basic full page hero with a lot of customization options.

Params

  • centered (bool): [optional] centers all content if true
  • _data (obj): data passed in from datocms
  • background_image (obj): [optional] url prop contains link to image
  • title_logo (obj): [optional] url prop contains link to image. sits above headline.
  • title (str): main title
  • description (str): smaller text under the subtitle, markdown enabled
  • buttons (arr): [optional] array of link objects
    • title (str): primary button text
    • url (str): where the button links to
  • help_text (str): [optional] markdown, usually a small link at bottom
  • centered (bool): centers all content if true

Depends On

  • hashi-button
  • hashi-image
  • hashi-alert

Readme

Keywords

none

Package Sidebar

Install

npm i @hashicorp-tmp/hashi-hero

Weekly Downloads

1

Version

0.3.0

License

none

Last publish

Collaborators

  • jescalan