<?php

/**
 * Title: Free Delivery Banner
 * Slug: storemate/free-delivery-banner
 * Categories: storemate
 */
$storemate_url = trailingslashit(get_template_directory_uri());
$storemate_images = array(
    $storemate_url . 'assets/images/delivery_van.png',
);
?>
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained","contentSize":"1340px"}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)"><!-- wp:group {"style":{"spacing":{"padding":{"top":"16px","bottom":"16px","left":"32px","right":"32px"}}},"backgroundColor":"primary","layout":{"type":"constrained","contentSize":"100%"}} -->
    <div class="wp-block-group has-primary-background-color has-background" style="padding-top:16px;padding-right:32px;padding-bottom:16px;padding-left:32px"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
        <div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","orientation":"vertical"}} -->
            <div class="wp-block-group"><!-- wp:heading {"style":{"typography":{"fontSize":"36px"},"elements":{"link":{"color":{"text":"var:preset|color|light-color"}}}},"textColor":"light-color"} -->
                <h2 class="wp-block-heading has-light-color-color has-text-color has-link-color" style="font-size:36px"><?php esc_html_e('Free Delivery', 'storemate') ?></h2>
                <!-- /wp:heading -->

                <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|light-shade"}}}},"textColor":"light-shade"} -->
                <p class="has-light-shade-color has-text-color has-link-color"><?php esc_html_e('Available on 24 hour when order above $99 for limited time, Grab the deal Now!', 'storemate') ?></p>
                <!-- /wp:paragraph -->

                <!-- wp:buttons {"style":{"spacing":{"margin":{"top":"18px"},"blockGap":"var:preset|spacing|30"}}} -->
                <div class="wp-block-buttons" style="margin-top:18px"><!-- wp:button {"backgroundColor":"light-color","textColor":"heading-color","style":{"elements":{"link":{"color":{"text":"var:preset|color|heading-color"}}},"spacing":{"padding":{"left":"30px","right":"30px","top":"12px","bottom":"12px"}},"border":{"radius":"0px"}},"className":"is-style-button-hover-secondary-bgcolor"} -->
                    <div class="wp-block-button is-style-button-hover-secondary-bgcolor"><a class="wp-block-button__link has-heading-color-color has-light-color-background-color has-text-color has-background has-link-color wp-element-button" style="border-radius:0px;padding-top:12px;padding-right:30px;padding-bottom:12px;padding-left:30px"><?php esc_html_e('Order Now', 'storemate') ?></a></div>
                    <!-- /wp:button -->

                    <!-- wp:button {"backgroundColor":"dark-color","textColor":"light-color","style":{"elements":{"link":{"color":{"text":"var:preset|color|light-color"}}},"spacing":{"padding":{"left":"30px","right":"30px","top":"12px","bottom":"12px"}},"border":{"radius":"0px"}},"className":"is-style-button-hover-secondary-bgcolor"} -->
                    <div class="wp-block-button is-style-button-hover-secondary-bgcolor"><a class="wp-block-button__link has-light-color-color has-dark-color-background-color has-text-color has-background has-link-color wp-element-button" style="border-radius:0px;padding-top:12px;padding-right:30px;padding-bottom:12px;padding-left:30px"><?php esc_html_e('Visit Store', 'storemate') ?></a></div>
                    <!-- /wp:button -->
                </div>
                <!-- /wp:buttons -->
            </div>
            <!-- /wp:group -->

            <!-- wp:image {"id":4933,"width":"auto","height":"160px","sizeSlug":"full","linkDestination":"none"} -->
            <figure class="wp-block-image size-full is-resized"><img src="<?php echo esc_url($storemate_images[0]) ?>" alt="" class="wp-image-4933" style="width:auto;height:160px" /></figure>
            <!-- /wp:image -->
        </div>
        <!-- /wp:group -->
    </div>
    <!-- /wp:group -->
</div>
<!-- /wp:group -->