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 336] Implement footer for static site #438

Merged
merged 22 commits into from
Aug 30, 2023

Conversation

daphnegold
Copy link
Contributor

@daphnegold daphnegold commented Aug 29, 2023

Summary

Fixes #336

Time to review: 8 mins

Changes proposed

  • Modify footer component to meet our needs
  • Create our own SocialLink mini component because the @trussworks one is not that useful for us (lives with footer now because it's not used anywhere else, could easily be moved and exported later)
  • Add rule to stop linter from complaining about <img> tags

Context for reviewers

Pull down branch, run make storybook and check out the layout and footer stories.

Additional information

Desktop

Screenshot 2023-08-30 at 11 04 02 AM

Mobile

Screenshot 2023-08-30 at 11 04 14 AM

@@ -9,6 +9,12 @@ module.exports = {
// https://nextjs.org/docs/basic-features/eslint
"next/core-web-vitals",
],
rules: {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is in next.js template now, added it here to prevent another ignore in this PR

@daphnegold daphnegold force-pushed the daphnegold/issue-336-footer branch from e2b563f to 920ca26 Compare August 30, 2023 16:36
@daphnegold daphnegold marked this pull request as ready for review August 30, 2023 17:20

return (
<Identifier data-testid="identifier">
<IdentifierMasthead aria-label="Agency identifier">
<IdentifierLogos>
<IdentifierLogo href="#">{logoImage()}</IdentifierLogo>
<IdentifierLogo href="#">{logoImage}</IdentifierLogo>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why was this even a function before? 🤷

@daphnegold daphnegold merged commit 49bca0c into main Aug 30, 2023
@daphnegold daphnegold deleted the daphnegold/issue-336-footer branch August 30, 2023 22:24
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 footer for static site
2 participants