mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-06 08:28:07 +01:00
6ebd3a8fc9
This commit syncs several changes for the default theme from its active development repository to core.
This is a follow up to [52081], [52107], and [52164]. It includes improvements to the home page template, adding a filter for block patterns, pre-loading the web font, improvements and bug fixes to block patterns, and more. For a full list of changes, visit e4f69d0b7e...25d74deaa5
.
Props jeffpaul, richtabor, netweb, luminuu, melchoyce, beafealho, clucasrowlands, desrosj, flixos90, joen, otto42, saju4wordpress, westonruter, kjellr, poena.
See #54318.
Built from https://develop.svn.wordpress.org/trunk@52222
git-svn-id: http://core.svn.wordpress.org/trunk@51814 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( 'twentytwentytwo-pages' ),
|
|
'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_stylesheet_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 -->',
|
|
);
|