Skip to content
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

Add 'Three features' pattern #21135

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/client-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -656,4 +656,5 @@ function gutenberg_extend_settings_block_patterns( $settings ) {
register_pattern( 'core/two-buttons', gutenberg_load_block_pattern( 'two-buttons' ) );
register_pattern( 'core/cover-abc', gutenberg_load_block_pattern( 'cover-abc' ) );
register_pattern( 'core/two-images', gutenberg_load_block_pattern( 'two-images' ) );
register_pattern( 'core/three-features', gutenberg_load_block_pattern( 'three-features' ) );
}
5 changes: 5 additions & 0 deletions lib/patterns/three-features.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"__file": "wp_block",
"title": "Three Features",
"content": "<!-- wp:group {\"align\":\"wide\",\"style\":{\"color\":{\"background\":\"#f9f9f9\"}}} -->\n<div class=\"wp-block-group alignwide has-background\" style=\"--wp--color--background:#f9f9f9\"><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:group -->\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\"><!-- wp:cover {\"customOverlayColor\":\"#d66844\",\"minHeight\":160} -->\n<div class=\"wp-block-cover has-background-dim\" style=\"background-color:#d66844;min-height:160px\"><div class=\"wp-block-cover__inner-container\"><!-- wp:paragraph {\"align\":\"center\",\"placeholder\":\"Write title…\",\"customTextColor\":\"#ffffff\",\"customFontSize\":60} -->\n<p style=\"color:#ffffff;font-size:60px\" class=\"has-text-color has-text-align-center\">1</p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:cover -->\n\n<!-- wp:paragraph {\"customTextColor\":\"#000000\",\"fontSize\":\"large\"} -->\n<p style=\"color:#000000\" class=\"has-text-color has-large-font-size\"><strong>Customizable Designs</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"customTextColor\":\"#000000\"} -->\n<p style=\"color:#000000\" class=\"has-text-color\">Extend it with over 54,000 plugins to help your website meet your needs. Add an online store, galleries, and much more.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"customTextColor\":\"#d66844\",\"borderRadius\":0,\"className\":\"is-style-outline\"} -->\n<div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-text-color no-border-radius\" style=\"color:#d66844\">Learn more</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div></div>\n<!-- /wp:group --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:group -->\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\"><!-- wp:cover {\"customOverlayColor\":\"#d66844\",\"minHeight\":160} -->\n<div class=\"wp-block-cover has-background-dim\" style=\"background-color:#d66844;min-height:160px\"><div class=\"wp-block-cover__inner-container\"><!-- wp:paragraph {\"align\":\"center\",\"placeholder\":\"Write title…\",\"customTextColor\":\"#ffffff\",\"customFontSize\":60} -->\n<p style=\"color:#ffffff;font-size:60px\" class=\"has-text-color has-text-align-center\">2</p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:cover -->\n\n<!-- wp:paragraph {\"customTextColor\":\"#000000\",\"fontSize\":\"large\"} -->\n<p style=\"color:#000000\" class=\"has-text-color has-large-font-size\"><strong>High Performance</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"customTextColor\":\"#000000\"} -->\n<p style=\"color:#000000\" class=\"has-text-color\">Add an online store, galleries, mailing lists, forums, analytics, and much more. Extend it with over 54,000 plugins!</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"customTextColor\":\"#d66844\",\"borderRadius\":0,\"className\":\"is-style-outline\"} -->\n<div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-text-color no-border-radius\" style=\"color:#d66844\">Learn more</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div></div>\n<!-- /wp:group --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:group -->\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\"><!-- wp:cover {\"customOverlayColor\":\"#d66844\",\"minHeight\":160} -->\n<div class=\"wp-block-cover has-background-dim\" style=\"background-color:#d66844;min-height:160px\"><div class=\"wp-block-cover__inner-container\"><!-- wp:paragraph {\"align\":\"center\",\"placeholder\":\"Write title…\",\"customTextColor\":\"#ffffff\",\"customFontSize\":60} -->\n<p style=\"color:#ffffff;font-size:60px\" class=\"has-text-color has-text-align-center\">3</p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:cover -->\n\n<!-- wp:paragraph {\"customTextColor\":\"#000000\",\"fontSize\":\"large\"} -->\n<p style=\"color:#000000\" class=\"has-text-color has-large-font-size\"><strong>Easy and Accessible</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"customTextColor\":\"#000000\"} -->\n<p style=\"color:#000000\" class=\"has-text-color\">Hundreds of thousands of developers and site owners trust it worldwide. Extend it with over 54,000 plugins to help your website meet your needs.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"customTextColor\":\"#d66844\",\"borderRadius\":0,\"className\":\"is-style-outline\"} -->\n<div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-text-color no-border-radius\" style=\"color:#d66844\">Learn more</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div></div>\n<!-- /wp:group --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:group -->"
}