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

Build Hero Demos with Layout #2331

Merged
merged 14 commits into from
Nov 22, 2021
Merged

Conversation

cjwhitedev
Copy link
Collaborator

@cjwhitedev cjwhitedev commented Sep 27, 2021

Jira

DS-622

Summary

Show Hero examples using Layout

Details

We want to deprecate and remove the Hero Component, and not have a stand-alone replacement for it. These are demos showing how to use layout in different ways to replace Hero.

How to test

Pull the branch and compare the new layout hero demos against the Hero Component demos.

Release notes

Deprecated Hero Component and supplied replacement demos using layout.

@github-actions github-actions bot added the type: feature List this PR in the 'Features' section of the release notes. label Sep 27, 2021
@colbytcook colbytcook requested a deployment to feature/DS-629-remove-code-snippet-WC-usage-in-PL--b624b92--commit-preview September 27, 2021 15:54 In progress
Copy link
Collaborator

@mikemai2awesome mikemai2awesome left a comment

Choose a reason for hiding this comment

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

@cjwhitedev Let's convert all usage to twig. As we discussed before, we haven't landed on the naming conventions yet, that's why the Layout docs currently have a warning message. Using twig template will ensure it will continue to work even when we change up the HTML and naming conventions.

@colbytcook colbytcook had a problem deploying to feature/DS-622-build-hero-with-layout--branch-preview September 28, 2021 18:16 Failure
# Conflicts:
#	docs-site/src/pages/pattern-lab/_patterns/40-components/hero-deprecated/-25-hero--reverse-order--no-image.twig
@colbytcook colbytcook temporarily deployed to feature/DS-622-build-hero-with-layout--branch-preview September 28, 2021 19:36 Inactive
@@ -0,0 +1,40 @@
{% set _content %}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Where did these examples come from (centered content, video and list, templates, centered form)? They are not in the Hero docs. If we are adding more pages, some real examples from prod would be helpful. Otherwise don't add more than what were shown before.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

They were requested. The details are in the ticket.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@cjwhitedev I see. Can you build out exactly what they have in the screenshots? https://pegadigitalit.atlassian.net/browse/WWW-857

Copy link
Contributor

Choose a reason for hiding this comment

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

@mikemai2awesome I added the live examples to the "Heroes with layout" folder on the doc site. I also moved the existing work to the test folder. Each live site example has a "Notes" section that give integration specifications on how to build each one of the heroes.

@colbytcook colbytcook had a problem deploying to feature/DS-622-build-hero-with-layout--branch-preview November 17, 2021 15:19 Failure
@colbytcook colbytcook temporarily deployed to feature/DS-622-build-hero-with-layout--branch-preview November 17, 2021 20:25 Inactive
@colbytcook colbytcook requested a deployment to feature/DS-622-build-hero-with-layout--branch-preview November 17, 2021 20:29 Abandoned
@colbytcook colbytcook had a problem deploying to feature/DS-622-build-hero-with-layout--branch-preview November 18, 2021 18:11 Failure
@colbytcook colbytcook temporarily deployed to feature/DS-622-build-hero-with-layout--branch-preview November 18, 2021 23:11 Inactive
@colbytcook colbytcook temporarily deployed to feature/DS-622-build-hero-with-layout--branch-preview November 19, 2021 18:15 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature List this PR in the 'Features' section of the release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants