...
There should be added a new toggle option named
Background Color
The description of the toggle should be updated to “Turn this on to add and choose a background color for the homepage Hero.”
When the
Background Color
toggle is on it should show:A dropdown to choose the background color with the following options:
Burger King:
Brown (default option)
Elements over this background should be displayed in their reversed (light color) version
Red
Elements over this background should be displayed in their reversed (light color) version
Green
Elements over this background should be displayed in their reversed (light color) version
Orange
Yellow
Popeyes:
Orange (default option)
Elements over this background should be displayed in their reversed (light color) version
Purple
Elements over this background should be displayed in their reversed (light color) version
Firehouse Subs:
Red (default option)
Elements over this background should be displayed in their reversed (light color) version
Yellow
There is no needed to become the dropdown as required, because there will be default values selected on dropdown.
Another toggle named
Split Background
The
Split Background
toggle should have the following description: “Turn this on to split the background color.”By turning the
Split Background
toggle on the background color area should be reducedThe Heading and Sub-Heading should be displayed over the colored background
The CTAs should be displayed below the colored background area
The background color of the bottom portion should not be configurable
The
Reversed
toggle should be deprecatedThe
Reversed
toggle option should be removed from Sanity’s UIIf the
Reversed
toggle was on when deprecated it should now point and default to the newBackground Color
toggle defaulting to theon
state in the respective colors:Burger King
Brown
Popeyes
Orange
Firehouse Subs
Red
It should not be a permanent LD flag
...
Story 1: Secondary button as optional
Story 2: Expand with on primary button
Story 4: Background color optional
Background color optional
...