Currently we switch the home page banner intro text manually after each Election Day calendar milestone (day after registration closes, day after Advance Ballot deadline, day after Election Day, etc).
Let's automate that rotation with some pre-defined rules.
If we have special keys in the translations.json file for each milestone change, then the app can do the calendar math and automatically pick the banner text based on what day it is.
This ticket represents figuring out:
Currently we switch the home page banner intro text manually after each Election Day calendar milestone (day after registration closes, day after Advance Ballot deadline, day after Election Day, etc).
Let's automate that rotation with some pre-defined rules.
If we have special keys in the
translations.jsonfile for each milestone change, then the app can do the calendar math and automatically pick the banner text based on what day it is.This ticket represents figuring out: