themes-wordpress/lettre/patterns/newsletter-fixed-cover.php
Sarah Norris f2d6a5f7a6
Add Lettre (#6792)
* Add Lettre

* Move patterns out of inc

* Remove unused font face

* Remove index.php

* Remove alignment CSS

* Update newsletter bold

* Update hidden subscription form

* Update about single

* Update categories

* Update about multiple

* Update hidden 404

* Add missing echos

* Update hidden footer

* Update patterns

* Update remaining patterns

* Remove image ids

* Add footer to 404 template

* Use global padding

* Fix typo!

* Update all subscribe block markup

* Remove blank template

* Remove reference to .com

* Move CSS to theme.json

* Add Newsreader font

* Manual version bump

* Remove page title

* Add temp fix for Jetpack issue

* Update min version

* Remove archive search content

* Add search template

* Remove content from search block

* Remove buttonText attribute

* Fix media and text pattern

* Remove link hover CSS

* Fix button padding

* Remove Jetpack CSS fix

* Add Jetpack fix back

Needed until Jetpack 11.7 is released

* Update opacity GB issue link

* Add container element to index; remove search template

* Enable root padding

* Remove top and bottom global padding

* Add core/button styles back

* Add load_theme_textdomain

* Change tested up to versions to 6.1

* Exclude editor from Jetpack fix

The fix doesn't need to be applied in the editor, only on the front end

* Remove stable tag

* Update readme and style.css

* Fix echo typos

* Version bump
2023-01-04 15:59:46 +00:00

27 lines
2.4 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* Title: Newsletter signup with fixed background image
* Slug: lettre/newsletter-fixed-cover
* Categories: featured, newsletter
*/
?>
<!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/book.jpg","hasParallax":true,"dimRatio":30,"overlayColor":"secondary","minHeight":100,"minHeightUnit":"vh","isDark":false,"align":"full","style":{"spacing":{"padding":{"top":"120px","right":"120px","bottom":"120px","left":"120px"}}}} -->
<div class="wp-block-cover alignfull is-light has-parallax" style="padding-top:120px;padding-right:120px;padding-bottom:120px;padding-left:120px;background-image:url(<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/book.jpg);min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-secondary-background-color has-background-dim-30 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"spacing":{"blockGap":"30px","padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}},"textColor":"secondary","fontSize":"medium"} -->
<div class="wp-block-group has-secondary-color has-text-color has-medium-font-size" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:paragraph {"align":"center","placeholder":"Write title…","style":{"color":{"duotone":["#333","#CCC"],"text":"#df0522"},"typography":{"lineHeight":1}},"fontSize":"xx-large"} -->
<p class="has-text-align-center has-text-color has-xx-large-font-size" style="color:#df0522;line-height:1"><?php echo esc_html__( 'You dont wanna miss it.', 'lettre' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph {"align":"center","style":{"color":{"text":"#f30800"}}} -->
<p class="has-text-align-center has-text-color" style="color:#f30800"><?php echo esc_html__( 'Get the latest articles in your inbox.', 'lettre' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"90px"} -->
<div style="height:90px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"layout":{"inherit":false,"wideSize":"480px"}} -->
<div class="wp-block-group"><!-- wp:jetpack/subscriptions {"customButtonBackgroundColor":"#df0522","textColor":"secondary","fontSize":"1.3rem","customFontSize":"1.3rem","borderRadius":50,"borderWeight":5,"customBorderColor":"#df0522","padding":18,"spacing":15,"className":"is-style-compact"} /--></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover -->