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

Adds "intro" key to front matter for intro paragraph #169

Merged
merged 7 commits into from
Jul 7, 2023

Conversation

brentryanjohnson
Copy link
Contributor

@brentryanjohnson brentryanjohnson commented Jul 7, 2023

  • Several design mockups have a custom-styled opening paragraph.
  • This PR adds a new intro key to relevant front matter (for pages that have already been merged) for the developers to hook onto in layout for the purpose of styling this intro paragraph.

Warning
This change is incomplete, since it requires the addition of the intro to page layouts. (see #170) #172 addresses this

Note
This change temporarily removes the opening paragraph of the relevant pages (since, if retained, the content would be duplicated when the engineers add the intro at the layout level).

I believe the design intention is to use the usa-intro class for this paragraph, but it will require custom font and color that is not default in USWDS.

I will also add the "intro" field to the relevant content docs in google drive

@mark-meyer
Copy link
Contributor

Hi Ryan, this is super-helpful. I tagged you in a PR into this branch to add the intro text into the template.

@mark-meyer mark-meyer merged commit 934f128 into main Jul 7, 2023
1 check passed
@brentryanjohnson brentryanjohnson deleted the rj-about-section-intros branch September 11, 2023 19:54
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.

2 participants