Hero Banner
Please note the changes below based on the Styles we can select. We can show the card, or hide the card and display text, but we cannot have another tile/column control on top of the background image appear with our current set up.
Additionally, we have a A11Y bug that needs to be addressed. Due to the <figurecaption>, screen readers are announcing the word "HAS DETAILS" before it reads the header and paragraph elements. This is on a spreadsheet I am tracking, but is not in Jira yet.
When the image is loading, there is also a default color of light cyan. We'd like the default color to be removed or to display white.
1a. Column control + Background image
Default Static Large Hero View
Note - alignment of card should match the reduced static large hero below.
REQUIREMENT: Remove padding left/right -
@media (min-width: 1024px) {
.static-large-hero-banner .row {
padding: var(--spacing-50) var(--spacing-140);
}
}
1b. Column control + Background image
Reduced Static Large Hero View
2a. Column control + Background image
Default Static Large Hero View + Background Slide Curve Mask
2b. Column control + Background image
Reduced Static Large Hero View + Background Slide Curve Mask
3a. Column control + Background image
Default Static Large Hero View + Background Slide Curve Mask + Remove Card View
BUG - Card view is not removed on the Default Static Hero. It is being removed correctly on Reduced style (see below)
3b. Column control + Background image
Reduced Static Large Hero View + Background Slide Curve Mask + Remove Card View
4a. Column control + Background image
Default Static Large Hero View + Background Slide Curve Mask + Hide Card
Note - We can hide the card, but cannot add any additional elements in the column control
4b. Column control + Background image
Reduced Static Large Hero View + Background Slide Curve Mask + Hide Card
Note - We can hide the card, but cannot add any additional elements in the column control
5a. Column control + Background image
Default Static Large Hero View + Background Slide Curve Mask + Hide Card
Note - We can hide the card, but cannot add any additional elements in the column control
5b. Column control + Background image
Reduced Static Large Hero View + Background Slide Curve Mask + Hide Card + Text color white
Note - We can hide the card, but cannot add any additional elements in the column control
6a. Column control + Background image
Default Static Large Hero View + Background Slide Curve Mask + Hide Card View + Text color white
Note - We can hide the card, but cannot add any additional elements in the column control
6b. Column control + Background image
Reduced Static Large Hero View + Background Slide Curve Mask + Hide Card + Text color white
Note - Text color white doesn't seem to work except under Background card transparent
Additional requests for hero banner
- Add new style for red vertical line:
Element label: Vertical Border Pointcode Red
New variable: Pointcode Red - #DB0020 - For home page, we need to have the card styled:
- background: var(--primary-600, #007394);
- border-radius: 16px;
- border: 1px solid #FFF;
- box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.25);
- Ability to add the two styled buttons (see figma)