forked from woocommerce/woo-themes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "Two centered paragraphs with button" pattern
Add "Two centered paragraphs with button" pattern from woocommerce#5
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
woostarter/patterns/about-two-centered-paragraphs-button.php
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,41 @@ | ||
<?php | ||
/** | ||
* Title: Two centered paragraphs with button | ||
* Slug: woostarter/two-centered-paragraphs-button | ||
* Categories: text, about | ||
* Keywords: about, text | ||
* Description: Two centered paragraphs with a button. | ||
* | ||
|
||
?> | ||
<!-- wp:group {"metadata":{"categories":["intro"],"name":"2 centered paragraphs with button","patternName":"a8c/intro-two-column-with-image-and-content"},"align":"full","className":"alignfull is-style-default","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained","justifyContent":"center"}} --> | ||
<div class="wp-block-group alignfull is-style-default" style="margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0"><!-- wp:spacer {"height":"var:preset|spacing|80"} --> | ||
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:spacer {"height":"var:preset|spacing|70"} --> | ||
<div style="height:var(--wp--preset--spacing--70)" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|theme-3"}}}},"textColor":"theme-3"} --> | ||
<p class="has-text-align-center has-theme-3-color has-text-color has-link-color">We’re not happy with the<br>way things are made.</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:paragraph {"align":"center"} --> | ||
<p class="has-text-align-center">We want to make things<br>in a sustainable way.</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:spacer {"height":"var:preset|spacing|60"} --> | ||
<div style="height:var(--wp--preset--spacing--60)" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} --> | ||
<div class="wp-block-buttons"><!-- wp:button {"className":"is-style-outline"} --> | ||
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link wp-element-button">Find out more</a></div> | ||
<!-- /wp:button --></div> | ||
<!-- /wp:buttons --> | ||
|
||
<!-- wp:spacer {"height":"var:preset|spacing|60"} --> | ||
<div style="height:var(--wp--preset--spacing--60)" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --></div> | ||
<!-- /wp:group --> |