mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-01 14:08:07 +01:00
b3c06d8bb1
This commit syncs minor changes for the default theme from its active development repository to core.
This is a follow up to [52081], [52107], [52164], [52222], [52283], and [52335]. The two main changes introduce global padding to site content while still allowing content to be full-width, and re-organize block patterns into Core's existing categories.
To view the full set of changes, visit da994d1fe5...88a8f2e3b4
.
Props onemaggie, joen, youknowriad, scruffian, sabernhardt, kjellr.
See #54318.
Built from https://develop.svn.wordpress.org/trunk@52375
git-svn-id: http://core.svn.wordpress.org/trunk@51967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
80 lines
4.2 KiB
PHP
80 lines
4.2 KiB
PHP
<?php
|
|
/**
|
|
* About page with large image and buttons
|
|
*/
|
|
return array(
|
|
'title' => __( 'About page with large image and buttons', 'twentytwentytwo' ),
|
|
'categories' => array( 'pages', 'buttons' ),
|
|
'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} -->
|
|
<div class="wp-block-group alignfull" style="padding-top:max(1.25rem, 5vw);padding-right:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:image {"align":"full","sizeSlug":"full","linkDestination":"none"} -->
|
|
<figure class="wp-block-image alignfull size-full"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-gray-b.jpg" alt=""/></figure>
|
|
<!-- /wp:image -->
|
|
|
|
<!-- wp:columns {"align":"full"} -->
|
|
<div class="wp-block-columns alignfull"><!-- wp:column -->
|
|
<div class="wp-block-column"><!-- wp:buttons -->
|
|
<div class="wp-block-buttons"><!-- wp:button {"width":100} -->
|
|
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link">' . esc_html__( 'Purchase my work', 'twentytwentytwo' ) . '</a></div>
|
|
<!-- /wp:button --></div>
|
|
<!-- /wp:buttons --></div>
|
|
<!-- /wp:column -->
|
|
|
|
<!-- wp:column -->
|
|
<div class="wp-block-column"><!-- wp:buttons -->
|
|
<div class="wp-block-buttons"><!-- wp:button {"width":100} -->
|
|
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link">' . esc_html__( 'Support my studio', 'twentytwentytwo' ) . '</a></div>
|
|
<!-- /wp:button --></div>
|
|
<!-- /wp:buttons --></div>
|
|
<!-- /wp:column -->
|
|
|
|
<!-- wp:column -->
|
|
<div class="wp-block-column"><!-- wp:buttons -->
|
|
<div class="wp-block-buttons"><!-- wp:button {"width":100} -->
|
|
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link">' . esc_html__( 'Take a class', 'twentytwentytwo' ) . '</a></div>
|
|
<!-- /wp:button --></div>
|
|
<!-- /wp:buttons --></div>
|
|
<!-- /wp:column --></div>
|
|
<!-- /wp:columns -->
|
|
|
|
<!-- wp:columns {"align":"full"} -->
|
|
<div class="wp-block-columns alignfull"><!-- wp:column -->
|
|
<div class="wp-block-column"><!-- wp:buttons -->
|
|
<div class="wp-block-buttons"><!-- wp:button {"width":100} -->
|
|
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link">' . esc_html__( 'Read about me', 'twentytwentytwo' ) . '</a></div>
|
|
<!-- /wp:button --></div>
|
|
<!-- /wp:buttons --></div>
|
|
<!-- /wp:column -->
|
|
|
|
<!-- wp:column -->
|
|
<div class="wp-block-column"><!-- wp:buttons -->
|
|
<div class="wp-block-buttons"><!-- wp:button {"width":100} -->
|
|
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link">' . esc_html__( 'Learn about my process', 'twentytwentytwo' ) . '</a></div>
|
|
<!-- /wp:button --></div>
|
|
<!-- /wp:buttons --></div>
|
|
<!-- /wp:column -->
|
|
|
|
<!-- wp:column -->
|
|
<div class="wp-block-column"><!-- wp:buttons -->
|
|
<div class="wp-block-buttons"><!-- wp:button {"width":100} -->
|
|
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link">' . esc_html__( 'Join my mailing list', 'twentytwentytwo' ) . '</a></div>
|
|
<!-- /wp:button --></div>
|
|
<!-- /wp:buttons --></div>
|
|
<!-- /wp:column --></div>
|
|
<!-- /wp:columns -->
|
|
|
|
<!-- wp:spacer {"height":50} -->
|
|
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
<!-- /wp:spacer -->
|
|
|
|
<!-- wp:social-links {"iconColor":"primary","iconColorValue":"var(--wp--preset--color--primary)","className":"is-style-logos-only","layout":{"type":"flex","justifyContent":"center"}} -->
|
|
<ul class="wp-block-social-links has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"#","service":"wordpress"} /-->
|
|
|
|
<!-- wp:social-link {"url":"#","service":"facebook"} /-->
|
|
|
|
<!-- wp:social-link {"url":"#","service":"twitter"} /-->
|
|
|
|
<!-- wp:social-link {"url":"#","service":"instagram"} /--></ul>
|
|
<!-- /wp:social-links --></div>
|
|
<!-- /wp:group -->',
|
|
);
|