Skip to content

Commit

Permalink
Merge pull request #2246 from GSA/2240-add-join-notify-to-the-main-nav
Browse files Browse the repository at this point in the history
add side nav to join notify and contact page
  • Loading branch information
jonathanbobel authored Jan 8, 2025
2 parents 1aa589b + 227675c commit 7534de0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions app/main/views/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@ def guidance_index():
def contact():
return render_template(
"views/contact.html",
navigation_links=about_notify_nav(),

)


Expand Down Expand Up @@ -313,6 +315,8 @@ def why_text_messaging():
def join_notify():
return render_template(
"views/join-notify.html",
navigation_links=about_notify_nav(),

)


Expand Down
2 changes: 1 addition & 1 deletion app/main/views/sub_navigation_dictionaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def about_notify_nav():
"link": "main.join_notify",
},
{
"name": "Contact",
"name": "Contact us",
"link": "main.contact",
},
]
2 changes: 1 addition & 1 deletion app/templates/components/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 7534de0

Please sign in to comment.