mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-30 07:20:01 +01:00
2caa789ee0
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], and [52222]. It includes changes to template part markup, theme.json appearance flags, navigation block markup, and text domains. For a full set of changes, visit 742df6cb2b...1a121e0224
.
Props poena, kjellr, onemaggie, hellofromtonya.
See #54318.
Built from https://develop.svn.wordpress.org/trunk@52283
git-svn-id: http://core.svn.wordpress.org/trunk@51875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
42 lines
3.0 KiB
PHP
42 lines
3.0 KiB
PHP
<?php
|
||
/**
|
||
* About page with media on the left
|
||
*/
|
||
return array(
|
||
'title' => __( 'About page with media on the left', 'twentytwentytwo' ),
|
||
'categories' => array( 'twentytwentytwo-pages' ),
|
||
'content' => '<!-- wp:media-text {"align":"full","mediaType":"image","imageFill":true,"focalPoint":{"x":"0.63","y":"0.16"},"backgroundColor":"foreground","className":"alignfull is-image-fill has-background-color has-text-color has-background has-link-color"} -->
|
||
<div class="wp-block-media-text alignfull is-stacked-on-mobile is-image-fill has-background-color has-text-color has-background has-link-color has-foreground-background-color has-background"><figure class="wp-block-media-text__media" style="background-image:url(' . esc_url( get_stylesheet_directory_uri() ) . '/assets/images/bird-on-salmon.jpg);background-position:63% 16%"><img src="' . esc_url( get_stylesheet_directory_uri() ) . '/assets/images/bird-on-salmon.jpg" alt="' . esc_attr__( 'Image of a bird on a branch', 'twentytwentytwo' ) . '"/></figure><div class="wp-block-media-text__content"><!-- wp:spacer {"height":32} -->
|
||
<div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div>
|
||
<!-- /wp:spacer -->
|
||
|
||
<!-- wp:site-logo {"width":60} /-->
|
||
|
||
<!-- wp:group {"style":{"spacing":{"padding":{"right":"min(8rem, 5vw)","top":"min(28rem, 28vw)"}}}} -->
|
||
<div class="wp-block-group" style="padding-top:min(28rem, 28vw);padding-right:min(8rem, 5vw)"><!-- wp:heading {"style":{"typography":{"fontWeight":"300","lineHeight":"1.115","fontSize":"clamp(3rem, 6vw, 4.5rem)"}}} -->
|
||
<h2 style="font-size:clamp(3rem, 6vw, 4.5rem);font-weight:300;line-height:1.115"><em>' . esc_html__( 'Doug', 'twentytwentytwo' ) . '<br>' . esc_html__( 'Stilton', 'twentytwentytwo' ) . '</em></h2>
|
||
<!-- /wp:heading -->
|
||
|
||
<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.6"}}} -->
|
||
<p style="line-height:1.6">' . esc_html__( 'Oh hello. My name’s Doug, and you’ve found your way to my website. I’m an avid bird watcher, and I also broadcast my own radio show on Tuesday evenings at 11PM EDT.', 'twentytwentytwo' ) . '</p>
|
||
<!-- /wp:paragraph -->
|
||
|
||
<!-- wp:spacer {"height":40} -->
|
||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||
<!-- /wp:spacer -->
|
||
|
||
<!-- wp:social-links {"iconColor":"background","iconColorValue":"var(--wp--preset--color--background)","iconBackgroundColor":"foreground","iconBackgroundColorValue":"var(--wp--preset--color--foreground)"} -->
|
||
<ul class="wp-block-social-links has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"#","service":"wordpress"} /-->
|
||
|
||
<!-- wp:social-link {"url":"#","service":"twitter"} /-->
|
||
|
||
<!-- wp:social-link {"url":"#","service":"instagram"} /--></ul>
|
||
<!-- /wp:social-links --></div>
|
||
<!-- /wp:group -->
|
||
|
||
<!-- wp:spacer {"height":32} -->
|
||
<div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div>
|
||
<!-- /wp:spacer --></div></div>
|
||
<!-- /wp:media-text -->',
|
||
);
|