#590 - Adapt homepage redesign changes (#597)

* - Change content
- Edit the homepage images #521
- Remove account creation option
- Remove navigation
- Remove links to Notify docs in footer

* Updated alt text, jinja comment consistency for the footer
This commit is contained in:
Jonathan Bobel
2023-07-06 10:33:27 -04:00
committed by GitHub
parent 34c6dd215c
commit f570bb5015
6 changed files with 85 additions and 60 deletions

View File

@@ -379,20 +379,21 @@ def test_a_page_should_nave_selected_navigation_item(
assert len(selected_nav_items) == 1
assert selected_nav_items[0].text.strip() == selected_nav_item
# Hiding nav for the pilot, will uncomment after
@pytest.mark.parametrize('endpoint, selected_nav_item', [
# ('main.documentation', 'Documentation'),
('main.support', 'Contact us'),
])
def test_a_page_should_nave_selected_header_navigation_item(
client_request,
endpoint,
selected_nav_item,
):
page = client_request.get(endpoint, service_id=SERVICE_ONE_ID)
selected_nav_items = page.select('nav.usa-nav a.usa-nav__link.usa-current')
assert len(selected_nav_items) == 1
assert selected_nav_items[0].text.strip() == selected_nav_item
# @pytest.mark.parametrize('endpoint, selected_nav_item', [
# # ('main.documentation', 'Documentation'),
# ('main.support', 'Contact us'),
# ])
# def test_a_page_should_nave_selected_header_navigation_item(
# client_request,
# endpoint,
# selected_nav_item,
# ):
# page = client_request.get(endpoint, service_id=SERVICE_ONE_ID)
# selected_nav_items = page.select('nav.usa-nav a.usa-nav__link.usa-current')
# assert len(selected_nav_items) == 1
# assert selected_nav_items[0].text.strip() == selected_nav_item
@pytest.mark.parametrize('endpoint, selected_nav_item', [