From 9e8e7910dcde370e5e5f2238d917b9c70485feb8 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Tue, 19 Nov 2024 10:59:58 -0800 Subject: [PATCH 1/8] added content and styling --- .../uswds/_uswds-theme-custom-styles.scss | 9 +- app/main/views/index.py | 8 + app/main/views/sub_navigation_dictionaries.py | 4 + app/templates/views/about/about.html | 4 +- app/templates/views/about/join-notify.html | 213 ++++++++++++++++++ tests/app/test_navigation.py | 1 + 6 files changed, 229 insertions(+), 10 deletions(-) create mode 100644 app/templates/views/about/join-notify.html diff --git a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss index da5d77bf2..377e28705 100644 --- a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss +++ b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss @@ -898,20 +898,13 @@ li.linked-card:hover svg, display: block; } -.about-icon-list { - display: flex; +.icon-list { width: 24px; height: 24px; padding: 2px 1px; - justify-content: center; - align-items: center; margin-right: 4px; } -.usa-icon-list__content{ - padding-left: 0; -} - .indented-paragraph { margin-left: calc(24px + 4px); margin-top: 4px; diff --git a/app/main/views/index.py b/app/main/views/index.py index 974e29211..9b78dcc98 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -295,6 +295,14 @@ def about_notify(): ) +@main.route("/about/join-notify") +def join_notify(): + return render_template( + "views/about/join-notify.html", + navigation_links=about_notify_nav(), + ) + + @main.route("/using-notify/guidance/create-and-send-messages") @user_is_logged_in def create_and_send_messages(): diff --git a/app/main/views/sub_navigation_dictionaries.py b/app/main/views/sub_navigation_dictionaries.py index b9fb7f8ae..79c5c9be8 100644 --- a/app/main/views/sub_navigation_dictionaries.py +++ b/app/main/views/sub_navigation_dictionaries.py @@ -113,4 +113,8 @@ def about_notify_nav(): "name": "About notify", "link": "main.about_notify", }, + { + "name": "Join Notify", + "link": "main.join_notify", + }, ] diff --git a/app/templates/views/about/about.html b/app/templates/views/about/about.html index 39dfce671..0ca7465d2 100644 --- a/app/templates/views/about/about.html +++ b/app/templates/views/about/about.html @@ -56,9 +56,9 @@ -

See if Notify is right for you

+

See if Notify is right for you

Notify.gov is a product of the Public Benefits Studio, a product accelerator inside the federal government.

From 8d5581505b27f8b197e89811b219bc6fd34d7a92 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Tue, 19 Nov 2024 12:34:51 -0800 Subject: [PATCH 4/8] a11y --- app/templates/views/about/join-notify.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/views/about/join-notify.html b/app/templates/views/about/join-notify.html index be1f3aea5..413f1c866 100644 --- a/app/templates/views/about/join-notify.html +++ b/app/templates/views/about/join-notify.html @@ -67,9 +67,9 @@

*We plan to offer plans with additional messages soon; please contact us if you need more messages so that we can understand your use case!

-

How to get started

+

How to get started

+ aria-labelledby="summary-box-how-to-get-started">

Interested in trying Notify.gov before signing an agreement? We can provide qualifying partners with access From 9e6dd5df891bdfaeb08370b01cd7b949a29b59cc Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Tue, 19 Nov 2024 18:10:29 -0800 Subject: [PATCH 5/8] links updated --- app/templates/views/about/join-notify.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/templates/views/about/join-notify.html b/app/templates/views/about/join-notify.html index 413f1c866..c40a633eb 100644 --- a/app/templates/views/about/join-notify.html +++ b/app/templates/views/about/join-notify.html @@ -151,13 +151,14 @@ }, { "heading": "My IT team has questions about how Notify.gov is built, where can I direct them to more information?", - "p_text": "To understand how Notify.gov works, see our Security page for the basics. If your IT team needs more + "p_text": "To understand how Notify.gov works, see our Security page for the + basics. If your IT team needs more information we’re happy to share a larger security package upon request.", "position": "b-a5", }, { "heading": "How does Notify.gov support our records retention policy?", - "p_text": "We are not a System of Record. For more see our Security page.", + "p_text": "We are not a System of Record. For more see our Security page.", "position": "b-a6", }, { From 86729608716208714f0862a08e5f5723774f235d Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Wed, 20 Nov 2024 11:14:09 -0800 Subject: [PATCH 6/8] content update --- app/templates/views/about/join-notify.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/templates/views/about/join-notify.html b/app/templates/views/about/join-notify.html index c40a633eb..ebef1fb56 100644 --- a/app/templates/views/about/join-notify.html +++ b/app/templates/views/about/join-notify.html @@ -20,8 +20,10 @@ agencies, or to the public.

- Non-federal agencies (state, local, territorial, or tribal governments) who administer or deliver federally-funded - services may qualify to use Notify.gov. These programs must specify which federal program the messages they want to + + Non-federal agencies (state, local, territorial, or tribal governments) who administer or deliver federally-funded + services + may qualify to use Notify.gov. These programs must specify which federal program the messages they want to send are related to. The Notify.gov team confirms our authority to work with these programs as part of our agreements process.

From cce4997c63f3d632f390cbf8153fe4ba8f3de162 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Wed, 4 Dec 2024 14:22:59 -0800 Subject: [PATCH 7/8] moved join-notify out of about --- app/main/views/index.py | 4 ++-- app/main/views/sub_navigation_dictionaries.py | 4 ---- app/templates/views/{about => }/join-notify.html | 6 ++---- 3 files changed, 4 insertions(+), 10 deletions(-) rename app/templates/views/{about => }/join-notify.html (98%) diff --git a/app/main/views/index.py b/app/main/views/index.py index 1b28f81dc..7b273b1d2 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -301,10 +301,10 @@ def why_text_messaging(): ) -@main.route("/about/join-notify") +@main.route("/join-notify") def join_notify(): return render_template( - "views/about/join-notify.html", + "views/join-notify.html", ) diff --git a/app/main/views/sub_navigation_dictionaries.py b/app/main/views/sub_navigation_dictionaries.py index ec5f06169..603094cd1 100644 --- a/app/main/views/sub_navigation_dictionaries.py +++ b/app/main/views/sub_navigation_dictionaries.py @@ -114,8 +114,4 @@ def about_notify_nav(): }, ], }, - { - "name": "Join Notify", - "link": "main.join_notify", - }, ] diff --git a/app/templates/views/about/join-notify.html b/app/templates/views/join-notify.html similarity index 98% rename from app/templates/views/about/join-notify.html rename to app/templates/views/join-notify.html index ebef1fb56..2c154bf72 100644 --- a/app/templates/views/about/join-notify.html +++ b/app/templates/views/join-notify.html @@ -2,12 +2,10 @@ {% set page_title = "Join Notify" %} -{% block per_page_title %} -{{page_title}} -{% endblock %} +{% block per_page_title %}{{page_title}}{% endblock %} {% block content_column_content %} - +

{{page_title}}

Who is Notify.gov for?

From 83c21ecefbbd4a971ad9302549ba948732049c20 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Wed, 4 Dec 2024 14:33:05 -0800 Subject: [PATCH 8/8] fixed flake8 --- app/main/views/index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/main/views/index.py b/app/main/views/index.py index 7b273b1d2..7c7a347f7 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -285,6 +285,7 @@ def about_notify(): navigation_links=about_notify_nav(), ) + @main.route("/about/security") def about_security(): return render_template(