Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • In Sanity, in the path, RBI Sanity Studio > Marketing Content > Components > Homepage Component > Hero there should be added a toggle to show/hide the Complementary CTA sub-section

    • The 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:

...