banner.php
7 months ago
coming-soon-entire-site.php
1 year ago
coming-soon-store-only.php
1 year ago
coming-soon.php
1 year ago
content-right-image-left.php
3 months ago
featured-category-cover-image.php
1 year ago
featured-category-triple.php
1 year ago
footer-large.php
1 year ago
footer-simple-menu.php
2 years ago
footer-with-3-menus.php
3 months ago
four-image-grid-content-left.php
3 months ago
header-centered-pattern.php
1 year ago
header-distraction-free.php
1 year ago
header-essential.php
1 year ago
header-large.php
1 year ago
header-minimal.php
1 year ago
heading-with-three-columns-of-content-with-link.php
3 months ago
hero-product-3-split.php
7 months ago
hero-product-chessboard.php
7 months ago
hero-product-split.php
7 months ago
intro-centered-content-with-image-below.php
3 months ago
just-arrived-full-hero.php
7 months ago
no-products-found-filters.php
1 year ago
no-products-found.php
2 years ago
page-coming-soon-default.php
1 year ago
page-coming-soon-image-gallery.php
1 year ago
page-coming-soon-minimal-left-image.php
1 year ago
page-coming-soon-modern-black.php
1 year ago
page-coming-soon-split-right-image.php
1 year ago
page-coming-soon-with-header-footer.php
3 months ago
product-collection-3-columns.php
11 months ago
product-collection-4-columns.php
11 months ago
product-collection-5-columns.php
11 months ago
product-collection-featured-products-5-columns.php
7 months ago
product-query-product-gallery.php
6 months ago
product-search-form.php
1 year ago
related-products.php
11 months ago
social-follow-us-in-social-media.php
3 months ago
testimonials-3-columns.php
1 year ago
testimonials-single.php
3 months ago
three-columns-with-images-and-content.php
3 months ago
just-arrived-full-hero.php
43 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Title: Just Arrived Full Hero |
| 4 | * Slug: woocommerce-blocks/just-arrived-full-hero |
| 5 | * Categories: WooCommerce, Intro |
| 6 | */ |
| 7 | |
| 8 | $pattern_title = __( 'Sound like no other', 'woocommerce' ); |
| 9 | $pattern_description = __( 'Experience your music like never before with our latest generation of hi-fidelity headphones.', 'woocommerce' ); |
| 10 | $pattern_button = __( 'Shop now', 'woocommerce' ); |
| 11 | $pattern_image = plugins_url( 'assets/images/pattern-placeholders/man-person-music-black-and-white-white-photography.jpg', WC_PLUGIN_FILE ); |
| 12 | ?> |
| 13 | |
| 14 | <!-- wp:cover {"url":"<?php echo esc_url( $pattern_image ); ?>","dimRatio":50,"focalPoint":{"x":0.5,"y":0.21},"minHeight":739,"contentPosition":"center right","align":"full"} --> |
| 15 | <div class="wp-block-cover alignfull has-custom-content-position is-position-center-right" style="min-height:739px"> |
| 16 | <span aria-hidden="true" class="wp-block-cover__background has-background-dim"></span> |
| 17 | <img class="wp-block-cover__image-background" alt="" src="<?php echo esc_url( $pattern_image ); ?>" style="object-position:50% 21%" data-object-fit="cover" data-object-position="50% 21%" /> |
| 18 | <div class="wp-block-cover__inner-container"> |
| 19 | <!-- wp:group {"style":{"spacing":{"padding":{"right":"60px","left":"60px"}}},"layout":{"type":"constrained","justifyContent":"center"}} --> |
| 20 | <div class="wp-block-group" style="padding-right:60px;padding-left:60px"> |
| 21 | <!-- wp:heading --> |
| 22 | <h2 class="wp-block-heading" id="just-arrived"><?php echo esc_html( $pattern_title ); ?></h2> |
| 23 | <!-- /wp:heading --> |
| 24 | |
| 25 | <!-- wp:paragraph --> |
| 26 | <p><?php echo esc_html( $pattern_description ); ?></p> |
| 27 | <!-- /wp:paragraph --> |
| 28 | |
| 29 | <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"left"}} --> |
| 30 | <div class="wp-block-buttons"> |
| 31 | <!-- wp:button --> |
| 32 | <div class="wp-block-button"> |
| 33 | <a class="wp-block-button__link wp-element-button" href="<?php echo esc_url( wc_get_page_permalink( 'shop' ) ); ?>"><?php echo esc_html( $pattern_button ); ?></a> |
| 34 | </div> |
| 35 | <!-- /wp:button --> |
| 36 | </div> |
| 37 | <!-- /wp:buttons --> |
| 38 | </div> |
| 39 | <!-- /wp:group --> |
| 40 | </div> |
| 41 | </div> |
| 42 | <!-- /wp:cover --> |
| 43 |