-
Notifications
You must be signed in to change notification settings - Fork 2
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(hero): image start #1828
feat(hero): image start #1828
Conversation
a392903
to
ab6dac9
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.
Looks great overall..One small fix in the Hero.jsx file.
- Set default prop value to
false
instead ofnull
.
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.
A few comments to note a few small issues.
NOTE:
Non-blocking, but any thoughts on the story naming, just to help keep the sidebar a bit more tidy?
Something like the following might work ok since they are the major ones that aren't used in every instance. No strong preference here, but just a thought so feel free to ignore.
- Sizes
- Borderless
- Contained
- Custom Background
- Image Start
- CTA Attribute
src: `${heroFull}`, | ||
alt: 'Multi layered illustration of UI elements and woman clasping her hands together in excitement' | ||
}} | ||
ctaAttributes={{ |
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.
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.
@pixelflips - I took a look, fiddled with the proptypes, but having trouble clearing this. I'll take a look tomorrow!
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.
Huge thanks to @ju-Skinner for helping me solve this issue and get this out the door! 🙌🏻
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.
Also noticed the React Component link on the Docs site will need to be updated as it currently points to default (/docs/sage-hero--default
) which is no longer there.
@ju-Skinner Sorry but which prop? or line? |
@pixelflips - this should also be resolved now that you have the current commits! Let me know if not! |
@pixelflips - thank you for the feedback and thoughts! I think this organization makes more sense and I'll update both React and Rails to align. |
@monicawheeler Yup, good to go. Not sure how I didn't have the latest, but sorry for all the confusion. |
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.
Great work.
506647d
to
66f5daf
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.
Great work! LGTM! 👍🏼
Description
Add the "left" image option for the Hero called "Image start".
Additionally, I optimized images in the `assets/images" directory.
Screenshots
Testing in
sage-lib
Testing in
kajabi-products
Related
DSS-476