Twenty Twenty-Four: Bugfixes for 6.4 RC1.
Resyncing changes for TT4 into Core.
Changes include:
* Reformatted all the patterns for readability.
* Bugfixes in the markup and improvements on the string translation functions.
* Renaming of some patterns, making them consistent with the content they show and whether they are simple patterns, full-page patterns or patterns meant to replace templates.
Follow-up to [56813], [56764], [56716].
Props richtabor, onemaggie, luminuu, shailu25, dunhakdis, shivashankerbhatta, dajeema, enodekciw, kafleg, viralsampat, glendaviesnz, beafialho, webmandesign, huzaifaalmesbah, gregfuller, benharri.
Fixes #59640.
Built from https://develop.svn.wordpress.org/trunk@56951
git-svn-id: http://core.svn.wordpress.org/trunk@56462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-16 22:14:24 -04:00
< ? php
/**
* Title : Hero
* Slug : twentytwentyfour / banner - hero
* Categories : banner , call - to - action , featured
* Viewport width : 1400
2024-05-06 16:32:15 -04:00
* Description : A hero section with a title , a paragraph , a CTA button , and an image .
Twenty Twenty-Four: Bugfixes for 6.4 RC1.
Resyncing changes for TT4 into Core.
Changes include:
* Reformatted all the patterns for readability.
* Bugfixes in the markup and improvements on the string translation functions.
* Renaming of some patterns, making them consistent with the content they show and whether they are simple patterns, full-page patterns or patterns meant to replace templates.
Follow-up to [56813], [56764], [56716].
Props richtabor, onemaggie, luminuu, shailu25, dunhakdis, shivashankerbhatta, dajeema, enodekciw, kafleg, viralsampat, glendaviesnz, beafialho, webmandesign, huzaifaalmesbah, gregfuller, benharri.
Fixes #59640.
Built from https://develop.svn.wordpress.org/trunk@56951
git-svn-id: http://core.svn.wordpress.org/trunk@56462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-16 22:14:24 -04:00
*/
?>
<!-- wp : group { " align " : " full " , " style " : { " spacing " : { " padding " : { " top " : " var:preset|spacing|50 " , " bottom " : " var:preset|spacing|50 " , " left " : " var:preset|spacing|50 " , " right " : " var:preset|spacing|50 " }}}, " layout " : { " type " : " constrained " , " contentSize " : " " , " wideSize " : " " }} -->
< div class = " wp-block-group alignfull " style = " 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 : group { " style " : { " spacing " : { " blockGap " : " 0px " }}, " layout " : { " type " : " constrained " , " contentSize " : " 565px " }} -->
< div class = " wp-block-group " >
<!-- wp : heading { " textAlign " : " center " , " fontSize " : " x-large " , " level " : 1 } -->
< h1 class = " wp-block-heading has-text-align-center has-x-large-font-size " >< ? php echo esc_html_x ( 'A commitment to innovation and sustainability' , 'Heading of the hero section' , 'twentytwentyfour' ); ?> </h1>
<!-- / wp : heading -->
<!-- wp : spacer { " height " : " 1.25rem " } -->
< div style = " height:1.25rem " aria - hidden = " true " class = " wp-block-spacer " ></ div >
<!-- / wp : spacer -->
<!-- wp : paragraph { " align " : " center " } -->
< p class = " has-text-align-center " >< ? php echo esc_html_x ( 'Études is a pioneering firm that seamlessly merges creativity and functionality to redefine architectural excellence.' , 'Content of the hero section' , 'twentytwentyfour' ); ?> </p>
<!-- / wp : paragraph -->
<!-- wp : spacer { " height " : " 1.25rem " } -->
< div style = " height:1.25rem " aria - hidden = " true " class = " wp-block-spacer " ></ div >
<!-- / wp : spacer -->
<!-- wp : buttons { " layout " : { " type " : " flex " , " justifyContent " : " center " }} -->
< div class = " wp-block-buttons " >
<!-- wp : button -->
< div class = " wp-block-button " >
< a class = " wp-block-button__link wp-element-button " >< ? php echo esc_html_x ( 'About us' , 'Button text of the hero section' , 'twentytwentyfour' ); ?> </a>
</ div >
<!-- / wp : button -->
</ div >
<!-- / wp : buttons -->
</ div >
<!-- / wp : group -->
<!-- wp : spacer { " height " : " var:preset|spacing|30 " , " style " : { " layout " : {}}} -->
< div style = " height:var(--wp--preset--spacing--30) " aria - hidden = " true " class = " wp-block-spacer " >
</ div >
<!-- / wp : spacer -->
<!-- wp : image { " align " : " wide " , " sizeSlug " : " full " , " linkDestination " : " none " , " className " : " is-style-rounded " } -->
< figure class = " wp-block-image alignwide size-full is-style-rounded " >
< img src = " <?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/building-exterior.webp " alt = " <?php esc_attr_e( 'Building exterior in Toronto, Canada', 'twentytwentyfour' ); ?> " />
</ figure >
<!-- / wp : image -->
</ div >
<!-- / wp : group -->