Updating new home page styles to use more from the USWDS, and make sure it's responsive and accessible

This commit is contained in:
Jonathan Bobel
2024-12-13 12:37:11 -05:00
parent 92f3794e61
commit 1486680293
8 changed files with 151 additions and 122 deletions

View File

@@ -174,8 +174,12 @@ def create_app(application):
@application.context_processor
def inject_feature_flags():
feature_best_practices_enabled = application.config.get("FEATURE_BEST_PRACTICES_ENABLED", False)
feature_about_page_enabled = application.config.get("FEATURE_ABOUT_PAGE_ENABLED", False)
feature_best_practices_enabled = application.config.get(
"FEATURE_BEST_PRACTICES_ENABLED", False
)
feature_about_page_enabled = application.config.get(
"FEATURE_ABOUT_PAGE_ENABLED", False
)
return dict(
FEATURE_BEST_PRACTICES_ENABLED=feature_best_practices_enabled,
FEATURE_ABOUT_PAGE_ENABLED=feature_about_page_enabled,
@@ -205,7 +209,7 @@ def create_app(application):
url = url.replace("NONCE", nonce)
url = url.replace("STATE", state)
return {'initial_signin_url': url}
return {"initial_signin_url": url}
notify_environment = os.environ["NOTIFY_ENVIRONMENT"]