<?php
/**
 * VW Machine Learning : Block Patterns
 *
 * @package VW Machine Learning 
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'vw-machine-learning',
		array( 'label' => __( 'VW Machine Learning ', 'vw-machine-learning' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'vw-machine-learning/banner-section',
		array(
			'title'      => __( 'Banner Section', 'vw-machine-learning' ),
			'categories' => array( 'vw-machine-learning' ),
			'content'    => "<!-- wp:group {\"align\":\"full\",\"className\":\"banner-sec\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group alignfull banner-sec\"><!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/bg1.png\",\"id\":73,\"dimRatio\":0,\"isUserOverlayColor\":true,\"focalPoint\":{\"x\":0.5,\"y\":0.5},\"minHeight\":700,\"sizeSlug\":\"large\",\"className\":\"banner-bg-img\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover banner-bg-img\" style=\"min-height:700px\"><img class=\"wp-block-cover__image-background wp-image-73 size-large\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/bg1.png\" style=\"object-position:50% 50%\" data-object-fit=\"cover\" data-object-position=\"50% 50%\"/><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 -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"width\":\"50%\",\"className\":\"banner-text-box1\"} -->\n<div class=\"wp-block-column banner-text-box1\" style=\"flex-basis:50%\"><!-- wp:paragraph {\"className\":\"banner-sml-title1\"} -->\n<p class=\"banner-sml-title1\">AI Machine Learning</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":1,\"className\":\"banner-title1\"} -->\n<h1 class=\"wp-block-heading banner-title1\">AI And Machine Learning For Smart Systems</h1>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"className\":\"banner-text1\"} -->\n<p class=\"banner-text1\">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:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"className\":\"banner-btn\",\"style\":{\"color\":{\"background\":\"#0c8aa4\"},\"border\":{\"radius\":\"6px\"}}} -->\n<div class=\"wp-block-button banner-btn\"><a class=\"wp-block-button__link has-background wp-element-button\" style=\"border-radius:6px;background-color:#0c8aa4\">Explore More</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"50%\",\"className\":\"bnr-img1\"} -->\n<div class=\"wp-block-column bnr-img1\" style=\"flex-basis:50%\"><!-- wp:image {\"id\":84,\"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/robot.png\" alt=\"\" class=\"wp-image-84\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:paragraph {\"className\":\"banner-middle1\"} -->\n<p class=\"banner-middle1\">AI</p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:group -->",
		)
	);

	register_block_pattern(
		'vw-machine-learning/Case Studies',
		array(
			'title'      => __( 'Case Studies', 'vw-machine-learning' ),
			'categories' => array( 'vw-machine-learning' ),
			'content'    => "<!-- wp:group {\"className\":\"container\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group container\"><!-- wp:group {\"className\":\"case-sec-content\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group case-sec-content\"><!-- wp:paragraph {\"className\":\"small-text \"} -->\n<p class=\"small-text \">Case Studies</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"className\":\"section-title\"} -->\n<h2 class=\"wp-block-heading section-title\">Differentiating through case studies</h2>\n<!-- /wp:heading --></div>\n<!-- /wp:group -->\n\n<!-- wp:group {\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\"}} -->\n<div class=\"wp-block-group\"><!-- wp:columns {\"className\":\"second-sec\"} -->\n<div class=\"wp-block-columns second-sec\"><!-- wp:column {\"width\":\"25%\",\"className\":\"case-img01\"} -->\n<div class=\"wp-block-column case-img01\" style=\"flex-basis:25%\"><!-- wp:image {\"id\":28,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"case-img01\"} -->\n<figure class=\"wp-block-image size-full case-img01\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/service1.png\" alt=\"\" class=\"wp-image-28\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"25%\",\"className\":\"articles2\"} -->\n<div class=\"wp-block-column articles2\" style=\"flex-basis:25%\"><!-- wp:list {\"className\":\"post-categories1\"} -->\n<ul class=\"wp-block-list post-categories1\"><!-- wp:list-item -->\n<li><a href=\"#\">Case1</a></li>\n<!-- /wp:list-item --></ul>\n<!-- /wp:list -->\n\n<!-- wp:heading {\"level\":5,\"className\":\"case-title \"} -->\n<h5 class=\"wp-block-heading case-title\">Industries Labor Machine</h5>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"className\":\"post-para\"} -->\n<p class=\"post-para\">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has…</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"className\":\"case-btn\",\"style\":{\"color\":{\"background\":\"#0c8aa4\"},\"border\":{\"radius\":\"6px\"}}} -->\n<div class=\"wp-block-button case-btn\"><a class=\"wp-block-button__link has-background wp-element-button\" style=\"border-radius:6px;background-color:#0c8aa4\">Explore More</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"25%\",\"className\":\"articles1\"} -->\n<div class=\"wp-block-column articles1\" style=\"flex-basis:25%\"><!-- wp:list {\"className\":\"post-categories1\"} -->\n<ul class=\"wp-block-list post-categories1\"><!-- wp:list-item -->\n<li><a href=\"#\">Case1</a></li>\n<!-- /wp:list-item --></ul>\n<!-- /wp:list -->\n\n<!-- wp:heading {\"level\":5,\"className\":\"case-title \"} -->\n<h5 class=\"wp-block-heading case-title\">Classified Listing AI Photo<br></h5>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"className\":\"post-para\"} -->\n<p class=\"post-para\">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has…</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"className\":\"case-btn\",\"style\":{\"color\":{\"background\":\"#0c8aa4\"},\"border\":{\"radius\":\"6px\"}}} -->\n<div class=\"wp-block-button case-btn\"><a class=\"wp-block-button__link has-background wp-element-button\" style=\"border-radius:6px;background-color:#0c8aa4\">Explore More</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"25%\",\"className\":\"case-img02\"} -->\n<div class=\"wp-block-column case-img02\" style=\"flex-basis:25%\"><!-- wp:image {\"id\":26,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"case-img02\"} -->\n<figure class=\"wp-block-image size-full case-img02\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/service2.png\" alt=\"\" class=\"wp-image-26\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group --></div>\n<!-- /wp:group -->",
		)
	);
}