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 Secondary Complementary CTA

    • The current sub-section Complementary CTA should be renamed to Secondary Complementary CTA Configuration

    • 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 secondary 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 secondary complementary CTA

  • It should not be a permanent LD flag

...

  • Today in Sanity’s Hero Component there’s a Reversed option that can be toggled on that enables a background color and changes the texts and buttons to a light color

What Needs to Change

  • The Reversed toggle There should be renamed to 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

    • 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 reduced

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

    • The Reversed toggle option should be removed from Sanity’s UI

    • If the Reversed toggle was on when deprecated it should now point and default to the new Background Color toggle defaulting to the on state in the respective colors:

      • Burger King

        • Brown

      • Popeyes

        • Orange

      • Firehouse Subs

        • Red

  • It should not be a permanent LD flag

...