Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/pages/blocks/superhero/centered/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Centered hero used for Index home pages.
## Syntax

```markdown
<Superhero slots="image, heading, text, buttons" variant="centered" textColor="white"/>
<Superhero slots="image, heading, text, buttons" variant="centered" textColor="white" overGradient/>

![Hero image](../../../assets/hero.png)

Expand All @@ -33,8 +33,9 @@ This is a sample description text with an [inline link](https://example.com) for
- `buttons` (optional)
- **background**: Background color (default: `rgb(29, 125, 238)`)
- **textColor**: Text color. Options: `black`, `white`, `gray`, `navy` (default: `white`)
- **overGradient**: Improves button visibility over a gradient background

<Superhero slots="image, heading, text, buttons" variant="centered" textColor="white"/>
<Superhero slots="image, heading, text, buttons" variant="centered" textColor="white" overGradient/>

![Hero image](../../../assets/hero.png)

Expand Down
5 changes: 3 additions & 2 deletions src/pages/blocks/superhero/centeredxl/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Extra-large centered hero used for Index home pages.
## Syntax

```markdown
<Superhero slots="image, heading, text, buttons" variant="centeredXL" background="rgb(51, 51, 51)" />
<Superhero slots="image, heading, text, buttons" variant="centeredXL" background="rgb(51, 51, 51)" overGradient/>

![Hero banner](../../../assets/hero.png)

Expand All @@ -33,8 +33,9 @@ This is a sample description text with an [inline link](https://example.com) for
- `buttons` (optional)
- **background**: Background color (default: `rgb(29, 125, 238)`)
- **textColor**: Text color. Options: `black`, `white`, `gray`, `navy` (default: `white`)
- **overGradient**: Improves button visibility over a gradient background

<Superhero slots="image, heading, text, buttons" variant="centeredXL" background="rgb(51, 51, 51)" />
<Superhero slots="image, heading, text, buttons" variant="centeredXL" background="rgb(51, 51, 51)" overGradient/>

![Hero banner](../../../assets/hero.png)

Expand Down
Loading