Skip to content

Commit

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

?>
<!-- wp:group {"metadata":{"name":"Left-aligned 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":"left","align":"wide","fontSize":"x-large"} -->
<h2 class="wp-block-heading alignwide has-text-align-left 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 1eb4288

Please sign in to comment.