-
Notifications
You must be signed in to change notification settings - Fork 123
Conversation
Added clients images for creating patterns
Clients pattern added
@richtabor The logos are not loading in your end? |
|
@kafleg What does this code mean? I don't understand why you added it here as a comment, can you please explain? |
@carolinan Sorry for the confusion. I just shared it here for @richtabor to see if I worked as per his comment or not. |
Why are the images in the comment remote? |
Would you please check my new commit? |
@richtabor What do you propose using instead of bundling the fake logos? |
Maybe some of the image icons, if we're going to bundle those? Or linking to like images on WP photos. We really need placeholders to support height/width/aspect ratio so we don't have to bundle images. WordPress/gutenberg#48081 |
Like the asterisk icon, maybe just in place of each logo. |
patterns/clients.php
Outdated
/** | ||
* Title: Clients | ||
* Slug: twentytwentyfour/clients | ||
* Categories: columns |
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.
Columns is not one of the existing categories for patterns. Let's use text instead.
|
||
?> | ||
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","right":"var:preset|spacing|20","bottom":"var:preset|spacing|80","left":"var:preset|spacing|20"},"margin":{"top":"0","bottom":"0"}}},"backgroundColor":"white","layout":{"type":"constrained","contentSize":"1320px","wideSize":"100%"}} --> | ||
<main class="wp-block-group has-white-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--20)"><!-- wp:group {"layout":{"type":"constrained","contentSize":"100%"}} --> |
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 don't think we should use the main tag here, since this is not the main container of the content of the site. Also, this group block should be wide aligned to fit the design
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.
<!-- /wp:group --></div> | ||
<!-- /wp:group --></div> |
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 think we are stacking the logos into too many containers (row > columns > group > stack). Let's try and simplify this by instead of using columns altogether, just using one row block. If you check the figma, the columns are not the same width anyway, and using the row block you can control vertical alignment too.
<!-- wp:column {"verticalAlignment":"center","width":"20%","layout":{"type":"default"}} --> | ||
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:20%"><!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","right":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|40"}}},"layout":{"type":"constrained","justifyContent":"center","contentSize":"1320px","wideSize":"100%"}} --> | ||
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)"><!-- wp:group {"style":{"border":{"radius":"8px","width":"0px","style":"none"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} --> | ||
<div class="wp-block-group" style="border-style:none;border-width:0px;border-radius:8px"><!-- wp:image {"id":1104,"sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"8px"}}} --> |
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.
we need to remove border radius from all of the images
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.
And the images have an opacity to them, I don't think we have a simple way to achieve that. Maybe using duotone to fake it?
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.
Worse case scenario, let's change the images themselves
@MaggieCabrera @kafleg I have created a new PR with a simplified markup for this pattern. Please check it here #198 |
Thank you @maneshtimilsina |
No description provided.