mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-25 09:41:26 +01:00
ad69175f95
This merges the latest improvements to the Twenty Twenty-Five theme from GitHub into `trunk` for 6.7 RC 1.
A full list of changes can be found on GitHub: [e4da8ad0ae...f2dc3facf9
WordPress/twentytwentyfive@e4da8ad...f2dc3fa]
Props juanfra, poena, beafialho, areziaal, joen, sergeybiryukov, richtabor, cwhitmore, get_dave, talldanwp, andraganescu, kau-boy, mhkuu, hanneslsm, alaminfirdows, dd32.
See #62264.
Built from https://develop.svn.wordpress.org/trunk@59269
git-svn-id: http://core.svn.wordpress.org/trunk@58661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
58 lines
4.1 KiB
PHP
58 lines
4.1 KiB
PHP
<?php
|
||
/**
|
||
* Title: CV/bio
|
||
* Slug: twentytwentyfive/page-cv-bio
|
||
* Categories: twentytwentyfive_page, about, featured
|
||
* Keywords: starter
|
||
* Block Types: core/post-content
|
||
* Viewport width: 1400
|
||
* Description: A pattern for a CV/Bio landing page.
|
||
*
|
||
* @package WordPress
|
||
* @subpackage Twenty_Twenty_Five
|
||
* @since Twenty Twenty-Five 1.0
|
||
*/
|
||
|
||
?>
|
||
<!-- wp:cover {"overlayColor":"base","isUserOverlayColor":true,"isDark":false,"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast","layout":{"type":"constrained"}} -->
|
||
<div class="wp-block-cover alignfull is-light has-contrast-color has-text-color has-link-color" style="padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--50)">
|
||
<span aria-hidden="true" class="wp-block-cover__background has-base-background-color has-background-dim-100 has-background-dim"></span>
|
||
<div class="wp-block-cover__inner-container">
|
||
<!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|60","left":"var:preset|spacing|80"}}}} -->
|
||
<div class="wp-block-columns alignwide">
|
||
<!-- wp:column {"width":"65%"} -->
|
||
<div class="wp-block-column" style="flex-basis:65%">
|
||
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
|
||
<div class="wp-block-group">
|
||
<!-- wp:heading {"textAlign":"left","style":{"typography":{"fontSize":"22rem","letterSpacing":"-0.03em","fontStyle":"normal","fontWeight":"300","lineHeight":"1.4"}}} -->
|
||
<h2 class="wp-block-heading has-text-align-left" style="font-size:22rem;font-style:normal;font-weight:300;letter-spacing:-0.03em;line-height:1.4"><?php echo esc_html_x( 'Hey,', 'Example heading in pattern.', 'twentytwentyfive' ); ?></h2>
|
||
<!-- /wp:heading -->
|
||
<!-- wp:paragraph {"className":"is-style-text-subtitle"} -->
|
||
<p class="is-style-text-subtitle"><?php echo esc_html_x( 'My name is Nora Winslow Keene, and I’m a committed public interest attorney. Living in Denver, Colorado, I’ve spent years championing the rights of underrepresented workers. A graduate of Stanford University, I played a key role in securing critical protections for agricultural laborers, ensuring better wages and access to healthcare. My work has focused on advocating for environmental justice and improving the quality of life for rural communities. Every case I take on is driven by the belief that everyone deserves dignity and fair treatment in the workplace.', 'Pattern placeholder text.', 'twentytwentyfive' ); ?></p>
|
||
<!-- /wp:paragraph -->
|
||
</div>
|
||
<!-- /wp:group -->
|
||
</div>
|
||
<!-- /wp:column -->
|
||
|
||
<!-- wp:column {"width":"35%"} -->
|
||
<div class="wp-block-column" style="flex-basis:35%">
|
||
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","flexWrap":"nowrap"}} -->
|
||
<div class="wp-block-group">
|
||
<!-- wp:image {"aspectRatio":"3/4","scale":"cover","sizeSlug":"full","linkDestination":"none"} -->
|
||
<figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/woman-splashing-water.webp" alt="<?php esc_attr_e( 'Woman on beach, splashing water.', 'twentytwentyfive' ); ?>" style="aspect-ratio:3/4;object-fit:cover"/></figure>
|
||
<!-- /wp:image -->
|
||
|
||
<!-- wp:paragraph {"align":"right","style":{"typography":{"lineHeight":"1.2"}},"fontSize":"x-large"} -->
|
||
<p class="has-text-align-right has-x-large-font-size" style="line-height:1.2"><a href="#"><?php esc_html_e( 'Instagram', 'twentytwentyfive' ); ?></a><br><a href="#"><?php esc_html_e( 'LinkedIn', 'twentytwentyfive' ); ?></a><br><a href="#"><?php echo esc_html_x( 'Now', 'Link to a page with information about what the person is working on right now.', 'twentytwentyfive' ); ?></a></p>
|
||
<!-- /wp:paragraph -->
|
||
</div>
|
||
<!-- /wp:group -->
|
||
</div>
|
||
<!-- /wp:column -->
|
||
</div>
|
||
<!-- /wp:columns -->
|
||
</div>
|
||
</div>
|
||
<!-- /wp:cover -->
|