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 "Intro with offset layout" pattern
Add "Intro with offset layout" pattern from woocommerce#5
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
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,49 @@ | ||
<?php | ||
/** | ||
* Title: Intro with offset layout | ||
* Slug: woostarter/intro-offset-layout | ||
* Categories: text, about, media | ||
* Keywords: about, text, intro | ||
* Description: An intro section with a heading, paragraph and two offset images. | ||
* | ||
|
||
?> | ||
<!-- wp:group {"metadata":{"categories":["intro"],"name":"Intro with offset layout","patternName":"a8c/intro-two-column-with-image-and-content"},"align":"full","className":"alignfull is-style-section-3","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-section-3" 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:columns {"align":"wide","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|80"}}}} --> | ||
<div class="wp-block-columns alignwide"><!-- wp:column {"verticalAlignment":"center","layout":{"type":"default"}} --> | ||
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:heading {"fontSize":"xx-large"} --> | ||
<h2 class="wp-block-heading has-xx-large-font-size">The ‘Isshun’ Series</h2> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:paragraph --> | ||
<p>Our debut collection celebrates the beauty of simplicity and purpose.</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:spacer {"height":"var:preset|spacing|50"} --> | ||
<div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:image {"id":411,"sizeSlug":"full","linkDestination":"none"} --> | ||
<figure class="wp-block-image size-full"><img src="https://kiri.mystagingwebsite.com/wp-content/uploads/2025/02/pattern-glasses.jpg" alt="" class="wp-image-411"/></figure> | ||
<!-- /wp:image --> | ||
|
||
<!-- wp:spacer {"height":"var:preset|spacing|50"} --> | ||
<div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column {"verticalAlignment":"center"} --> | ||
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:image {"id":412,"aspectRatio":"3/4","scale":"cover","sizeSlug":"full","linkDestination":"none"} --> | ||
<figure class="wp-block-image size-full"><img src="https://kiri.mystagingwebsite.com/wp-content/uploads/2025/02/pattern-abstract.jpg" alt="A black and white abstract composition of curved paper with light and shadow." class="wp-image-412" style="aspect-ratio:3/4;object-fit:cover"/></figure> | ||
<!-- /wp:image --></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --> | ||
|
||
<!-- 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 --> |