-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat(preview): add preview for new homepage variant #1485
Conversation
bb45772
to
2cb344a
Compare
2cb344a
to
46b978f
Compare
b382f4f
to
c0a7df6
Compare
c0a7df6
to
d136426
Compare
{variant === "center" ? ( | ||
<HeroCenteredLayout | ||
hero={hero} | ||
dropdownIsActive={dropdownIsActive} | ||
toggleDropdown={toggleDropdown} | ||
/> | ||
) : ( | ||
<HeroImageOnlyLayout /> | ||
)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have a fallback for when variant doesn't exist?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'll raise a PR at the end so that i can account for all the variants!
d55f14e
to
4ce3229
Compare
d136426
to
1f014a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
e59b674
to
7e3f899
Compare
Problem
This adds a new homepage variant without the image.
Solution
.js
to.ts
->PropTypes
already done, so not much effort.css
to do this to conform to the style of handling in the template repository.Screenshots
Tests
This is image only variant