<?php
/**
 * Mining Industry : Block Patterns
 *
 * @package Mining Industry 
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'mining-industry',
		array( 'label' => __( 'Mining Industry ', 'mining-industry' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'mining-industry/slider-section
',
		array(
			'title'      => __( 'Slider Section', 'mining-industry' ),
			'categories' => array( 'mining-industry' ),
			'content'    => "<!-- wp:group {\"metadata\":{\"categories\":[\"mining-industry\"],\"patternName\":\"mining-industry/slider-section\\n\",\"name\":\"Slider Section\"},\"align\":\"full\",\"className\":\"group-conatiner\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group alignfull group-conatiner\"><!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/slider-bg2.png\",\"id\":40,\"dimRatio\":0,\"isUserOverlayColor\":true,\"minHeight\":650,\"sizeSlug\":\"large\",\"align\":\"full\",\"className\":\"cover-img\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover alignfull cover-img\" style=\"min-height:650px\"><img class=\"wp-block-cover__image-background wp-image-40 size-large\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/slider-bg2.png\" data-object-fit=\"cover\"/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\"></span><div class=\"wp-block-cover__inner-container\"><!-- wp:columns {\"className\":\"slider-container\"} -->\n<div class=\"wp-block-columns slider-container\"><!-- wp:column {\"width\":\"\",\"className\":\"silder-info-sec\"} -->\n<div class=\"wp-block-column silder-info-sec\"><!-- wp:paragraph {\"align\":\"left\",\"className\":\"silder-btn\"} -->\n<p class=\"has-text-align-left silder-btn\">Mining WordPress Theme</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"verticalAlignment\":\"center\",\"className\":\"slider-info-sec\"} -->\n<div class=\"wp-block-columns are-vertically-aligned-center slider-info-sec\"><!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"40%\",\"className\":\"info-section\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center info-section\" style=\"flex-basis:40%\"><!-- wp:heading {\"textAlign\":\"left\",\"style\":{\"typography\":{\"fontSize\":\"36px\"}}} -->\n<h2 class=\"wp-block-heading has-text-align-left\" style=\"font-size:36px\">Professional Team Delivering High-Quality <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-luminous-vivid-orange-color\">Mining Services</mark></h2>\n<!-- /wp:heading --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:paragraph {\"align\":\"left\"} -->\n<p class=\"has-text-align-left\">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"className\":\"explore-btn\"} -->\n<p class=\"explore-btn\">Explore Now</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"className\":\"box-container\"} -->\n<div class=\"wp-block-columns box-container\"><!-- wp:column {\"verticalAlignment\":\"center\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"50%\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center\" style=\"flex-basis:50%\"><!-- wp:group {\"className\":\"box-img-container\",\"style\":{\"color\":{\"background\":\"#00000066\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"justifyContent\":\"right\"}} -->\n<div class=\"wp-block-group box-img-container has-background\" style=\"background-color:#00000066\"><!-- wp:html -->\n<i class=\"fa-solid fa-caret-left\"></i>\n<!-- /wp:html -->\n\n<!-- wp:image {\"id\":218,\"width\":\"auto\",\"height\":\"90px\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full is-resized\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/slider-bg1.png\" alt=\"\" class=\"wp-image-218\" style=\"width:auto;height:90px\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:image {\"id\":40,\"width\":\"auto\",\"height\":\"90px\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full is-resized\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/slider-bg2.png\" alt=\"\" class=\"wp-image-40\" style=\"width:auto;height:90px\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:image {\"id\":30,\"width\":\"auto\",\"height\":\"90px\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full is-resized\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/service3.png\" alt=\"\" class=\"wp-image-30\" style=\"width:auto;height:90px\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:html -->\n<i class=\"fa-solid fa-caret-right\"></i>\n<!-- /wp:html --></div>\n<!-- /wp:group --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:group -->",
		)
	);

	register_block_pattern(
		'mining-industry/project-section',
		array(
			'title'      => __( 'Project Section ', 'mining-industry' ),
			'categories' => array( 'mining-industry' ),
			'content'    => "<!-- wp:group {\"metadata\":{\"categories\":[\"mining-industry\"],\"patternName\":\"mining-industry/project-section\",\"name\":\"Project Section \"},\"className\":\"project-sections\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group project-sections\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"className\":\"project-info\"} -->\n<div class=\"wp-block-column project-info\"><!-- wp:paragraph {\"className\":\"silder-btn\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\",\"fontSize\":\"medium\"} -->\n<p class=\"silder-btn has-white-color has-text-color has-link-color has-medium-font-size\">Our Projects</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"className\":\"project-line\",\"style\":{\"typography\":{\"fontSize\":\"30px\"}}} -->\n<h2 class=\"wp-block-heading project-line\" style=\"font-size:30px\">Our Incredible Projects</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"fontSize\":\"medium\"} -->\n<p class=\"has-medium-font-size\">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"width\":\"100%\",\"className\":\"image-conatiner\"} -->\n<div class=\"wp-block-column image-conatiner\" style=\"flex-basis:100%\"><!-- wp:columns {\"className\":\"card-sections\"} -->\n<div class=\"wp-block-columns card-sections\"><!-- wp:column {\"className\":\"image-card\"} -->\n<div class=\"wp-block-column image-card\"><!-- wp:image {\"id\":34,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"align\":\"center\"} -->\n<figure class=\"wp-block-image aligncenter size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/service5.png\" alt=\"\" class=\"wp-image-34\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:heading {\"level\":5,\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<h5 class=\"wp-block-heading has-black-color has-text-color has-link-color\">Project Name Here</h5>\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 is simply dummy text of the printing and…</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"image-card\"} -->\n<div class=\"wp-block-column image-card\"><!-- wp:image {\"id\":30,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"align\":\"center\"} -->\n<figure class=\"wp-block-image aligncenter size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/service3.png\" alt=\"\" class=\"wp-image-30\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:heading {\"level\":5} -->\n<h5 class=\"wp-block-heading\">Project Name Here</h5>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>Lorem Ipsum is simply dummy text of the printing and…</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"image-card\"} -->\n<div class=\"wp-block-column image-card\"><!-- wp:image {\"id\":32,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"align\":\"center\"} -->\n<figure class=\"wp-block-image aligncenter size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/service4.png\" alt=\"\" class=\"wp-image-32\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:heading {\"level\":5} -->\n<h5 class=\"wp-block-heading\">Project Name Here</h5>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>Lorem Ipsum is simply dummy text of the printing and…</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"image-card\"} -->\n<div class=\"wp-block-column image-card\"><!-- wp:image {\"id\":16,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"align\":\"center\"} -->\n<figure class=\"wp-block-image aligncenter size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/service1.png\" alt=\"\" class=\"wp-image-16\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:heading {\"level\":5} -->\n<h5 class=\"wp-block-heading\">Project Name Here</h5>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>Lorem Ipsum is simply dummy text of the printing and…</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group -->",
		)
	);
}