...
In Sanity, in the path,
RBI Sanity Studio > Marketing Content > Components > Homepage Component > Hero
there should be added a toggle to show/hide theComplementary CTA
sub-sectionThe toggle should be named
Show Complementary CTA
Everything else should be kept the same as today
The toggle should be on by default so it doesn’t break existing markets currently using the complementary CTA
When the secondary CTA toggle is off, the height of the hero should be reduced/adjusted to eliminate the space occupied by the complementary CTA
It should not be a permanent LD flag
Hero component on Sanity:
Add one flag Show complementary CTA above Complementary CTA field group
If the flag is turned on, the Complementary CTA must become required.
Display on Hero component on the site/app:
If the flag is turned on AND there is text on the Complementary CTA text field, the button will be displayed on the Hero.
If the flag is turned on, BUT there is NO text on the Complementary CTA text field, the button will NOT be displayed on the Hero.
If the flag is turned off, BUT there is text on the Complementary CTA text field, the button will NOT be displayed on the Hero.
If the flag is turned off, AND there is NO text on the Complementary CTA text field, the button will NOT be displayed on the Hero.
Designs:
Burger King: https://www.figma.com/file/RtD0UFtwuwXx14lbLCAPlr/Burger-King?node-id=2837%3A83001&t=6vGuil8CU4c3vOzP-1
Popeyes: https://www.figma.com/file/sfH3mHXoEUfHbm5qMul0Vn/Popeyes?node-id=1830%3A84009&t=zNRPSr8NnlQB10C0-1
Firehouse Subs: https://www.figma.com/file/99e6no9JN7fxiFdjWHRXC7/Firehouse-Subs?node-id=217%3A95839&t=DNksX5RjI3ZEfBeU-1
...