banner.php
8 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
1 year 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
2 years ago
four-image-grid-content-left.php
1 year 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
1 year ago
hero-product-3-split.php
8 months ago
hero-product-chessboard.php
8 months ago
hero-product-split.php
8 months ago
intro-centered-content-with-image-below.php
1 year ago
just-arrived-full-hero.php
8 months ago
no-products-found-filters.php
2 years 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
1 year ago
product-collection-3-columns.php
1 year ago
product-collection-4-columns.php
1 year ago
product-collection-5-columns.php
1 year ago
product-collection-featured-products-5-columns.php
8 months ago
product-query-product-gallery.php
7 months ago
product-search-form.php
2 years ago
related-products.php
1 year ago
social-follow-us-in-social-media.php
1 year ago
testimonials-3-columns.php
1 year ago
testimonials-single.php
1 year ago
three-columns-with-images-and-content.php
1 year ago
page-coming-soon-minimal-left-image.php
81 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Title: Coming Soon Minimal Left Image |
| 4 | * Slug: woocommerce/page-coming-soon-minimal-left-image |
| 5 | * Categories: WooCommerce |
| 6 | * Template Types: coming-soon |
| 7 | * Inserter: false |
| 8 | */ |
| 9 | |
| 10 | use Automattic\WooCommerce\Blocks\Templates\ComingSoonTemplate; |
| 11 | |
| 12 | $fonts = ComingSoonTemplate::get_font_families(); |
| 13 | $heading_font_family = $fonts['heading']; |
| 14 | $body_font_family = $fonts['body']; |
| 15 | $paragraph_font_family = isset( $fonts['paragraph'] ) ? $fonts['paragraph'] : null; |
| 16 | |
| 17 | $default_image = plugins_url( 'assets/images/pattern-placeholders/green-glass-jars-on-stairs.jpg', WC_PLUGIN_FILE ); |
| 18 | |
| 19 | $site_tagline = get_bloginfo( 'description' ); |
| 20 | |
| 21 | // If the site tagline is empty, use a default copy. Otherwise, use the site tagline. |
| 22 | $store_description = ! empty( $site_tagline ) |
| 23 | ? $site_tagline |
| 24 | : sprintf( |
| 25 | /* translators: %s: Site name. */ |
| 26 | __( '%s transforms your home with our curated collection of home decor, bringing inspiration and style to every corner.', 'woocommerce' ), |
| 27 | get_bloginfo( 'name' ) |
| 28 | ); |
| 29 | |
| 30 | ?> |
| 31 | <!-- wp:woocommerce/coming-soon {"comingSoonPatternId":"page-coming-soon-minimal-left-image","className":"woocommerce-coming-soon-default woocommerce-coming-soon-minimal-left-image","style":{"color":{"background":"#f9f9f9","text":"#000000"},"elements":{"link":{"color":{"text":"#000000"}}}}} --> |
| 32 | <div class="wp-block-woocommerce-coming-soon woocommerce-coming-soon-default woocommerce-coming-soon-minimal-left-image has-text-color has-background has-link-color" style="color:#000000;background-color:#f9f9f9"><!-- wp:cover {"customOverlayColor":"transparent","isUserOverlayColor":true,"minHeight":100,"minHeightUnit":"vh","className":"coming-soon-is-vertically-aligned-center coming-soon-cover","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"24px","right":"24px"}},"color":{"text":"inherit"},"elements":{"link":{"color":{"text":"inherit"}}}},"layout":{"type":"default"}} --> |
| 33 | <div class="wp-block-cover coming-soon-is-vertically-aligned-center coming-soon-cover has-text-color has-link-color" style="color:inherit;padding-top:0px;padding-right:24px;padding-bottom:0px;padding-left:24px;min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-100 has-background-dim" style="background-color:transparent"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"align":"full","style":{"dimensions":{"minHeight":"100vh"}},"layout":{"type":"constrained"}} --> |
| 34 | <div class="wp-block-group alignfull" style="min-height:100vh"><!-- wp:group {"align":"wide","className":"woocommerce-coming-soon-header has-background","style":{"spacing":{"padding":{"top":"26px","bottom":"14px"}}},"layout":{"type":"constrained"}} --> |
| 35 | <div class="wp-block-group alignwide woocommerce-coming-soon-header has-background" style="padding-top:26px;padding-bottom:14px"><!-- wp:group {"align":"wide","layout":{"type":"flex","justifyContent":"space-between","flexWrap":"wrap"}} --> |
| 36 | <div class="wp-block-group alignwide"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex"}} --> |
| 37 | <div class="wp-block-group"><!-- wp:site-logo {"width":60} /--> |
| 38 | |
| 39 | <!-- wp:group {"style":{"spacing":{"blockGap":"0px"}}} --> |
| 40 | <div class="wp-block-group"><!-- wp:site-title {"level":0,"style":{"typography":{"fontSize":"20px","letterSpacing":"0px"},"color":{"text":"#000000"},"elements":{"link":{"color":{"text":"#000000"}}}},"fontFamily":"<?php echo esc_html( $body_font_family ); ?>"} /--></div> |
| 41 | <!-- /wp:group --></div> |
| 42 | <!-- /wp:group --> |
| 43 | |
| 44 | <!-- wp:group {"className":"woocommerce-coming-soon-social-login","style":{"spacing":{"blockGap":"48px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} --> |
| 45 | <div class="wp-block-group woocommerce-coming-soon-social-login"><!-- wp:template-part {"slug":"coming-soon-social-links","theme":"woocommerce/woocommerce","tagName":"div"} /--> |
| 46 | |
| 47 | <!-- wp:loginout {"style":{"elements":{"link":{"color":{"text":"#000000"}}},"spacing":{"padding":{"top":"12px","bottom":"12px","left":"16px","right":"16px"}},"typography":{"fontSize":"14px","lineHeight":"1.2"},"border":{"radius":"6px","color":"#000000","width":"1px"}},"fontFamily":"<?php echo esc_html( $body_font_family ); ?>"} /--></div> |
| 48 | <!-- /wp:group --></div> |
| 49 | <!-- /wp:group --></div> |
| 50 | <!-- /wp:group --> |
| 51 | |
| 52 | <!-- wp:group {"align":"full","className":"woocommerce-coming-soon-minimal-left-image__content","style":{"spacing":{"padding":{"top":"0","bottom":"0"},"margin":{"top":"120px","bottom":"120px"}}},"layout":{"type":"default"}} --> |
| 53 | <div class="wp-block-group alignfull woocommerce-coming-soon-minimal-left-image__content" style="margin-top:120px;margin-bottom:120px;padding-top:0;padding-bottom:0"><!-- wp:group {"layout":{"type":"constrained"}} --> |
| 54 | <div class="wp-block-group"><!-- wp:columns {"className":"alignfull","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"blockGap":{"top":"0","left":"60px"},"margin":{"top":"0px","bottom":"0px"}},"layout":{"selfStretch":"fit","flexSize":null}}} --> |
| 55 | <div class="wp-block-columns alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:column {"verticalAlignment":"bottom","width":"481px","className":"woocommerce-coming-soon-minimal-left-image__content-image","layout":{"type":"default"}} --> |
| 56 | <div class="wp-block-column is-vertically-aligned-bottom woocommerce-coming-soon-minimal-left-image__content-image" style="flex-basis:481px"><!-- wp:image {"aspectRatio":"481/576","scale":"cover","style":{"border":{"radius":"16px"}}} --> |
| 57 | <figure class="wp-block-image has-custom-border"><img src="<?php echo esc_url( $default_image ); ?>" alt="Decorative Image" style="border-radius:16px;aspect-ratio:481/576;object-fit:cover"/></figure> |
| 58 | <!-- /wp:image --></div> |
| 59 | <!-- /wp:column --> |
| 60 | |
| 61 | <!-- wp:column {"verticalAlignment":"stretch","width":"453px","className":"woocommerce-coming-soon-minimal-left-image__content-text","style":{"spacing":{"blockGap":"0","padding":{"right":"0","left":"0","bottom":"0","top":"53px"}}},"layout":{"type":"default"}} --> |
| 62 | <div class="wp-block-column is-vertically-aligned-stretch woocommerce-coming-soon-minimal-left-image__content-text" style="padding-top:53px;padding-right:0;padding-bottom:0;padding-left:0;flex-basis:453px"><!-- wp:group {"style":{"dimensions":{"minHeight":"100%"},"spacing":{"blockGap":"0"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","flexWrap":"nowrap","verticalAlignment":"space-between"}} --> |
| 63 | <div class="wp-block-group" style="min-height:100%"><!-- wp:heading {"level":1,"className":"is-style-default","style":{"typography":{"fontSize":"38px","lineHeight":"1.19"},"spacing":{"margin":{"bottom":"var:preset|spacing|30"}}},"fontFamily":"<?php echo esc_html( $heading_font_family ); ?>"} --> |
| 64 | <h1 class="wp-block-heading is-style-default has-<?php echo esc_html( $heading_font_family ); ?>-font-family" style="margin-bottom:var(--wp--preset--spacing--30);font-size:38px;line-height:1.19"><?php echo esc_html__( 'Something big is brewing! Our store is in the works – Launching shortly!', 'woocommerce' ); ?></h1> |
| 65 | <!-- /wp:heading --> |
| 66 | |
| 67 | <!-- wp:group {"layout":{"type":"constrained","justifyContent":"left","contentSize":"338px"}} --> |
| 68 | <div class="wp-block-group"><!-- wp:paragraph {"className":"has-<?php echo esc_html( $paragraph_font_family ?? '' ); ?>-font-family","style":{"typography":{"lineHeight":"1.6","letterSpacing":"0px"}},"fontFamily":"<?php echo esc_html( $paragraph_font_family ?? '' ); ?>"} --> |
| 69 | <p class="has-<?php echo esc_html( $paragraph_font_family ?? '' ); ?>-font-family" style="letter-spacing:0px;line-height:1.6"><?php echo esc_html( $store_description ); ?></p> |
| 70 | <!-- /wp:paragraph --></div> |
| 71 | <!-- /wp:group --></div> |
| 72 | <!-- /wp:group --></div> |
| 73 | <!-- /wp:column --></div> |
| 74 | <!-- /wp:columns --></div> |
| 75 | <!-- /wp:group --></div> |
| 76 | <!-- /wp:group --></div> |
| 77 | <!-- /wp:group --></div></div> |
| 78 | <!-- /wp:cover --> |
| 79 | </div> |
| 80 | <!-- /wp:woocommerce/coming-soon --> |
| 81 |