-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/dp 13965 change title and h1 (#646)
* DP-13965: add new "news overflow" variation for page header * DP-13965: Add changelog
- Loading branch information
Showing
5 changed files
with
41 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
___DESCRIPTION___ | ||
Minor | ||
Added | ||
- (Patternlab) [page-header] DP-13965: MF Change title and H1 on news overflow pages |
6 changes: 6 additions & 0 deletions
6
...uide/source/_patterns/03-organisms/by-template/page-header-for-news-overflow.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
### Description | ||
This is a variant of the [Page Header](./?p=organisms-page-header) pattern showing an example of how it is being used on the news overflow page. | ||
|
||
### How to generate | ||
* set the `nested` variable to true | ||
* add a `title`, `subTitle`, and `headerTags` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...b/styleguide/source/_patterns/03-organisms/by-template/page-header~for-news-overflow.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"pageHeader": { | ||
"title": "News and Announcements", | ||
"nested": true, | ||
"subTitle": "For <a href=''>Office of Attorney General Maura Healey</a>", | ||
"headerTags": { | ||
"label": "Related to:", | ||
"taxonomyTerms": [{ | ||
"href": "#", | ||
"text": "Office of Attorney General Maura Healey" | ||
}] | ||
} | ||
} | ||
} |