Merge pull request #2506 from Automattic/fix/seedlet-pattern-placeholder-images
Fix/seedlet pattern placeholder images
This commit is contained in:
commit
8dc00d1205
10 changed files with 18 additions and 7 deletions
|
@ -66,7 +66,9 @@ License: CC0
|
|||
Source: https://www.si.edu/object/hymenoxys-odorata-dc:nmnhbotany_13045011
|
||||
https://www.si.edu/object/coccocypselum-guianense-aubl-k-schum:nmnhbotany_10752403
|
||||
https://www.si.edu/object/coccocypselum-guianense-aubl-k-schum:nmnhbotany_10672835
|
||||
Included in theme screenshot.
|
||||
https://www.si.edu/object/coccocypselum-guianense-aubl-k-schum:nmnhbotany_13757252
|
||||
https://www.si.edu/object/nephroma-sp:nmnhbotany_13875654
|
||||
Included in theme screenshot and in block patterns.
|
||||
*/
|
||||
:root {
|
||||
/* Font Family */
|
||||
|
|
BIN
seedlet/assets/img/envelope.jpg
Normal file
BIN
seedlet/assets/img/envelope.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 188 KiB |
BIN
seedlet/assets/img/plant_a.png
Normal file
BIN
seedlet/assets/img/plant_a.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 289 KiB |
BIN
seedlet/assets/img/plant_b.png
Normal file
BIN
seedlet/assets/img/plant_b.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 340 KiB |
BIN
seedlet/assets/img/plant_c.png
Normal file
BIN
seedlet/assets/img/plant_c.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 251 KiB |
|
@ -66,7 +66,9 @@ License: CC0
|
|||
Source: https://www.si.edu/object/hymenoxys-odorata-dc:nmnhbotany_13045011
|
||||
https://www.si.edu/object/coccocypselum-guianense-aubl-k-schum:nmnhbotany_10752403
|
||||
https://www.si.edu/object/coccocypselum-guianense-aubl-k-schum:nmnhbotany_10672835
|
||||
Included in theme screenshot.
|
||||
https://www.si.edu/object/coccocypselum-guianense-aubl-k-schum:nmnhbotany_13757252
|
||||
https://www.si.edu/object/nephroma-sp:nmnhbotany_13875654
|
||||
Included in theme screenshot and in block patterns.
|
||||
*/
|
||||
|
||||
// Variables
|
||||
|
|
|
@ -26,15 +26,16 @@ if ( function_exists( 'register_block_pattern' ) ) {
|
|||
array (
|
||||
'title' => __( 'Group with Split Background', 'seedlet' ),
|
||||
'categories'=> array( 'seedlet' ),
|
||||
'content' => "<!-- wp:group {\"align\":\"full\",\"gradient\":\"hard-diagonal\"} -->\n<div class=\"wp-block-group alignfull has-hard-diagonal-gradient-background has-background\"><div class=\"wp-block-group__inner-container\"><!-- wp:spacer -->\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:image -->\n<figure class=\"wp-block-image\"><img alt=\"\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:spacer -->\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer --></div></div>\n<!-- /wp:group -->",
|
||||
'content' => "<!-- wp:group {\"align\":\"full\",\"gradient\":\"hard-diagonal\"} -->\n<div class=\"wp-block-group alignfull has-hard-diagonal-gradient-background has-background\"><div class=\"wp-block-group__inner-container\"><!-- wp:spacer -->\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer -->\n\n<!-- wp:image -->\n<figure class=\"wp-block-image\"><img src=\"".get_template_directory_uri()."/assets/img/envelope.jpg\" alt=\"Envelope\" /></figure>\n<!-- /wp:image -->\n\n<!-- wp:spacer -->\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"></div>\n<!-- /wp:spacer --></div></div>\n<!-- /wp:group -->",
|
||||
)
|
||||
);
|
||||
|
||||
register_block_pattern(
|
||||
'seedlet/group-image-overlap',
|
||||
array (
|
||||
'title' => __( 'Group with Image Overlap', 'seedlet' ),
|
||||
'categories'=> array( 'seedlet' ),
|
||||
'content' => "<!-- wp:group {\"align\":\"full\",\"className\":\"is-style-overflow\",\"gradient\":\"stripe\"} -->\n<div class=\"wp-block-group alignfull is-style-overflow has-stripe-gradient-background has-background\"><div class=\"wp-block-group__inner-container\"><!-- wp:columns {\"align\":\"wide\"} -->\n<div class=\"wp-block-columns alignwide\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:image -->\n<figure class=\"wp-block-image\"><img alt=\"\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:image -->\n<figure class=\"wp-block-image\"><img alt=\"\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"center\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center\"><!-- wp:image -->\n<figure class=\"wp-block-image\"><img alt=\"\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:group -->",
|
||||
'content' => "<!-- wp:group {\"align\":\"full\",\"className\":\"is-style-overflow\",\"gradient\":\"stripe\"} -->\n<div class=\"wp-block-group alignfull is-style-overflow has-stripe-gradient-background has-background\"><div class=\"wp-block-group__inner-container\"><!-- wp:columns {\"align\":\"wide\"} -->\n<div class=\"wp-block-columns alignwide\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:image -->\n<figure class=\"wp-block-image\"><img src=\"".get_template_directory_uri()."/assets/img/plant_a.png\" alt=\"Plant\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:image -->\n<figure class=\"wp-block-image\"><img src=\"".get_template_directory_uri()."/assets/img/plant_c.png\" alt=\"Plant\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"center\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center\"><!-- wp:image -->\n<figure class=\"wp-block-image\"><img src=\"".get_template_directory_uri()."/assets/img/plant_b.png\" alt=\"Plant\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:group -->",
|
||||
)
|
||||
);
|
||||
register_block_pattern(
|
||||
|
|
|
@ -105,4 +105,6 @@ License: CC0
|
|||
Source: https://www.si.edu/object/hymenoxys-odorata-dc:nmnhbotany_13045011
|
||||
https://www.si.edu/object/coccocypselum-guianense-aubl-k-schum:nmnhbotany_10752403
|
||||
https://www.si.edu/object/coccocypselum-guianense-aubl-k-schum:nmnhbotany_10672835
|
||||
Included in theme screenshot.
|
||||
https://www.si.edu/object/coccocypselum-guianense-aubl-k-schum:nmnhbotany_13757252
|
||||
https://www.si.edu/object/nephroma-sp:nmnhbotany_13875654
|
||||
Included in theme screenshot and in block patterns.
|
||||
|
|
|
@ -66,7 +66,9 @@ License: CC0
|
|||
Source: https://www.si.edu/object/hymenoxys-odorata-dc:nmnhbotany_13045011
|
||||
https://www.si.edu/object/coccocypselum-guianense-aubl-k-schum:nmnhbotany_10752403
|
||||
https://www.si.edu/object/coccocypselum-guianense-aubl-k-schum:nmnhbotany_10672835
|
||||
Included in theme screenshot.
|
||||
https://www.si.edu/object/coccocypselum-guianense-aubl-k-schum:nmnhbotany_13757252
|
||||
https://www.si.edu/object/nephroma-sp:nmnhbotany_13875654
|
||||
Included in theme screenshot and in block patterns.
|
||||
*/
|
||||
:root {
|
||||
/* Font Family */
|
||||
|
|
|
@ -66,7 +66,9 @@ License: CC0
|
|||
Source: https://www.si.edu/object/hymenoxys-odorata-dc:nmnhbotany_13045011
|
||||
https://www.si.edu/object/coccocypselum-guianense-aubl-k-schum:nmnhbotany_10752403
|
||||
https://www.si.edu/object/coccocypselum-guianense-aubl-k-schum:nmnhbotany_10672835
|
||||
Included in theme screenshot.
|
||||
https://www.si.edu/object/coccocypselum-guianense-aubl-k-schum:nmnhbotany_13757252
|
||||
https://www.si.edu/object/nephroma-sp:nmnhbotany_13875654
|
||||
Included in theme screenshot and in block patterns.
|
||||
*/
|
||||
:root {
|
||||
/* Font Family */
|
||||
|
|
Loading…
Reference in a new issue