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 'It's Time' pattern #21132

Merged
merged 1 commit into from
Mar 30, 2020
Merged
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/its-time', gutenberg_load_block_pattern( 'its-time' ) );
}
5 changes: 5 additions & 0 deletions lib/patterns/its-time.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"__file": "wp_block",
"title": "It's time",
"content": "<!-- wp:group {\"align\":\"wide\",\"style\":{\"color\":{\"background\":\"#ffffff\"}}} -->\n<div class=\"wp-block-group alignwide has-background\" style=\"--wp--color--background:#ffffff\"><div class=\"wp-block-group__inner-container\"><!-- wp:columns {\"align\":\"full\"} -->\n<div class=\"wp-block-columns alignfull\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"customTextColor\":\"#df3100\"} -->\n<p style=\"color:#df3100\" class=\"has-text-color\"><strong>NEW</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"customTextColor\":\"#000000\"} -->\n<p style=\"color:#000000\" class=\"has-text-color\">John Lenwood \"Jackie\" McLean was an American jazz alto saxophonist, composer, bandleader, and educator, and is one of the few musicians to be elected to the DownBeat Hall of Fame in the year of their death.</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"customTextColor\":\"#ffffff\"} -->\n<p style=\"color:#ffffff\" class=\"has-text-color\"> space</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"customTextColor\":\"#000000\"} -->\n<p style=\"color:#000000\" class=\"has-text-color\">Derek Ansell's full-length biography of McLean, Sugar Free Saxophone (London: Northway Books, 2012), details the story of his career and provides a full analysis of his music on record.</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"align\":\"wide\"} -->\n<div class=\"wp-block-columns alignwide\"><!-- wp:column {\"width\":0} -->\n<div class=\"wp-block-column\" style=\"flex-basis:0%\"></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":100} -->\n<div class=\"wp-block-column\" style=\"flex-basis:100%\"><!-- wp:paragraph {\"align\":\"center\",\"customTextColor\":\"#000000\",\"customFontSize\":250} -->\n<p style=\"color:#000000;font-size:250px\" class=\"has-text-color has-text-align-center\"><strong><em>it's time</em></strong> </p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:group -->"
}