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 362 ] Ways to Get Involved Content #385

Merged
merged 7 commits into from
Aug 22, 2023

Conversation

SammySteiner
Copy link
Contributor

Summary

Fixes #362

Time to review: 10 min

Changes proposed

  • Added Ways to Get Involved content
  • Included test for content
  • Included story for content

Context for reviewers

  • We're missing some of the ways to get involved, I included one as a tbd email. Do we want to handle that another way?

Additional information

desktop width:

image

mobile width:

image

Storybook

image

Test Coverage

image

@SammySteiner SammySteiner marked this pull request as ready for review August 18, 2023 19:30
@SammySteiner SammySteiner changed the title component, story, test [ Issue 362 ] Ways to Get Involved Content Aug 21, 2023
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/ comments.

<a href="https://github.com/HHS/grants-equity/blob/main/documentation/milestones/milestone_short_descriptions.md" />
),
github: <a href="https://github.com/HHS/grants-equity" />,
email: <a href="mailto: [email protected]" />,
Copy link
Collaborator

Choose a reason for hiding this comment

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

@sumiat, did you get an answer on which email we should be using here?
(Even so, we can update this in a subsequent PR.)

Comment on lines 5 to 9
describe("Hero", () => {
it("Renders without errors", () => {
render(<WtGIContent />);
const hero = screen.getByTestId("wtgi-content");
expect(hero).toBeInTheDocument();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is "hero" a copy/paste holdover?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, yes it was. Thanks for catching!


import WtGIContent from "src/components/WtGIContent";

describe("Hero", () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

This test still says "Hero"

@SammySteiner SammySteiner merged commit 0563ff9 into main Aug 22, 2023
@SammySteiner SammySteiner deleted the sammysteiner/issue-362-wtgi-content branch August 22, 2023 16:34
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 Ways to Get Involved Section for static site
4 participants