Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #564 - No clear indicator in the header re: what page you're currently viewing #571

Conversation

hilarysk
Copy link
Contributor

@hilarysk hilarysk commented May 8, 2024

What does this PR do?

I didn't realize with forking that you can't branch off a different forked branch, so #567 should be merged first (this PR is branched from that PR).

  1. Makes the gray in the navigation WCAG-compliant.
  2. Adds a navigation indicator re: what section you're exploring.
  3. Styles flash alert and notice
  4. Redirects if you attempt to visit a tag show page for a tag that doesn't exist.
Why was this work done? Is there a related Issue?

Issue #564

Where should a reviewer start?

Probably the new Navigation Helper.

Are there any manual testing steps?

Load the site locally and click around.

Screenshots

Screen Shot 2024-05-08 at 12 26 35 PM Screen Shot 2024-05-08 at 12 21 25 PM Screen Shot 2024-05-08 at 12 21 19 PM Screen Shot 2024-05-08 at 2 45 42 PM Screen Shot 2024-05-08 at 2 37 24 PM

Deployment instructions

N/A

Database changes

N/A

New ENV variables

N/A

@hilarysk hilarysk force-pushed the hilarysk/issue-564-no-clear-indicator-in-the-header-re-what-page-youre-currently-viewing branch from 1635e92 to 887976f Compare May 8, 2024 18:49
}

.navigation a {
color: #9b9b9b;
margin-left: 20px;
color: #757575;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

darkens slightly to meet color contrast guidelines

@@ -141,9 +164,15 @@ fieldset.fieldset legend {
margin-right: 0;
}

.navigation ul li.active {
border-bottom: 0;
font-weight: 500;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The underline looked odd on responsive, so I switched to bold for smaller screens:

Screen Shot 2024-05-08 at 2 15 55 PM

@nodunayo nodunayo merged commit 36b3a0e into nodunayo:master May 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants