<?php
/**
 * VW Logistics Shipping: Block Patterns
 *
 * @package VW Logistics Shipping
 * @since   1.0.0
 */

/**
 * Register Block Pattern Category.
 */
if ( function_exists( 'register_block_pattern_category' ) ) {

	register_block_pattern_category(
		'vw-logistics-shipping',
		array( 'label' => __( 'VW Logistics Shipping', 'vw-logistics-shipping' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'vw-logistics-shipping/banner-section',
		array(
			'title'      => __( 'Banner Section', 'vw-logistics-shipping' ),
			'categories' => array( 'vw-logistics-shipping' ),
			'content'    => "<!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/banner.png\",\"id\":2414,\"dimRatio\":50,\"minHeight\":600,\"align\":\"full\",\"className\":\"banner-section\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover alignfull banner-section\" style=\"min-height:600px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"></span><img class=\"wp-block-cover__image-background wp-image-2414\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/banner.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"width\":\"50%\",\"className\":\"banner-content\"} -->\n<div class=\"wp-block-column banner-content\" style=\"flex-basis:50%\"><!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#ff8800\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#ff8800\"}}},\"typography\":{\"fontSize\":\"16px\"}},\"className\":\"banner-main-heading\"} -->\n<p class=\"banner-main-heading has-text-color has-link-color\" style=\"color:#ff8800;font-size:16px\">Trusted Logistic Service</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":1,\"style\":{\"typography\":{\"fontSize\":\"45px\"}}} -->\n<h1 class=\"wp-block-heading\" style=\"font-size:45px\">We Are Professional Logistics Service &amp; Transportation</h1>\n<!-- /wp:heading -->\n\n<!-- wp:image {\"id\":2420,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/line.png\" alt=\"\" class=\"wp-image-2420\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"}},\"className\":\"banner-para\"} -->\n<p class=\"banner-para\" style=\"font-size:15px\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"style\":{\"border\":{\"radius\":\"0px\"},\"typography\":{\"fontSize\":\"15px\"}},\"className\":\"is-style-outline\"} -->\n<div class=\"wp-block-button has-custom-font-size is-style-outline\" style=\"font-size:15px\"><a class=\"wp-block-button__link wp-element-button\" style=\"border-radius:0px\">Explore More</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"50%\",\"className\":\"banner-shortcode\"} -->\n<div class=\"wp-block-column banner-shortcode\" style=\"flex-basis:50%\"><!-- wp:shortcode -->\n[stm-calc id=\"2400\"]\n<!-- /wp:shortcode --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover -->",
		)
	);

	register_block_pattern(
		'vw-logistics-shipping/about-us-section',
		array(
			'title'      => __( 'Featured Villa Section', 'vw-logistics-shipping' ),
			'categories' => array( 'vw-logistics-shipping' ),
			'content'    => "<!-- wp:columns {\"className\":\"about-section\"} -->\n<div class=\"wp-block-columns about-section\"><!-- wp:column {\"className\":\"about-img-section\"} -->\n<div class=\"wp-block-column about-img-section\"><!-- wp:image {\"id\":2444,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/about img.png\" alt=\"\" class=\"wp-image-2444\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"about-content-section\"} -->\n<div class=\"wp-block-column about-content-section\"><!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#ff8800\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#ff8800\"}}},\"typography\":{\"fontSize\":\"16px\"}},\"className\":\"about-small-heading\"} -->\n<p class=\"about-small-heading has-text-color has-link-color\" style=\"color:#ff8800;font-size:16px\">About Us</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":1,\"style\":{\"typography\":{\"fontSize\":\"34px\"}},\"className\":\"about-main-heading\"} -->\n<h1 class=\"wp-block-heading about-main-heading\" style=\"font-size:34px\">World Class Logistics And Service Transportation</h1>\n<!-- /wp:heading -->\n\n<!-- wp:image {\"id\":2447,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/line.png\" alt=\"\" class=\"wp-image-2447\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color has-link-color\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed doeiusmod.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"className\":\"certificate-section\"} -->\n<div class=\"wp-block-columns certificate-section\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:columns {\"className\":\"about-certificate\"} -->\n<div class=\"wp-block-columns about-certificate\"><!-- wp:column {\"width\":\"15%\",\"className\":\"about-certificate-img\"} -->\n<div class=\"wp-block-column about-certificate-img\" style=\"flex-basis:15%\"><!-- wp:image {\"id\":2452,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/cerifcate.png\" alt=\"\" class=\"wp-image-2452\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"85%\",\"className\":\"about-certificate-text\"} -->\n<div class=\"wp-block-column about-certificate-text\" style=\"flex-basis:85%\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color has-link-color\" style=\"font-size:16px\">Certificate &amp; Award Winner</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:columns {\"className\":\"about-certificate\"} -->\n<div class=\"wp-block-columns about-certificate\"><!-- wp:column {\"width\":\"15%\",\"className\":\"about-certificate-img\"} -->\n<div class=\"wp-block-column about-certificate-img\" style=\"flex-basis:15%\"><!-- wp:image {\"id\":2455,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/security provide.png\" alt=\"\" class=\"wp-image-2455\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"85%\",\"className\":\"about-certificate-text\"} -->\n<div class=\"wp-block-column about-certificate-text\" style=\"flex-basis:85%\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color has-link-color\" style=\"font-size:16px\">Provide Security On Shipment</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"className\":\"paragraph-section\"} -->\n<div class=\"wp-block-columns paragraph-section\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:columns {\"className\":\"right-section\"} -->\n<div class=\"wp-block-columns right-section\"><!-- wp:column {\"width\":\"15%\",\"className\":\"right-img\"} -->\n<div class=\"wp-block-column right-img\" style=\"flex-basis:15%\"><!-- wp:image {\"id\":2458,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/tick.png\" alt=\"\" class=\"wp-image-2458\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"85%\",\"className\":\"right-text\"} -->\n<div class=\"wp-block-column right-text\" style=\"flex-basis:85%\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color has-link-color\" style=\"font-size:15px\">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"className\":\"paragraph-section\"} -->\n<div class=\"wp-block-columns paragraph-section\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:columns {\"className\":\"right-section\"} -->\n<div class=\"wp-block-columns right-section\"><!-- wp:column {\"width\":\"15%\",\"className\":\"right-img\"} -->\n<div class=\"wp-block-column right-img\" style=\"flex-basis:15%\"><!-- wp:image {\"id\":2458,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/tick.png\" alt=\"\" class=\"wp-image-2458\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"85%\",\"className\":\"right-text\"} -->\n<div class=\"wp-block-column right-text\" style=\"flex-basis:85%\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color has-link-color\" style=\"font-size:15px\">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:buttons {\"className\":\"about-btn\"} -->\n<div class=\"wp-block-buttons about-btn\"><!-- wp:button {\"backgroundColor\":\"black\",\"textColor\":\"white\",\"style\":{\"border\":{\"radius\":\"0px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"15px\"}},\"className\":\"is-style-outline\"} -->\n<div class=\"wp-block-button has-custom-font-size is-style-outline\" style=\"font-size:15px\"><a class=\"wp-block-button__link has-white-color has-black-background-color has-text-color has-background has-link-color wp-element-button\" style=\"border-radius:0px\">Learn More</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->",
		)
	);
}