-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3745 from Automattic/add/join-pattern
Quadrat: Add Join pattern
- Loading branch information
Showing
5 changed files
with
50 additions
and
11 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
/** | ||
* Join. | ||
* | ||
* @package Quadrat | ||
*/ | ||
|
||
return array( | ||
'title' => __( 'Join', 'quadrat' ), | ||
'categories' => array( 'quadrat' ), | ||
'content' => '<!-- wp:columns {"align":"wide"} --> | ||
<div class="wp-block-columns alignwide"> | ||
<!-- wp:column --> | ||
<div class="wp-block-column"><!-- wp:heading {"level":3} --> | ||
<h3>' . esc_html( 'Join the Community' ) . '</h3> | ||
<!-- /wp:heading --> | ||
<!-- wp:paragraph --> | ||
<p>' . esc_html__( 'We’re thrilled to have you here! Now, if you don’t want to miss an article or an episode, you can subscribe to our newsletter.' ) . '</p> | ||
<!-- /wp:paragraph --></div> | ||
<!-- /wp:column --> | ||
<!-- wp:column {"verticalAlignment":"center","className":"subscription-column"} --> | ||
<div class="wp-block-column is-vertically-aligned-center subscription-column"><!-- wp:jetpack/subscriptions {"buttonOnNewLine":true} --> | ||
<div class="wp-block-jetpack-subscriptions wp-block-jetpack-subscriptions__supports-newline wp-block-jetpack-subscriptions__use-newline">[jetpack_subscription_form show_subscribers_total="false" button_on_newline="true" custom_font_size="16px" custom_border_radius="0" custom_border_weight="1" custom_padding="15" custom_spacing="10" submit_button_classes="" email_field_classes="" show_only_email_and_button="true"]</div> | ||
<!-- /wp:jetpack/subscriptions --></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns -->', | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.subscription-column { | ||
text-align: right; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters