CYS: improve copy no blocks placeholder (#49030)

* CYS: improve copy no blocks placeholder

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Luigi Teschio 2024-07-03 09:25:33 +02:00 committed by GitHub
parent a511ce77e9
commit 9eaa73d20d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 26 additions and 11 deletions

View File

@ -50,19 +50,30 @@ export const useAddNoBlocksPlaceholder = ( {
url: NoBlocks,
align: 'center',
} ),
createBlock( 'core/paragraph', {
align: 'center',
fontFamily: 'inter',
style: {
color: {
text: '#000000',
createBlock(
'core/group',
{
layout: {
type: 'constrained',
contentSize: '350px',
},
},
content: __(
'Unlock your creativity and populate your homepage by adding as many patterns as you like.',
'woocommerce'
),
} ),
[
createBlock( 'core/paragraph', {
align: 'center',
fontFamily: 'inter',
style: {
color: {
text: '#000000',
},
},
content: __(
'Add one or more of our homepage patterns to create a page that welcomes shoppers.',
'woocommerce'
),
} ),
]
),
]
);
insertBlock( noBlocksBlock, 1 );

View File

@ -0,0 +1,4 @@
Significance: patch
Type: update
CYS: improve copy no blocks placeholder.