ESLint Components

Components used across this site.

Hero

The hero sections typically includes:

  • a title
  • supporting text
  • buttons: one primary button, or a primary and a secondary button

Usage

<!-- import the macro -->


<!-- use the macro -->
{ { hero({
title: "Sponsors",
supporting_text: "171 companies, organizations, and individuals are currently contributing $13137.84 each month to support ESLint's ongoing maintenance and development.",
buttons: {
primary: {
primaryText: "Become a sponsor",
primaryURL: "/donate/"
}
}
}) } }

Example

Sponsors

171 companies, organizations, and individuals are currently contributing $13137.84 each month to support ESLint's ongoing maintenance and development.