mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-24 17:21:34 +01:00
67161cc1dd
Twenty Twenty-Four (TT4) updates for 6.4 Beta 2. Changes include bugfixes from the theme's development repo since Beta 1 such as: * Renamed patterns and images * Improved image descriptions * Polished a few of the templates to fit better the design * Addressed some a11y concerns. * Changed the required version to 6.4, aligning it with the last few default themes since we are making use of some of the features that will make it to 6.4, such as aspect ratio. Follow-up to [56726], [56721], [56716]. Props onemaggie, desrosj, mukesh27. Fixes #59524. Built from https://develop.svn.wordpress.org/trunk@56764 git-svn-id: http://core.svn.wordpress.org/trunk@56276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
36 lines
2.7 KiB
PHP
36 lines
2.7 KiB
PHP
<?php
|
|
/**
|
|
* Title: Newsletter Landing Page
|
|
* Slug: twentytwentyfour/newsletter-landing
|
|
* Categories: call-to-action
|
|
* Keywords: page, starter
|
|
* Block Types: core/post-content
|
|
* Post Types: page, wp_template
|
|
* Viewport width: 1100
|
|
*/
|
|
?>
|
|
|
|
<!-- wp:cover {"overlayColor":"accent-3","minHeight":100,"minHeightUnit":"vh","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"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
|
|
<div class="wp-block-cover alignfull is-light" style="margin-top:0;margin-bottom:0;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);min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-accent-3-background-color has-background-dim-100 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:image {"align":"center","width":"45px","height":"49px","scale":"cover","sizeSlug":"full","linkDestination":"none"} -->
|
|
<figure class="wp-block-image aligncenter size-full is-resized"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-message.webp" alt="" style="object-fit:cover;width:45px;height:49px"/></figure>
|
|
<!-- /wp:image -->
|
|
|
|
<!-- wp:spacer {"height":"var:preset|spacing|10"} -->
|
|
<div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer"></div>
|
|
<!-- /wp:spacer -->
|
|
|
|
<!-- wp:heading {"textAlign":"center","style":{"spacing":{"margin":{"right":"0","left":"0"},"padding":{"right":"0","left":"0"}},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast","fontSize":"x-large"} -->
|
|
<h2 class="wp-block-heading has-text-align-center has-contrast-color has-text-color has-link-color has-x-large-font-size" style="margin-right:0;margin-left:0;padding-right:0;padding-left:0"><?php echo esc_html_x( 'Subscribe to the newsletter and stay connected with our community', 'sample content for newsletter subscription', 'twentytwentyfour' ); ?></h2>
|
|
<!-- /wp:heading -->
|
|
|
|
<!-- wp:spacer {"height":"var:preset|spacing|10"} -->
|
|
<div style="height:var(--wp--preset--spacing--10)" 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( 'Sign up', 'sample content for newsletter subscription button', 'twentytwentyfour' ); ?></a></div>
|
|
<!-- /wp:button --></div>
|
|
<!-- /wp:buttons --></div></div>
|
|
<!-- /wp:cover -->
|