<?php
/**
 * Architect Architecture: Block Patterns
 *
 * @package Architect Architecture
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'architect-architecture',
		array( 'label' => __( 'Architect Architecture', 'architect-architecture' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'architect-architecture/banner-section',
		array(
			'title'      => __( 'Banner Section', 'architect-architecture' ),
			'categories' => array( 'architect-architecture' ),
			'content'    => "<!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/baner.png\",\"id\":3620,\"dimRatio\":40,\"customOverlayColor\":\"#193871\",\"minHeight\":550,\"align\":\"full\",\"className\":\"is-light baner-section\"} -->\n<div class=\"wp-block-cover alignfull is-light baner-section\" style=\"min-height:550px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-40 has-background-dim\" style=\"background-color:#193871\"></span><img class=\"wp-block-cover__image-background wp-image-3620\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/baner.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"width\":\"25%\"} -->\n<div class=\"wp-block-column\" style=\"flex-basis:25%\"></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"50%\",\"className\":\"baner-cont\"} -->\n<div class=\"wp-block-column baner-cont\" style=\"flex-basis:50%\"><!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"16px\",\"textTransform\":\"capitalize\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\",\"className\":\"small-title\"} -->\n<p class=\"has-text-align-center small-title has-white-color has-text-color has-link-color\" style=\"font-size:16px;text-transform:capitalize\">best architecture company in india</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"level\":1,\"style\":{\"typography\":{\"fontSize\":\"50px\"}},\"textColor\":\"white\"} -->\n<h1 class=\"wp-block-heading has-text-align-center has-white-color has-text-color\" style=\"font-size:50px\">WE MAKE IT HAPPEN</h1>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\",\"fontSize\":\"normal\"} -->\n<p class=\"has-text-align-center has-white-color has-text-color has-link-color has-normal-font-size\">Lorem ipsum&nbsp;is simply dummy text of the printing and typesetting industry. Lorem ipsum&nbsp;is simply dummy text of the printing and typesetting industry</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons {\"layout\":{\"type\":\"flex\",\"justifyContent\":\"center\",\"orientation\":\"horizontal\"}} -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"background\":\"#ff5e15\"},\"border\":{\"radius\":\"3px\"}},\"className\":\"baner-btn\"} -->\n<div class=\"wp-block-button has-custom-font-size baner-btn\" style=\"font-size:15px\"><a class=\"wp-block-button__link has-background wp-element-button\" style=\"border-radius:3px;background-color:#ff5e15\">Read More</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"25%\"} -->\n<div class=\"wp-block-column\" style=\"flex-basis:25%\"></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover -->",
		)
	);

	register_block_pattern(
		'architect-architecture/portfolio-section',
		array(
			'title'      => __( 'Portfolio Section', 'architect-architecture' ),
			'categories' => array( 'architect-architecture' ),
			'content'    => "<!-- wp:group {\"align\":\"wide\",\"textColor\":\"white\",\"className\":\"portfolio-section p-4 mx-2\"} -->\n<div class=\"wp-block-group alignwide portfolio-section p-4 mx-2 has-white-color has-text-color\"><!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"color\":{\"text\":\"#002155\"},\"typography\":{\"fontSize\":\"50px\"}}} -->\n<h2 class=\"has-text-align-center has-text-color\" style=\"color:#002155;font-size:50px\">Our Portfolio</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"color\":{\"text\":\"#002155\"}},\"className\":\"mb-4\",\"fontSize\":\"normal\"} -->\n<p class=\"has-text-align-center mb-4 has-text-color has-normal-font-size\" style=\"color:#002155\">Lorem ipsum&nbsp;is simply dummy text of the printing and typesetting industry</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"className\":\"px-2\"} -->\n<div class=\"wp-block-columns px-2\"><!-- wp:column {\"className\":\"mb-5\"} -->\n<div class=\"wp-block-column mb-5\"><!-- wp:group {\"className\":\"outer-box-content\"} -->\n<div class=\"wp-block-group outer-box-content\"><!-- wp:image {\"id\":3647,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/services-1.png\" alt=\"\" class=\"wp-image-3647\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:group {\"className\":\"box-inner-content\"} -->\n<div class=\"wp-block-group box-inner-content\"><!-- wp:heading {\"textAlign\":\"left\",\"level\":3,\"style\":{\"color\":{\"text\":\"#002155\"},\"typography\":{\"fontSize\":\"24px\"}}} -->\n<h3 class=\"has-text-align-left has-text-color\" style=\"color:#002155;font-size:24px\">High Tech Architect</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"left\",\"style\":{\"color\":{\"text\":\"#777777\"}},\"fontSize\":\"normal\"} -->\n<p class=\"has-text-align-left has-text-color has-normal-font-size\" style=\"color:#777777\">Lorem ipsum&nbsp;is simply dummy text</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:group --></div>\n<!-- /wp:group --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"mb-5\"} -->\n<div class=\"wp-block-column mb-5\"><!-- wp:group {\"className\":\"outer-box-content\"} -->\n<div class=\"wp-block-group outer-box-content\"><!-- wp:image {\"id\":3668,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/services-2.png\" alt=\"\" class=\"wp-image-3668\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:group {\"className\":\"box-inner-content\"} -->\n<div class=\"wp-block-group box-inner-content\"><!-- wp:heading {\"textAlign\":\"left\",\"level\":3,\"style\":{\"color\":{\"text\":\"#002155\"},\"typography\":{\"fontSize\":\"24px\"}}} -->\n<h3 class=\"has-text-align-left has-text-color\" style=\"color:#002155;font-size:24px\">High Tech Architect</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"left\",\"style\":{\"color\":{\"text\":\"#777777\"}},\"fontSize\":\"normal\"} -->\n<p class=\"has-text-align-left has-text-color has-normal-font-size\" style=\"color:#777777\">Lorem ipsum&nbsp;is simply dummy text</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:group --></div>\n<!-- /wp:group --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"mb-5\"} -->\n<div class=\"wp-block-column mb-5\"><!-- wp:group {\"className\":\"outer-box-content\"} -->\n<div class=\"wp-block-group outer-box-content\"><!-- wp:image {\"id\":3669,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/services-3.png\" alt=\"\" class=\"wp-image-3669\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:group {\"className\":\"box-inner-content\"} -->\n<div class=\"wp-block-group box-inner-content\"><!-- wp:heading {\"textAlign\":\"left\",\"level\":3,\"style\":{\"color\":{\"text\":\"#002155\"},\"typography\":{\"fontSize\":\"24px\"}}} -->\n<h3 class=\"has-text-align-left has-text-color\" style=\"color:#002155;font-size:24px\">High Tech Architect</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"left\",\"style\":{\"color\":{\"text\":\"#777777\"}},\"fontSize\":\"normal\"} -->\n<p class=\"has-text-align-left has-text-color has-normal-font-size\" style=\"color:#777777\">Lorem ipsum&nbsp;is simply dummy text</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:group --></div>\n<!-- /wp:group --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:group -->",
		)
	);
}