diff --git a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss index 0ade40a10..4f41a8623 100644 --- a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss +++ b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss @@ -672,6 +672,6 @@ details form { border-radius: 7px; } -#guidance-h1 { - margin-top: 0 !important; +.usa-prose.margin-top-0 { + margin-top: 0; } diff --git a/app/main/views/index.py b/app/main/views/index.py index 007c01f4d..07be634fc 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -186,7 +186,7 @@ def trial_mode_new(): @user_is_logged_in def guidance(): return render_template( - "views/guidance/index.html", + "views/guidance/guidance.html", navigation_links=guidance_nav(), ) @@ -195,9 +195,8 @@ def guidance(): @user_is_logged_in def clear_goals(): return render_template( - "views/guidance/index.html", + "views/guidance/clear-goals.html", navigation_links=guidance_nav(), - title="Clear Goals", ) @@ -205,9 +204,8 @@ def clear_goals(): @user_is_logged_in def rules_and_regulations(): return render_template( - "views/guidance/index.html", + "views/guidance/rules-and-regulations.html", navigation_links=guidance_nav(), - title="Rules and Regulations", ) @@ -215,9 +213,8 @@ def rules_and_regulations(): @user_is_logged_in def establish_trust(): return render_template( - "views/guidance/index.html", + "views/guidance/establish-trust.html", navigation_links=guidance_nav(), - title="Establish Trust", ) @@ -241,16 +238,6 @@ def multiple_languages(): ) -@main.route("/guidance/get-the-word-out") -@user_is_logged_in -def get_the_word_out(): - return render_template( - "views/guidance/index.html", - navigation_links=guidance_nav(), - title="Get the Word Out", - ) - - @main.route("/guidance/as-people-receive-text") @user_is_logged_in def as_people_receive_text(): diff --git a/app/main/views/sub_navigation_dictionaries.py b/app/main/views/sub_navigation_dictionaries.py index 94ab358ae..d49f415f1 100644 --- a/app/main/views/sub_navigation_dictionaries.py +++ b/app/main/views/sub_navigation_dictionaries.py @@ -80,11 +80,11 @@ def guidance_nav(): "sub_navigation_items": [ { "name": "Get the word out", - "link": "main.get_the_word_out", + "link": "main.establish_trust#get-the-word-out", }, { "name": "As people receive texts", - "link": "main.as_people_receive_text", + "link": "main.establish_trust#as-people-receive-texts", }, ], }, diff --git a/app/templates/base.html b/app/templates/base.html index efa6c7408..f78ca0f2e 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -53,7 +53,24 @@
+ {{item.p_text}} +
+