Skip to content

Commit 80baae4

Browse files
committed
Add Newsletter Signup patterns. Part of #145
1 parent 6e317c4 commit 80baae4

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
/**
3+
* Title: Box with heading, text.
4+
* Slug: frost/general-newsletter-signup-contrast-background
5+
* Categories: featured
6+
*/
7+
?>
8+
<!-- wp:group {"style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"spacing":{"padding":{"top":"var:preset|spacing|medium","right":"var:preset|spacing|medium","bottom":"var:preset|spacing|medium","left":"var:preset|spacing|medium"}}},"backgroundColor":"contrast","textColor":"base","className":"stacked","layout":{"type":"default"}} -->
9+
<div class="wp-block-group stacked has-base-color has-contrast-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--medium);padding-right:var(--wp--preset--spacing--medium);padding-bottom:var(--wp--preset--spacing--medium);padding-left:var(--wp--preset--spacing--medium)"><!-- wp:heading {"textAlign":"center","fontSize":"x-large"} -->
10+
<h2 class="wp-block-heading has-text-align-center has-x-large-font-size"><?php echo esc_html__( 'Newsletter Signup', 'frost' ); ?></h2>
11+
<!-- /wp:heading -->
12+
<!-- wp:paragraph {"align":"center","style":{"typography":{"lineHeight":"1.5"}}} -->
13+
<p class="has-text-align-center" style="line-height:1.5"><?php echo esc_html__( 'Don’t miss out on exclusive content, valuable insights, and fantastic offers. Stay connected + grow your business!', 'frost' ); ?></p>
14+
<!-- /wp:paragraph -->
15+
<!-- wp:paragraph {"align":"center","fontSize":"x-small"} -->
16+
<p class="has-text-align-center has-x-small-font-size"><strong><?php echo esc_html__( '[INSERT SIGNUP FORM CODE HERE]', 'frost' ); ?></strong></p>
17+
<!-- /wp:paragraph --></div>
18+
<!-- /wp:group -->
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
/**
3+
* Title: Box with heading, text.
4+
* Slug: frost/general-newsletter-signup
5+
* Categories: featured
6+
*/
7+
?>
8+
<!-- wp:group {"style":{"border":{"width":"1px"},"spacing":{"padding":{"top":"var:preset|spacing|medium","right":"var:preset|spacing|medium","bottom":"var:preset|spacing|medium","left":"var:preset|spacing|medium"}}},"borderColor":"contrast","className":"stacked","layout":{"type":"default"}} -->
9+
<div class="wp-block-group stacked has-border-color has-contrast-border-color" style="border-width:1px;padding-top:var(--wp--preset--spacing--medium);padding-right:var(--wp--preset--spacing--medium);padding-bottom:var(--wp--preset--spacing--medium);padding-left:var(--wp--preset--spacing--medium)"><!-- wp:heading {"textAlign":"center","fontSize":"x-large"} -->
10+
<h2 class="wp-block-heading has-text-align-center has-x-large-font-size"><?php echo esc_html__( 'Newsletter Signup', 'frost' ); ?></h2>
11+
<!-- /wp:heading -->
12+
<!-- wp:paragraph {"align":"center","style":{"typography":{"lineHeight":"1.5"}}} -->
13+
<p class="has-text-align-center" style="line-height:1.5"><?php echo esc_html__( 'Don’t miss out on exclusive content, valuable insights, and fantastic offers. Stay connected + grow your business!', 'frost' ); ?></p>
14+
<!-- /wp:paragraph -->
15+
<!-- wp:paragraph {"align":"center","fontSize":"x-small"} -->
16+
<p class="has-text-align-center has-x-small-font-size"><strong><?php echo esc_html__( '[INSERT SIGNUP FORM CODE HERE]', 'frost' ); ?></strong></p>
17+
<!-- /wp:paragraph --></div>
18+
<!-- /wp:group -->

0 commit comments

Comments
 (0)