Skip to content

USWDS-Tutorial: Update banner markup #21

Merged
mejiaj merged 2 commits intomainfrom
cm-update-banner-code
Nov 29, 2023
Merged

USWDS-Tutorial: Update banner markup #21
mejiaj merged 2 commits intomainfrom
cm-update-banner-code

Conversation

@mahoneycm
Copy link
Copy Markdown
Contributor

@mahoneycm mahoneycm commented Sep 14, 2023

Summary

Updated banner markup to reflect the latest changes as of 3.6.0

Related Issue

Closes #20

Problem statement

The include banner markup fell out of date with USWDS current banner markup. This is evident in some of the classes and component text.

Solution

Replace markup with component example code from our site. I made sure to update file paths to reflect current templating specs.

I've also made a small change to the preview code example to match the closing tags of the banner. Hopefully, this will prevent any confusion.

Testing & review

  1. Confirm banner markup matches what's on site
  2. Confirm no build errors or visual regressions
  3. Confirm closing tags in Part Five match actual banner closing tags

@amyleadem amyleadem changed the title USWDS-Sandbox: Update banner markup USWDS-Tutorial: Update banner markup Sep 15, 2023
Copy link
Copy Markdown

@mejiaj mejiaj left a comment

Choose a reason for hiding this comment

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

@mahoneycm minor change, otherwise good.

Comment thread _includes/sxs/part-five.html
@mejiaj mejiaj merged commit 9b3f406 into main Nov 29, 2023
@mejiaj mejiaj deleted the cm-update-banner-code branch November 29, 2023 20:43
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.

USWDS-Tutorial: Use latest USWDS banner

2 participants