From f176e86546b4fe8cd131c2952624a3bd5bdaef06 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Fri, 3 Jan 2025 15:05:55 -0800 Subject: [PATCH 1/3] add side nav --- app/main/views/index.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/main/views/index.py b/app/main/views/index.py index fe147fb72..fa18b0998 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -282,6 +282,8 @@ def guidance_index(): def contact(): return render_template( "views/contact.html", + navigation_links=about_notify_nav(), + ) @@ -313,6 +315,8 @@ def why_text_messaging(): def join_notify(): return render_template( "views/join-notify.html", + navigation_links=about_notify_nav(), + ) From 322c23ab2f1fb8da3c0bb7d0104875d2556ad43e Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Tue, 7 Jan 2025 15:49:32 -0800 Subject: [PATCH 2/3] contact us --- app/templates/components/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/components/header.html b/app/templates/components/header.html index 847ac2d30..339e07518 100644 --- a/app/templates/components/header.html +++ b/app/templates/components/header.html @@ -41,7 +41,7 @@ {% set navigation = navigation + [ {"href": url_for('main.about_notify'), "text": "About Notify", "active": request.path == '/about'}, {"href": url_for('main.join_notify'), "text": "Join Notify", "active": request.path == '/join-notify'}, - {"href": url_for('main.contact'), "text": "Contact", "active": request.path == '/contact'} + {"href": url_for('main.contact'), "text": "Contact us", "active": request.path == '/contact'} ] %} {% endif %} {% endif %} From 89ed31475d74b02ac3a738a424013d0a83995dd5 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Tue, 7 Jan 2025 15:54:03 -0800 Subject: [PATCH 3/3] contact us side nav --- app/main/views/sub_navigation_dictionaries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/views/sub_navigation_dictionaries.py b/app/main/views/sub_navigation_dictionaries.py index 9bd008842..0e896b64e 100644 --- a/app/main/views/sub_navigation_dictionaries.py +++ b/app/main/views/sub_navigation_dictionaries.py @@ -119,7 +119,7 @@ def about_notify_nav(): "link": "main.join_notify", }, { - "name": "Contact", + "name": "Contact us", "link": "main.contact", }, ]