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

Update 'Large header and a paragraph' pattern #23858

Merged
merged 2 commits into from
Jul 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/patterns/large-header-paragraph.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

return array(
'title' => __( 'Large header and a paragraph', 'gutenberg' ),
'content' => "<!-- wp:group {\"align\":\"wide\"} -->\n<div class=\"wp-block-group alignwide\"><div class=\"wp-block-group__inner-container\"><!-- wp:cover {\"customGradient\":\"radial-gradient(rgb(122,220,179) 0%,rgb(0,208,131) 100%)\",\"contentPosition\":\"center center\",\"align\":\"wide\"} -->\n<div class=\"wp-block-cover alignwide has-background-dim has-background-gradient is-position-center-center\" style=\"background:radial-gradient(rgb(122,220,179) 0%,rgb(0,208,131) 100%)\"><div class=\"wp-block-cover__inner-container\"><!-- wp:paragraph {\"align\":\"center\",\"placeholder\":\"Write title…\",\"style\":{\"typography\":{\"fontSize\":90,\"lineHeight\":\"1.2\"},\"color\":{\"text\":\"#00000a\"}}} -->\n<p class=\"has-text-align-center has-text-color\" style=\"line-height:1.2;font-size:90px;color:#00000a\"><strong>" . __( 'As for me', 'gutenberg' ) . "</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":24,\"lineHeight\":1.4},\"color\":{\"text\":\"#00000a\"}}} -->\n<p class=\"has-text-align-center has-text-color\" style=\"line-height:1.4;font-size:24px;color:#00000a\">" . __( 'I am tormented with an everlasting itch for things remote. I love to sail forbidden seas, and land on barbarous coasts.', 'gutenberg' ) . "</p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:cover --></div></div>\n<!-- /wp:group -->",
'content' => "<!-- wp:group {\"align\":\"wide\"} -->\n<div class=\"wp-block-group alignwide\"><div class=\"wp-block-group__inner-container\"><!-- wp:cover {\"customOverlayColor\":\"#02314e\",\"contentPosition\":\"center center\",\"align\":\"wide\"} -->\n<div class=\"wp-block-cover alignwide has-background-dim is-position-center-center\" style=\"background-color:#02314e\"><div class=\"wp-block-cover__inner-container\"><!-- wp:paragraph {\"align\":\"left\",\"placeholder\":\"Write title…\",\"textColor\":\"white\",\"style\":{\"typography\":{\"fontSize\":72,\"lineHeight\":\"1\"}}} -->\n<p class=\"has-text-align-left has-white-color has-text-color\" style=\"line-height:1;font-size:72px\">" . __( 'Years ago...', 'gutenberg' ) . "</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"align\":\"left\",\"textColor\":\"white\",\"style\":{\"typography\":{\"lineHeight\":\"1.5\",\"fontSize\":18}}} -->\n<p class=\"has-text-align-left has-white-color has-text-color\" style=\"line-height:1.6;font-size:18px\">" . __( 'I am tormented with an everlasting itch for things remote.<br>I love to sail forbidden seas, and land on barbarous coasts.', 'gutenberg' ) . "</p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:cover --></div></div>\n<!-- /wp:group -->",
'viewportWidth' => 1000,
'categories' => array( 'header' ),
);