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 716] Add ProcessContent.tsx and process page update #788

Merged
merged 4 commits into from
Dec 4, 2023

Conversation

acouch
Copy link
Collaborator

@acouch acouch commented Dec 1, 2023

Summary

Fixes #716

Time to review: 10 mins

Changes proposed

Process intro section

Context for reviewers

NA

Additional information

The result isn't exactly a match on desktop b/c of the USWDS defaults:

image

@acouch acouch force-pushed the acouch/issue-716-process-intro branch from 6fd9ccd to c909619 Compare December 1, 2023 22:28
@acouch acouch marked this pull request as ready for review December 4, 2023 01:46
@@ -54,7 +54,7 @@ const Breadcrumbs = ({ breadcrumbList }: Props) => {

return (
<GridContainer
className="padding-y-1 tablet:padding-y-3 desktop-lg:padding-y-6"
className="padding-top-1 tablet:padding-top-3 desktop-lg:padding-top-4"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I wonder if this should be margin so it collapses with adjacent elements with more/less margin.

</p>
</Grid>
</Grid>
<Grid row gap className="flex-align-start">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Sammy and I talked about how this bit might be a reusable component, as there's a similar pattern of boxes on the research page.

Copy link
Collaborator

Choose a reason for hiding this comment

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

But this is probably fine for now. We can swap to a component later.

@@ -31,7 +32,7 @@ const Process: NextPage = () => {
/>
</FullWidthAlert>
<Breadcrumbs breadcrumbList={PROCESS_CRUMBS} />
Process Placeholder
<ProcessContent />
Copy link
Collaborator

@andycochran andycochran Dec 4, 2023

Choose a reason for hiding this comment

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

What are the benefits of putting the content in its own component, not just right in this page?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Never mind. Duh, There are multiple sections of the page. This splits them out. I was confused because of the name of ProcessContent, thinking it was the content for the whole Process page.

@andycochran
Copy link
Collaborator

Re: perfect pixels… We're not expecting an exact match. The Figma is just a mostly-accurate sketch. We'll just go with USWDS defaults.

@acouch acouch merged commit 293b47b into main Dec 4, 2023
8 checks passed
@acouch acouch deleted the acouch/issue-716-process-intro branch December 4, 2023 18:57
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]: Process page intro section
2 participants