0.3.0 • Published 8 years ago
@hashicorp-tmp/hashi-hero v0.3.0
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