41 líneas
2,9 KiB
PHP
41 líneas
2,9 KiB
PHP
|
<?php
|
|||
|
/**
|
|||
|
* About page with media on the right
|
|||
|
*/
|
|||
|
return array(
|
|||
|
'title' => __( 'About page with media on the right', 'twentytwentytwo' ),
|
|||
|
'categories' => array( 'twentytwentytwo_pages' ),
|
|||
|
'content' => '<!-- wp:media-text {"align":"full","mediaPosition":"right","mediaLink":"' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-black.jpg","mediaType":"image","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background"} -->
|
|||
|
<div class="wp-block-media-text alignfull has-media-on-the-right is-stacked-on-mobile has-background-color has-foreground-background-color has-text-color has-background has-link-color"><figure class="wp-block-media-text__media"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-black.jpg" alt="' . esc_attr__( 'An image of a bird flying', '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(20rem, 20vw)"}}}} -->
|
|||
|
<div class="wp-block-group" style="padding-top:min(20rem, 20vw);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>' . wp_kses_post( __( 'Emery<br>Driscoll', '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 Emery, 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--foreground)","iconBackgroundColor":"foreground","iconBackgroundColorValue":"var(--wp--preset--color--background)"} -->
|
|||
|
<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 --></div>
|
|||
|
|
|||
|
<!-- wp:spacer {"height":32} -->
|
|||
|
<div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div>
|
|||
|
<!-- /wp:spacer --></div>
|
|||
|
<!-- /wp:media-text -->',
|
|||
|
);
|