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 357 ] Identifier section #398

Merged
merged 10 commits into from
Aug 23, 2023

Conversation

SammySteiner
Copy link
Contributor

Summary

Fixes #357

Time to review: 10 minutes

Changes proposed

  • Added Identifier Component
  • Added english content for identifier component
  • Added test
  • Added story

Context for reviewers

I found and used the HHS logo, based on this usage documentation: https://www.hhs.gov/web/policies-and-standards/web-policies/logo-seal-and-symbol-policies/index.html#logo
Got the white version, for black backgrounds, here: https://www.hhs.gov/web/services-and-resources/icon-and-widget-library/index.html
I assume that all checks out.

Additional information

Desktop

image

Mobile

image

Story

image

Test Coverage

image

@SammySteiner SammySteiner marked this pull request as ready for review August 22, 2023 20:40
Copy link
Collaborator

@andycochran andycochran left a comment

Choose a reason for hiding this comment

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

Approved w/ nits you can ignore.

/>
</IdentifierIdentity>
</IdentifierMasthead>
<IdentifierLinks navProps={{ "aria-label": "Important links" }}>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just a thought/question (please take w/ a grain of salt): Would it be possible to loop thru these links and code the element only once? Haven't thought thru exactly how that'd work… it'd mean moving the URIs to a separate file with their texts, a lookup table (ew), or something. Anyway, other NextJS projects Nave has kept all external links in an object (routes.external.[agency]) in the routes file. Maybe we don't need that much organization yet, or need to over-optimize, and hardcoding here is fine. 🤷

Copy link
Contributor Author

@SammySteiner SammySteiner Aug 23, 2023

Choose a reason for hiding this comment

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

@andycochran Is this what you had in mind?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ooh! Slick. Yeah. I like that the markup is just in there once, and it'll be easy if we need to add/edit/remove links.

@SammySteiner SammySteiner merged commit 38953f7 into main Aug 23, 2023
@SammySteiner SammySteiner deleted the sammysteiner/issue-357-identifier-section branch August 23, 2023 18:08
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.

[Task]: Implement identifier section to static site
3 participants