<?php
/**
 * Industrial Manufacturing: Block Patterns
 *
 * @package Industrial Manufacturing
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'industrial-manufacturing',
		array( 'label' => __( 'Industrial Manufacturing', 'industrial-manufacturing' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'industrial-manufacturing/banner-section',
		array(
			'title'      => __( 'Banner Section', 'industrial-manufacturing' ),
			'categories' => array( 'industrial-manufacturing' ),
			'content'    => "<!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/block-patterns/images/banner.png\",\"id\":13,\"dimRatio\":50,\"customOverlayColor\":\"#00000000\",\"isUserOverlayColor\":true,\"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\" style=\"background-color:#00000000\"></span><img class=\"wp-block-cover__image-background wp-image-13\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/block-patterns/images/banner.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:columns {\"className\":\"container\"} -->\n<div class=\"wp-block-columns container\"><!-- wp:column {\"className\":\"banner-left\"} -->\n<div class=\"wp-block-column banner-left\"><!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"var(--secondary-color)\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var(--secondary-color)\"}}},\"typography\":{\"fontSize\":\"16px\"}},\"className\":\"mb-0\"} -->\n<p class=\"mb-0 has-text-color has-link-color\" style=\"color:var(--secondary-color);font-size:16px\">Get Solutions</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":1,\"style\":{\"color\":{\"text\":\"var(--primary-color)\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var(--primary-color)\"}}},\"typography\":{\"fontSize\":\"40px\"}}} -->\n<h1 class=\"wp-block-heading has-text-color has-link-color\" style=\"color:var(--primary-color);font-size:40px\">CRAZY ABOUT INDUSTRY</h1>\n<!-- /wp:heading -->\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</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\",\"className\":\"list-text\"} -->\n<p class=\"list-text has-black-color has-text-color has-link-color\" style=\"font-size:16px\">Quality Control System, 100% Satisfaction Gurantee</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\",\"className\":\"list-text\"} -->\n<p class=\"list-text has-black-color has-text-color has-link-color\" style=\"font-size:16px\">Highly Professional Staff, Accurate Testing Process</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\",\"className\":\"list-text\"} -->\n<p class=\"list-text has-black-color has-text-color has-link-color\" style=\"font-size:16px\">Workmanship ,Professional and Qualified</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"style\":{\"typography\":{\"fontSize\":\"14px\"},\"color\":{\"background\":\"var(--secondary-color)\"},\"border\":{\"radius\":\"0px\"}},\"className\":\"read-more \"} -->\n<div class=\"wp-block-button has-custom-font-size read-more\" style=\"font-size:14px\"><a class=\"wp-block-button__link has-background wp-element-button\" style=\"border-radius:0px;background-color:var(--secondary-color)\">Our Services</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover -->",
		)
	);

	register_block_pattern(
		'industrial-manufacturing/about-section',
		array(
			'title'      => __( 'About Section', 'industrial-manufacturing' ),
			'categories' => array( 'industrial-manufacturing' ),
			'content'    => "<!-- wp:columns {\"className\":\"about-section mt-5 position-relative\"} -->\n<div class=\"wp-block-columns about-section mt-5 position-relative\"><!-- wp:column {\"width\":\"50%\",\"className\":\"about-left\"} -->\n<div class=\"wp-block-column about-left\" style=\"flex-basis:50%\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"22px\"},\"color\":{\"text\":\"var(--secondary-color)\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var(--secondary-color)\"}}}},\"className\":\"about-heading position-relative\"} -->\n<p class=\"about-heading position-relative has-text-color has-link-color\" style=\"color:var(--secondary-color);font-size:22px\">About Us</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":\"32px\"},\"color\":{\"text\":\"var(--primary-color)\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var(--primary-color)\"}}}}} -->\n<h2 class=\"wp-block-heading has-text-color has-link-color\" style=\"color:var(--primary-color);font-size:32px\">High Quality Projects &amp; Innovative Design !</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"}}} -->\n<p style=\"font-size:15px\">Lorem ipsum&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently&nbsp;</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"className\":\"slider-btn\"} -->\n<div class=\"wp-block-columns slider-btn\"><!-- wp:column {\"width\":\"35%\"} -->\n<div class=\"wp-block-column\" style=\"flex-basis:35%\"><!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"style\":{\"typography\":{\"fontSize\":\"14px\"},\"color\":{\"background\":\"var(--primary-color)\"},\"border\":{\"radius\":\"0px\"}},\"className\":\"about-btn\"} -->\n<div class=\"wp-block-button has-custom-font-size about-btn\" style=\"font-size:14px\"><a class=\"wp-block-button__link has-background wp-element-button\" style=\"border-radius:0px;background-color:var(--primary-color)\">Our Services</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"65%\"} -->\n<div class=\"wp-block-column\" style=\"flex-basis:65%\"><!-- wp:group {\"className\":\"experince-sec \",\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\"}} -->\n<div class=\"wp-block-group experince-sec\"><!-- wp:image {\"id\":75,\"width\":\"40px\",\"height\":\"40px\",\"scale\":\"cover\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"experince-img \"} -->\n<figure class=\"wp-block-image size-full is-resized experince-img\"><img src=\"" . esc_url(get_template_directory_uri()) . "/block-patterns/images/man.png\" alt=\"\" class=\"wp-image-75\" style=\"object-fit:cover;width:40px;height:40px\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"className\":\"mb-0\"} -->\n<p class=\"mb-0\">(034)019562347812</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#121619\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#121619\"}}}},\"className\":\"mb-0\"} -->\n<p class=\"mb-0 has-text-color has-link-color\" style=\"color:#121619\">Our Representative</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"50%\",\"className\":\"about-right\"} -->\n<div class=\"wp-block-column about-right\" style=\"flex-basis:50%\"><!-- wp:image {\"id\":92,\"width\":\"400px\",\"height\":\"400px\",\"scale\":\"cover\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"align\":\"center\",\"className\":\"about-img  position-relative\"} -->\n<figure class=\"wp-block-image aligncenter size-full is-resized about-img  position-relative\"><img src=\"" . esc_url(get_template_directory_uri()) . "/block-patterns/images/building.png\" alt=\"\" class=\"wp-image-92\" style=\"object-fit:cover;width:400px;height:400px\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"17px\"}}} -->\n<p style=\"font-size:17px\">40 Years Of Experience</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->",
		)
	);
}


