woocommerce/plugins/woocommerce-blocks/patterns/hero-product-split.php

29 lines
1.2 KiB
PHP
Raw Normal View History

<?php
/**
* Title: Hero Product - Split
* Slug: woocommerce-blocks/hero-product-split
* Categories: WooCommerce
*/
?>
<!-- wp:media-text {"align":"full","mediaPosition":"right","mediaType":"image","mediaSizeSlug":"full","imageFill":false,"backgroundColor":"contrast","textColor":"base"} -->
<div class="wp-block-media-text alignfull has-media-on-the-right is-stacked-on-mobile has-base-color has-contrast-background-color has-text-color has-background">
<div class="wp-block-media-text__content"><!-- wp:heading -->
<h2 class="wp-block-heading">Get cozy this fall with flannel shirts</h2>
<!-- /wp:heading -->
<!-- wp:buttons {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} -->
<div class="wp-block-buttons" style="margin-bottom:var(--wp--preset--spacing--40)">
<!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Shop now</a></div>
<!-- /wp:button -->
</div>
<!-- /wp:buttons -->
</div>
<figure class="wp-block-media-text__media">
<img src="<?php echo esc_url( plugins_url( 'images/pattern-placeholders/hero-product-split.webp', dirname( __FILE__ ) ) ); ?>" alt="Woman in red, black, and white plaid hoodie." />
</figure>
</div>
<!-- /wp:media-text -->