Skip to content

Commit

Permalink
Add "Centered description" pattern
Browse files Browse the repository at this point in the history
As mentioned in woocommerce#5
  • Loading branch information
beafialho committed Feb 11, 2025
1 parent cdf8b7b commit 94e5d2a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions woostarter/patterns/about-centered-description.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* Title: Centered description
* Slug: woostarter/text-centered-description
* Categories: text, about
* Keywords: about, text
* Description: A centered description section.
*

?>
<!-- wp:group {"metadata":{"name":"Centered description"},"align":"full","className":"is-style-default","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"var:preset|spacing|50","right":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull is-style-default" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:var(--wp--preset--spacing--50);padding-bottom:0;padding-left:var(--wp--preset--spacing--50)"><!-- 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:heading {"textAlign":"center","align":"wide","fontSize":"x-large"} -->
<h2 class="wp-block-heading alignwide has-text-align-center has-x-large-font-size">Kiri is a destination for art lovers, design enthusiasts, and collectors. We curate an eclectic mix of collectible vintage treasures and contemporary creations by talented artists from across the globe.</h2>
<!-- /wp:heading -->

<!-- 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 --></div>
<!-- /wp:group -->

0 comments on commit 94e5d2a

Please sign in to comment.