Changeset 56951 for trunk/src/wp-content/themes/twentytwentyfour/patterns/text-title-left-image-right.php
- Timestamp:
- 10/17/2023 02:12:07 AM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyfour/patterns/text-title-left-image-right.php
r56764 r56951 3 3 * Title: Title text and button on left with image on right 4 4 * Slug: twentytwentyfour/text-title-left-image-right 5 * Categories: text, about, featured5 * Categories: banner, about, featured 6 6 * Viewport width: 1400 7 7 */ … … 9 9 10 10 <!-- wp:group {"align":"full","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}}},"backgroundColor":"accent","layout":{"type":"constrained"}} --> 11 <div class="wp-block-group alignfull has-accent-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"><!-- wp:columns {"verticalAlignment":null,"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|40","left":"var:preset|spacing|50"}}}} --> 12 <div class="wp-block-columns alignwide"><!-- wp:column {"verticalAlignment":"stretch","width":"50%"} --> 13 <div class="wp-block-column is-vertically-aligned-stretch" style="flex-basis:50%"><!-- wp:group {"style":{"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} --> 14 <div class="wp-block-group" style="min-height:100%"> 11 <div class="wp-block-group alignfull has-accent-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"> 12 <!-- wp:columns {"verticalAlignment":null,"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|40","left":"var:preset|spacing|50"}}}} --> 13 <div class="wp-block-columns alignwide"> 14 <!-- wp:column {"verticalAlignment":"stretch","width":"50%"} --> 15 <div class="wp-block-column is-vertically-aligned-stretch" style="flex-basis:50%"> 16 <!-- wp:group {"style":{"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} --> 17 <div class="wp-block-group" style="min-height:100%"> 15 18 16 <!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.2"}},"fontSize":"x-large","fontFamily":"heading"} -->17 <p class="has-heading-font-family has-x-large-font-size" style="line-height:1.2"><?php echo esc_html_x( 'Études offers comprehensive consulting, management, design, and research solutions. Every architectural endeavor is an opportunity to shape the future.', 'Headline for the About pattern', 'twentytwentyfour' ); ?></p>18 <!-- /wp:paragraph -->19 <!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.2"}},"fontSize":"x-large","fontFamily":"heading"} --> 20 <p class="has-heading-font-family has-x-large-font-size" style="line-height:1.2"><?php echo esc_html_x( 'Études offers comprehensive consulting, management, design, and research solutions. Every architectural endeavor is an opportunity to shape the future.', 'Headline for the About pattern', 'twentytwentyfour' ); ?></p> 21 <!-- /wp:paragraph --> 19 22 20 <!-- wp:group {"layout":{"type":"constrained","contentSize":"300px","justifyContent":"left"}} -->21 <div class="wp-block-group">23 <!-- wp:group {"layout":{"type":"constrained","contentSize":"300px","justifyContent":"left"}} --> 24 <div class="wp-block-group"> 22 25 23 <!-- wp:paragraph {"style":{"layout":{"selfStretch":"fixed","flexSize":"50%"}}} -->24 <p><?php echo esc_html_x( 'Leaving an indelible mark on the landscape of tomorrow.', 'Description for the About pattern', 'twentytwentyfour' ); ?></p>25 <!-- /wp:paragraph -->26 <!-- wp:paragraph {"style":{"layout":{"selfStretch":"fixed","flexSize":"50%"}}} --> 27 <p><?php echo esc_html_x( 'Leaving an indelible mark on the landscape of tomorrow.', 'Description for the About pattern', 'twentytwentyfour' ); ?></p> 28 <!-- /wp:paragraph --> 26 29 27 <!-- wp:buttons --> 28 <div class="wp-block-buttons"><!-- wp:button --> 29 <div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'About us', 'Call to Action button text', 'twentytwentyfour' ); ?></a></div> 30 <!-- /wp:button --></div> 31 <!-- /wp:buttons --></div> 32 <!-- /wp:group --></div> 33 <!-- /wp:group --></div> 34 <!-- /wp:column --> 30 <!-- wp:buttons --> 31 <div class="wp-block-buttons"> 32 <!-- wp:button --> 33 <div class="wp-block-button"> 34 <a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'About us', 'Call to Action button text', 'twentytwentyfour' ); ?></a> 35 </div> 36 <!-- /wp:button --> 37 </div> 38 <!-- /wp:buttons --> 39 </div> 40 <!-- /wp:group --> 41 </div> 42 <!-- /wp:group --> 43 </div> 44 <!-- /wp:column --> 35 45 36 <!-- wp:column {"verticalAlignment":"center","width":"50%"} --> 37 <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:50%"><!-- wp:image {"aspectRatio":"3/4","scale":"cover","sizeSlug":"large","linkDestination":"none","className":"is-style-rounded"} --> 38 <figure class="wp-block-image size-large is-style-rounded"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/museum.webp" alt="<?php esc_attr_e( 'A ramp along a curved wall in the Kiasma Museu, Helsinki, Finland', 'twentytwentyfour' ); ?>" style="aspect-ratio:3/4;object-fit:cover"/></figure> 39 <!-- /wp:image --></div> 40 <!-- /wp:column --></div> 41 <!-- /wp:columns --></div> 46 <!-- wp:column {"verticalAlignment":"center","width":"50%"} --> 47 <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:50%"> 48 <!-- wp:image {"aspectRatio":"3/4","scale":"cover","sizeSlug":"large","linkDestination":"none","className":"is-style-rounded"} --> 49 <figure class="wp-block-image size-large is-style-rounded"> 50 <img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/museum.webp" alt="<?php esc_attr_e( 'A ramp along a curved wall in the Kiasma Museu, Helsinki, Finland', 'twentytwentyfour' ); ?>" style="aspect-ratio:3/4;object-fit:cover" /> 51 </figure> 52 <!-- /wp:image --> 53 </div> 54 <!-- /wp:column --> 55 </div> 56 <!-- /wp:columns --> 57 </div> 42 58 <!-- /wp:group -->
Note: See TracChangeset
for help on using the changeset viewer.