From ba44ff5e8e2754595e89c93e4987ccec736c194a Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Thu, 14 Nov 2024 09:58:04 -0800 Subject: [PATCH] content added --- app/assets/images/calendar.svg | 9 ++ app/assets/images/checklist.svg | 9 ++ app/assets/images/reminder.svg | 10 ++ app/main/views/index.py | 10 ++ app/main/views/sub_navigation_dictionaries.py | 9 ++ .../views/about/why-text-messaging.html | 148 ++++++++++++++++++ tests/app/test_navigation.py | 1 + 7 files changed, 196 insertions(+) create mode 100644 app/assets/images/calendar.svg create mode 100644 app/assets/images/checklist.svg create mode 100644 app/assets/images/reminder.svg create mode 100644 app/templates/views/about/why-text-messaging.html diff --git a/app/assets/images/calendar.svg b/app/assets/images/calendar.svg new file mode 100644 index 000000000..68ef9c102 --- /dev/null +++ b/app/assets/images/calendar.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/app/assets/images/checklist.svg b/app/assets/images/checklist.svg new file mode 100644 index 000000000..54757ba12 --- /dev/null +++ b/app/assets/images/checklist.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/app/assets/images/reminder.svg b/app/assets/images/reminder.svg new file mode 100644 index 000000000..97cf8f3f5 --- /dev/null +++ b/app/assets/images/reminder.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/app/main/views/index.py b/app/main/views/index.py index 28ede59d1..2804b91f5 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -10,6 +10,7 @@ from app.formatters import apply_html_class, convert_markdown_template from app.main import main from app.main.views.pricing import CURRENT_SMS_RATE from app.main.views.sub_navigation_dictionaries import ( + about_notify_nav, best_practices_nav, features_nav, using_notify_nav, @@ -270,6 +271,15 @@ def benchmark_performance(): ) +@main.route("/about/why-text-messaging") +@user_is_logged_in +def why_text_messaging(): + return render_template( + "views/about/why-text-messaging.html", + navigation_links=about_notify_nav(), + ) + + @main.route("/using-notify/guidance") @user_is_logged_in def guidance_index(): diff --git a/app/main/views/sub_navigation_dictionaries.py b/app/main/views/sub_navigation_dictionaries.py index 0689c198d..e7001c95e 100644 --- a/app/main/views/sub_navigation_dictionaries.py +++ b/app/main/views/sub_navigation_dictionaries.py @@ -101,3 +101,12 @@ def best_practices_nav(): "link": "main.benchmark_performance", }, ] + + +def about_notify_nav(): + return [ + { + "name": "Why text messaging", + "link": "main.why_text_messaging", + }, + ] diff --git a/app/templates/views/about/why-text-messaging.html b/app/templates/views/about/why-text-messaging.html new file mode 100644 index 000000000..4c9ae2a62 --- /dev/null +++ b/app/templates/views/about/why-text-messaging.html @@ -0,0 +1,148 @@ +{% extends "base.html" %} + +{% set page_title = "Why text messaging" %} + +{% block per_page_title %} +{{page_title}} +{% endblock %} + +{% block content_column_content %} + +
+

{{page_title}}

+ +

Reach people using a common method

+

+ Confusing or unreceived notifications are one of the largest barriers to people getting and keeping + benefits. The typical ways the government communicates with people often fall short. Low income households are more + likely to experience housing instability, which means paper mail, already slow, can easily be missed. +

+ +

+ Pew Research shows that nearly all adults in the US have a cell phone. Reliance on smartphones + for online access is especially common among Americans with lower household incomes and those with lower levels of + formal education. Of those earning less than $30,000 a year, 28% say their mobile phone is the sole method to + digitally connect. +

+

+ This means that for many people who rely on government services, cell phones may be the most reliable place to meet + people where they already are. +

+

Improve customer experience

+

+ Text messages can deliver concise information and drive an audience to take action quickly. Timely reminders sent + via text message have been proven to decrease re-enrollment churn and save money for administering agencies. +

+

+ Texting not only helps programs reach people using a nearly-universal communication method, it is a cost effective + way to do so. With Notify.gov you can get started for free, allowing you to try out + texting to complement your existing communications and outreach strategies. +

+

What texting is best for

+ Agencies, like you, are already using Notify.gov to text about the following programs. + {% set card_contents = [ + { + "svg_src": "calendar", + "card_heading": "Reminders", + "p_text": "In a text bubble // Your Quality Control food phone interview is on ((date)) at ((time)). Failure to + attend may lead + to closure of your benefits. Call 1-800-222-3333 with questions.", + "link": "/best-practices/clear-goals" + }, + { + "svg_src": "reminder", + "card_heading": "Alerts to take action", + "p_text": " In a text bubble // Your household's Medicaid coverage is expiring. To keep getting Medicaid, you must + complete your renewal by ((date)). You can renew online at dhs.state.gov…", + "link": "/best-practices/rules-and-regulations" + }, + { + "svg_src": "checklist", + "card_heading": "Important status updates", + "p_text": "In a text bubble // Your passport has been issued at the Los Angeles Passport Agency. Please come to the + desk + between + 1:30pm and 2:30pm today to pick up your passport…", + "link": "/best-practices/establish-trust" + }, + ] %} + {% for item in card_contents %} +
+

{{item.card_heading}}

+

{{item.p_text}}

+ +
+ {% endfor %} + + + +
+{% endblock %} diff --git a/tests/app/test_navigation.py b/tests/app/test_navigation.py index 8bf52d803..03f8e8c86 100644 --- a/tests/app/test_navigation.py +++ b/tests/app/test_navigation.py @@ -256,6 +256,7 @@ EXCLUDED_ENDPOINTS = tuple( "view_template_version", "view_template_versions", "who_its_for", + "why_text_messaging", "write_for_action", }, )