<?php
/**
 * Home Construction Company: Block Patterns
 *
 * @package Home Construction Company
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'home-construction-company',
		array( 'label' => __( 'Home Construction Company', 'home-construction-company' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'home-construction-company/banner-section',
		array(
			'title'      => __( 'Banner Section', 'home-construction-company' ),
			'categories' => array( 'home-construction-company' ),
			'content'    => "<!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/images/slider.png\",\"id\":315,\"dimRatio\":0,\"minHeight\":600,\"align\":\"full\",\"className\":\"home-construction-company-banner-section\"} -->\n<div class=\"wp-block-cover alignfull home-construction-company-banner-section\" style=\"min-height:600px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\"></span><img class=\"wp-block-cover__image-background wp-image-315\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/images/slider.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:columns {\"className\":\"mx-5 px-5\"} -->\n<div class=\"wp-block-columns mx-5 px-5\"><!-- wp:column {\"width\":\"40%\"} -->\n<div class=\"wp-block-column\" style=\"flex-basis:40%\"></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"60%\",\"className\":\"text-section mx-5\"} -->\n<div class=\"wp-block-column text-section mx-5\" style=\"flex-basis:60%\"><!-- wp:heading {\"textAlign\":\"right\",\"level\":1,\"style\":{\"typography\":{\"fontSize\":\"40px\",\"textTransform\":\"uppercase\"}}} -->\n<h1 class=\"wp-block-heading has-text-align-right\" style=\"font-size:40px;text-transform:uppercase\">WELCOME TO CONSTRUCTION ESTATE THEME</h1>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"right\",\"style\":{\"typography\":{\"fontSize\":\"15px\"}},\"textColor\":\"white\"} -->\n<p class=\"has-text-align-right has-white-color has-text-color\" 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</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons {\"layout\":{\"type\":\"flex\",\"justifyContent\":\"right\"}} -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"style\":{\"border\":{\"radius\":\"0px\"},\"typography\":{\"fontSize\":\"14px\"},\"color\":{\"background\":\"var(--primary-color)\"}}} -->\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:14px\"><a class=\"wp-block-button__link has-background wp-element-button\" style=\"border-radius:0px;background-color:var(--primary-color)\">KNOW MORE</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons -->\n\n<!-- wp:paragraph -->\n<p><a href=\"http://localhost/themescaliber-themes/index.php/home/#carouselExampleIndicators\"></a></p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover -->",
		)
	);

	register_block_pattern(
		'home-construction-company/services-section',
		array(
			'title'      => __( 'Services Section', 'home-construction-company' ),
			'categories' => array( 'home-construction-company' ),
			'content'    => "<!-- wp:group {\"align\":\"wide\",\"className\":\"home-construction-company-services-section my-5\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group alignwide home-construction-company-services-section my-5\"><!-- wp:columns {\"align\":\"wide\",\"className\":\"our-services-section \"} -->\n<div class=\"wp-block-columns alignwide our-services-section\"><!-- wp:column {\"width\":\"80%\",\"className\":\"our-services-text\"} -->\n<div class=\"wp-block-column our-services-text\" style=\"flex-basis:80%\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"},\"color\":{\"text\":\"var(--primary-color)\"}}} -->\n<p class=\"has-text-color\" style=\"color:var(--primary-color);font-size:16px\">Services we are offerring</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"style\":{\"typography\":{\"textTransform\":\"uppercase\"}}} -->\n<h2 class=\"wp-block-heading\" style=\"text-transform:uppercase\">OUR SERVICES</h2>\n<!-- /wp:heading --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"20%\",\"className\":\"our-services-img\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center our-services-img\" style=\"flex-basis:20%\"><!-- wp:image {\"align\":\"right\",\"id\":341,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image alignright size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/images/service.png\" alt=\"\" class=\"wp-image-341\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"align\":\"wide\",\"className\":\"tabs-section\"} -->\n<div class=\"wp-block-columns alignwide tabs-section\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:buttons {\"className\":\"services-butten-section\"} -->\n<div class=\"wp-block-buttons services-butten-section\"><!-- wp:button {\"textColor\":\"black\",\"style\":{\"color\":{\"background\":\"#00000000\"},\"border\":{\"radius\":\"0px\"}}} -->\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-black-color has-text-color has-background wp-element-button\" style=\"border-radius:0px;background-color:#00000000\">BUILDING</a></div>\n<!-- /wp:button -->\n\n<!-- wp:button {\"textColor\":\"black\",\"style\":{\"color\":{\"background\":\"#00000000\"},\"border\":{\"radius\":\"0px\"}}} -->\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-black-color has-text-color has-background wp-element-button\" style=\"border-radius:0px;background-color:#00000000\">CONSTRUCTION</a></div>\n<!-- /wp:button -->\n\n<!-- wp:button {\"textColor\":\"black\",\"style\":{\"color\":{\"background\":\"#00000000\"},\"border\":{\"radius\":\"0px\"}}} -->\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-black-color has-text-color has-background wp-element-button\" style=\"border-radius:0px;background-color:#00000000\">ISOLATION</a></div>\n<!-- /wp:button -->\n\n<!-- wp:button {\"textColor\":\"black\",\"style\":{\"color\":{\"background\":\"#00000000\"},\"border\":{\"radius\":\"0px\"}}} -->\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-black-color has-text-color has-background wp-element-button\" style=\"border-radius:0px;background-color:#00000000\">PAINTING</a></div>\n<!-- /wp:button -->\n\n<!-- wp:button {\"textColor\":\"black\",\"style\":{\"color\":{\"background\":\"#00000000\"},\"border\":{\"radius\":\"0px\"}}} -->\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-black-color has-text-color has-background wp-element-button\" style=\"border-radius:0px;background-color:#00000000\">ELECTRICITY</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"align\":\"wide\",\"className\":\"tab-title-section\"} -->\n<div class=\"wp-block-columns alignwide tab-title-section\"><!-- wp:column {\"width\":\"70%\",\"className\":\"tab-title-text\"} -->\n<div class=\"wp-block-column tab-title-text\" style=\"flex-basis:70%\"><!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"textTransform\":\"capitalize\",\"fontSize\":\"25px\"}}} -->\n<h3 class=\"wp-block-heading\" style=\"font-size:25px;font-style:normal;font-weight:400;text-transform:capitalize\">Tab Title</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color\" style=\"font-size:16px\">lorem ipsum&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text .</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"verticalAlignment\":\"center\",\"className\":\"service-icon-column\"} -->\n<div class=\"wp-block-columns are-vertically-aligned-center service-icon-column\"><!-- wp:column {\"verticalAlignment\":\"center\",\"className\":\"service-icon-section\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center service-icon-section\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"verticalAlignment\":\"top\",\"width\":\"30%\"} -->\n<div class=\"wp-block-column is-vertically-aligned-top\" style=\"flex-basis:30%\"><!-- wp:image {\"id\":388,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/images/plan.png\" alt=\"\" class=\"wp-image-388\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"top\",\"width\":\"70%\"} -->\n<div class=\"wp-block-column is-vertically-aligned-top\" style=\"flex-basis:70%\"><!-- wp:paragraph {\"align\":\"left\"} -->\n<p class=\"has-text-align-left\">1.plan</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"center\",\"className\":\"service-icon-section\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center service-icon-section\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"verticalAlignment\":\"top\",\"width\":\"25%\"} -->\n<div class=\"wp-block-column is-vertically-aligned-top\" style=\"flex-basis:25%\"><!-- wp:image {\"id\":357,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/images/design.png\" alt=\"\" class=\"wp-image-357\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"top\",\"width\":\"75%\"} -->\n<div class=\"wp-block-column is-vertically-aligned-top\" style=\"flex-basis:75%\"><!-- wp:paragraph {\"align\":\"left\"} -->\n<p class=\"has-text-align-left\">2.design</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"center\",\"className\":\"service-icon-section\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center service-icon-section\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"verticalAlignment\":\"top\",\"width\":\"20%\"} -->\n<div class=\"wp-block-column is-vertically-aligned-top\" style=\"flex-basis:20%\"><!-- wp:image {\"id\":358,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/images/delivery.png\" alt=\"\" class=\"wp-image-358\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"top\",\"width\":\"80%\"} -->\n<div class=\"wp-block-column is-vertically-aligned-top\" style=\"flex-basis:80%\"><!-- wp:paragraph {\"align\":\"left\"} -->\n<p class=\"has-text-align-left\">3.delivery</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\":\"tab-title-button-section\"} -->\n<div class=\"wp-block-buttons tab-title-button-section\"><!-- wp:button {\"textColor\":\"vivid-red\",\"style\":{\"color\":{\"background\":\"#00000000\"},\"border\":{\"radius\":\"0px\"}},\"className\":\"tab-title-button\"} -->\n<div class=\"wp-block-button tab-title-button\"><a class=\"wp-block-button__link has-vivid-red-color has-text-color has-background wp-element-button\" style=\"border-radius:0px;background-color:#00000000\">get in touch</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"30%\",\"className\":\"tab-title-image\"} -->\n<div class=\"wp-block-column tab-title-image\" style=\"flex-basis:30%\"><!-- wp:image {\"id\":353,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"image-section\"} -->\n<figure class=\"wp-block-image size-full image-section\"><img src=\"" . esc_url(get_template_directory_uri()) . "/images/service-img.png\" alt=\"\" class=\"wp-image-353\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group -->",
		)
	);
}