diff --git a/styleguide/source/_patterns/01-atoms/04-headings/comp-heading.json b/styleguide/source/_patterns/01-atoms/04-headings/comp-heading.json index 73fbcad650..25700ee3cc 100644 --- a/styleguide/source/_patterns/01-atoms/04-headings/comp-heading.json +++ b/styleguide/source/_patterns/01-atoms/04-headings/comp-heading.json @@ -1,9 +1,9 @@ { "compHeading": { - "title": "Title text", + "title": "Comp Heading", "level": "", "color": "", - "id": "GUID9827924", - "centered": "" + "id": "GUID285724897", + "centered": false } } \ No newline at end of file diff --git a/styleguide/source/_patterns/01-atoms/04-headings/comp-heading~as-sidebar-heading.json b/styleguide/source/_patterns/01-atoms/04-headings/comp-heading~as-sidebar-heading.json index 59bb71b283..64dc7b001d 100644 --- a/styleguide/source/_patterns/01-atoms/04-headings/comp-heading~as-sidebar-heading.json +++ b/styleguide/source/_patterns/01-atoms/04-headings/comp-heading~as-sidebar-heading.json @@ -1,9 +1,9 @@ { "compHeading": { - "title": "Employment", + "title": "Comp Heading", "sub": true, "color": "", - "id": "employment", + "id": "GUID28357207", "centered": false, "sidebar": true } diff --git a/styleguide/source/_patterns/01-atoms/04-headings/comp-heading~centered.json b/styleguide/source/_patterns/01-atoms/04-headings/comp-heading~centered.json index c2a907dbad..e71e5d7c48 100644 --- a/styleguide/source/_patterns/01-atoms/04-headings/comp-heading~centered.json +++ b/styleguide/source/_patterns/01-atoms/04-headings/comp-heading~centered.json @@ -1,9 +1,9 @@ { "compHeading": { - "title": "Title text", + "title": "Comp Heading", "sub": false, "color": "", - "id": "", + "id": "GUID248572057", "centered": true } } \ No newline at end of file diff --git a/styleguide/source/_patterns/01-atoms/04-headings/comp-heading~subheading.json b/styleguide/source/_patterns/01-atoms/04-headings/comp-heading~subheading.json index 642333216f..201505e486 100644 --- a/styleguide/source/_patterns/01-atoms/04-headings/comp-heading~subheading.json +++ b/styleguide/source/_patterns/01-atoms/04-headings/comp-heading~subheading.json @@ -1,9 +1,9 @@ { "compHeading": { - "title": "Title text", + "title": "Comp Heading", "level": 3, "color": "", "id": "", - "centered": "" + "centered": false } } \ No newline at end of file diff --git a/styleguide/source/_patterns/01-atoms/04-headings/comp-heading~yellow.json b/styleguide/source/_patterns/01-atoms/04-headings/comp-heading~yellow.json index a4ed78accb..434e26c868 100644 --- a/styleguide/source/_patterns/01-atoms/04-headings/comp-heading~yellow.json +++ b/styleguide/source/_patterns/01-atoms/04-headings/comp-heading~yellow.json @@ -1,6 +1,6 @@ { "compHeading": { - "title": "Title text", + "title": "Comp Heading", "sub": false, "color": "yellow", "id": "", diff --git a/styleguide/source/_patterns/03-organisms/by-author/action-finder.json b/styleguide/source/_patterns/03-organisms/by-author/action-finder.json index 007a1c6d9c..5eab4e543b 100644 --- a/styleguide/source/_patterns/03-organisms/by-author/action-finder.json +++ b/styleguide/source/_patterns/03-organisms/by-author/action-finder.json @@ -3,10 +3,17 @@ "id": "GUID831741781374893", "bgWide":"../../assets/images/placeholder/1600x600-lighthouse-blur.jpg", "bgNarrow":"../../assets/images/placeholder/800x800.png", - "title": "What Would You Like to Do?", "featuredHeading":"Featured:", "generalHeading":"All Actions & Guides:", + "compHeading": { + "title": "What Would You Like to Do?", + "sub": false, + "color": "yellow", + "id": "GUID83174178137743892", + "centered": false + }, + "seeAll": null, "featuredLinks": [{ @@ -19,24 +26,28 @@ "image": "", "text": "Cancel or Transfer a Campsite Reservation", "type": "external", - "href": "#" + "href": "#", + "label": "" },{ "image": "", "text": "Find Horseback Riding Trails", "type": "", - "href": "#" + "href": "#", + "label": "" }], "links": [{ "image": "", "text": "Find a State Park", "type": "", - "href": "#" + "href": "#", + "label": "" },{ "image": "", "text": "Get a State Park Pass", "type": "", - "href": "#" + "href": "#", + "label": "" },{ "image": "../../assets/images/placeholder/130x160.png", "text": "Fall Activity Planner", @@ -47,17 +58,20 @@ "image": "", "text": "Reserve a Campsite", "type": "external", - "href": "#" + "href": "#", + "label": "" },{ "image": "", "text": "Find Scenic Viewing Areas", "type": "", - "href": "#" + "href": "#", + "label": "" },{ "image": "", "text": "Download a Trail Map", "type": "", - "href": "#" + "href": "#", + "label": "" }] } } diff --git a/styleguide/source/_patterns/03-organisms/by-author/action-finder.md b/styleguide/source/_patterns/03-organisms/by-author/action-finder.md index 8af7bdb5f1..e823d873bc 100644 --- a/styleguide/source/_patterns/03-organisms/by-author/action-finder.md +++ b/styleguide/source/_patterns/03-organisms/by-author/action-finder.md @@ -5,9 +5,9 @@ A collection of featured and general links * Stable as of 5.0.0 ### Pattern Contains -* Callout Link -* Illustrated Link * Decorative Link +* Comp Heading +* Key Actions ### Variant options * [Without a Background](./?p=organisms-action-finder-without-background) @@ -24,12 +24,12 @@ actionFinder: { type: string (image path) / optional / (required with bgNarrow) bgNarrow: type: string (image path) / optional - title: - type: string / required featuredHeading: type: string / required generalHeading: type: string / required + compHeading: + type: compHeading / required seeAll: { type: decorativeLink / optional diff --git a/styleguide/source/_patterns/03-organisms/by-author/action-finder.twig b/styleguide/source/_patterns/03-organisms/by-author/action-finder.twig index 12ee844199..2ba8d77655 100644 --- a/styleguide/source/_patterns/03-organisms/by-author/action-finder.twig +++ b/styleguide/source/_patterns/03-organisms/by-author/action-finder.twig @@ -4,6 +4,8 @@ {% set noBgClass = "ma__action-finder--no-background" %} {% endif %} +{% set titleId = compHeading.id ? : "finder-title-" ~ actionFinder.id %} +
{% if actionFinder.bgWide %}