-
Notifications
You must be signed in to change notification settings - Fork 219
[Pattern] Add new Hero product chessboard
pattern
#9180
Conversation
The release ZIP for this PR is accessible via:
Script Dependencies ReportThe
This comment was automatically generated by the TypeScript Errors Report
🎉 🎉 This PR does not introduce new TS errors. |
Size Change: +9.69 kB (+1%) Total Size: 1.11 MB
ℹ️ View Unchanged
|
Adding one extra comment here as I just noticed the "Shop Now" button is not linking on any page by default: is that expected? One idea could perhaps be for us to link it to the shop page by default instead of leaving it blank. Screen.Recording.2023-04-28.at.14.05.53.mov |
@nefeline Thanks for the review 🙏
That's because I'm using the
That's right, I'm not sure about that, maybe @shaunandrews can decide here. I thought it should follow the style of all other buttons, also if the theme has a dark background and the button is black it may not be very visible.
Good catch, I forgot to add it, just pushed the change. Also, I changed the padding to use |
Hero product chessboard
patternHero product chessboard
pattern
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.
That's right, I'm not sure about that, maybe @shaunandrews can decide here. I thought it should follow the style of all other buttons, also if the theme has a dark background and the button is black it may not be very visible.
👍
Good catch, I forgot to add it, just pushed the change.
Also, I changed the padding to use px otherwise the size varies when changing themes/styles and it does not look good, it happened in other patterns I already merged.
👍
Awesome work! I'm pre-approving, just left a comment regarding block types in the docblock.
* Title: Hero Product Chessboard | ||
* Slug: woocommerce-blocks/hero-product-chessboard | ||
* Categories: WooCommerce | ||
*/ |
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.
should we add the Block Types:
being used on this pattern, the same way as other patterns in our repo do?
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.
Not sure if it's really useful for this pattern since it's not designed for a specific template part 🤔
I'll merge and if necessary we can always add it later.
Thanks 😄
This PR implements the
Footer with Simple Menu and Cart
pattern.Fixes #9041
Screenshots
Design
Implementation
Testing
User-Facing Testing
Hero product chessboard
pattern appears under the WooCommerce category dropdown.WooCommerce Visibility
Changelog