<?php
/**
 * Modern-Construction: Block Patterns
 *
 * @package Modern-Construction
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'modern-construction',
		array( 'label' => __( 'Modern-Construction', 'modern-construction' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'modern-construction/banner-section',
		array(
			'title'      => __( 'Banner Section', 'modern-construction' ),
			'categories' => array( 'modern-construction' ),
			'content'    => "<!-- wp:cover {\"url\":\"" . get_theme_file_uri() . "/block-patterns/images/banner.png\",\"id\":550,\"dimRatio\":50,\"align\":\"full\",\"className\":\"banner-section-construction\"} -->\n<div class=\"wp-block-cover alignfull banner-section-construction\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"></span><img class=\"wp-block-cover__image-background wp-image-550\" alt=\"\" src=\"" . get_theme_file_uri() . "/block-patterns/images/banner.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:heading {\"textAlign\":\"center\",\"level\":1} -->\n<h1 class=\"has-text-align-center\">WELCOME TO LOREM IPSUM CONSTRUCTION</h1>\n<!-- /wp:heading -->\n\n<!-- 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%\"} -->\n<div class=\"wp-block-column\" style=\"flex-basis:50%\"><!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"14px\"}}} -->\n<p class=\"has-text-align-center\" style=\"font-size:14px\">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,</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons {\"layout\":{\"type\":\"flex\",\"justifyContent\":\"center\"}} -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"textColor\":\"black\",\"style\":{\"border\":{\"radius\":\"0px\"},\"color\":{\"background\":\"var(--primary-color)\"}},\"fontSize\":\"small\"} -->\n<div class=\"wp-block-button has-custom-font-size has-small-font-size\"><a class=\"wp-block-button__link has-black-color has-text-color has-background\" style=\"border-radius:0px;background-color:var(--primary-color)\">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(
		'modern-construction/topbar-section',
		array(
			'title'      => __( 'Topbar Section', 'modern-construction' ),
			'categories' => array( 'modern-construction' ),
			'content'    => "<!-- wp:group {\"align\":\"wide\",\"style\":{\"color\":{\"background\":\"var(--primary-color)\"}},\"className\":\"mx-md-2 mx-2  pt-md-3 pt-3 top-bar-section position-relative\"} -->\n<div class=\"wp-block-group alignwide mx-md-2 mx-2 pt-md-3 pt-3 top-bar-section position-relative has-background\" style=\"background-color:var(--primary-color)\"><!-- wp:columns {\"align\":\"wide\",\"className\":\"mx-md-5\"} -->\n<div class=\"wp-block-columns alignwide mx-md-5\"><!-- wp:column {\"className\":\" top-bar-section-col-one\"} -->\n<div class=\"wp-block-column  top-bar-section-col-one\"><!-- wp:paragraph {\"align\":\"left\",\"style\":{\"color\":{\"text\":\"#121212\"}},\"className\":\"mb-md-0 md-0\",\"fontSize\":\"small\"} -->\n<p class=\"has-text-align-left mb-md-0 md-0 has-text-color has-small-font-size\" style=\"color:#121212\">71,piligrim avenu, </p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#121212\"}},\"fontSize\":\"small\"} -->\n<p class=\"has-text-color has-small-font-size\" style=\"color:#121212\">chevy chase MD</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"top-bar-section-col-two\"} -->\n<div class=\"wp-block-column top-bar-section-col-two\"><!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#121212\"}},\"className\":\"mb-md-0 md-0\",\"fontSize\":\"small\"} -->\n<p class=\"mb-md-0 md-0 has-text-color has-small-font-size\" style=\"color:#121212\">0123456780</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#121212\"}},\"fontSize\":\"small\"} -->\n<p class=\"has-text-color has-small-font-size\" style=\"color:#121212\">0987654321</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"textColor\":\"black\",\"className\":\" top-bar-section-col-three\"} -->\n<div class=\"wp-block-column  top-bar-section-col-three has-black-color has-text-color\"><!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#121212\"}},\"className\":\"mb-md-0 md-0\",\"fontSize\":\"small\"} -->\n<p class=\"mb-md-0 md-0 has-text-color has-small-font-size\" style=\"color:#121212\">EXP1 @gmail.com</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"fontSize\":\"small\"} -->\n<p class=\"has-small-font-size\">EXP1 @gmail.com</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\" top-bar-section-col-four \"} -->\n<div class=\"wp-block-column  top-bar-section-col-four\"><!-- wp:buttons {\"className\":\" text-md-start text-center\",\"layout\":{\"type\":\"flex\",\"justifyContent\":\"right\"}} -->\n<div class=\"wp-block-buttons  text-md-start text-center\"><!-- wp:button {\"style\":{\"border\":{\"radius\":\"0px\"},\"color\":{\"background\":\"#121212\",\"text\":\"var(--primary-color)\"},\"typography\":{\"fontSize\":\"14px\"}}} -->\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:14px\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:0px;background-color:#121212;color:var(--primary-color)\">SPECIAL OFFERS</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group -->",
		)
	);

	register_block_pattern(
		'modern-construction/our-services-section',
		array(
			'title'      => __( 'Our Services', 'modern-construction' ),
			'categories' => array( 'modern-construction' ),
			'content'    => "<!-- wp:group {\"align\":\"full\",\"style\":{\"color\":{\"background\":\"#f7f7f7\"}},\"className\":\"our-services-section  mt-md-0 mt-4\"} -->\n<div class=\"wp-block-group alignfull our-services-section mt-md-0 mt-4 has-background\" style=\"background-color:#f7f7f7\"><!-- wp:columns {\"align\":\"wide\",\"className\":\"mx-md-5 py-md-5 py-3\"} -->\n<div class=\"wp-block-columns alignwide mx-md-5 py-md-5 py-3\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:columns {\"className\":\"our-services-img-text\"} -->\n<div class=\"wp-block-columns our-services-img-text\"><!-- wp:column {\"width\":\"10%\",\"className\":\"our-services-img\"} -->\n<div class=\"wp-block-column our-services-img\" style=\"flex-basis:10%\"><!-- wp:image {\"id\":654,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . get_theme_file_uri() . "/block-patterns/images/tower.png\" alt=\"\" class=\"wp-image-654\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"90%\",\"className\":\"our-services-text\"} -->\n<div class=\"wp-block-column our-services-text\" style=\"flex-basis:90%\"><!-- wp:heading {\"style\":{\"typography\":{\"textTransform\":\"uppercase\",\"fontSize\":\"23px\"}},\"textColor\":\"black\"} -->\n<h2 class=\"has-black-color has-text-color\" style=\"font-size:23px;text-transform:uppercase\">our services</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"14px\"},\"color\":{\"text\":\"#b2b2b2\"}}} -->\n<p class=\"has-text-color\" style=\"color:#b2b2b2;font-size:14px\">Lorem Ipsum&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the </p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"className\":\"text-section\"} -->\n<div class=\"wp-block-columns text-section\"><!-- wp:column {\"backgroundColor\":\"white\",\"className\":\"mx-md-0 mx-3 img-text1\"} -->\n<div class=\"wp-block-column mx-md-0 mx-3 img-text1 has-white-background-color has-background\"><!-- wp:image {\"align\":\"center\",\"id\":714,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"mb-md-0\"} -->\n<figure class=\"wp-block-image aligncenter size-full mb-md-0\"><img src=\"" . get_theme_file_uri() . "/block-patterns/images/our-services-icon1.png\" alt=\"\" class=\"wp-image-714\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"level\":3,\"style\":{\"typography\":{\"textTransform\":\"uppercase\",\"fontSize\":\"18px\"}},\"textColor\":\"black\"} -->\n<h3 class=\"has-text-align-center has-black-color has-text-color\" style=\"font-size:18px;text-transform:uppercase\">FLOORING</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"14px\"},\"color\":{\"text\":\"#b2b2b2\"}},\"className\":\"mx-md-2 mx-2\"} -->\n<p class=\"has-text-align-center mx-md-2 mx-2 has-text-color\" style=\"color:#b2b2b2;font-size:14px\">Lorem Ipsum&nbsp;is simply dummy text of the printing&nbsp;</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"backgroundColor\":\"white\",\"className\":\"mx-md-0 mx-3 img-text2\"} -->\n<div class=\"wp-block-column mx-md-0 mx-3 img-text2 has-white-background-color has-background\"><!-- wp:image {\"align\":\"center\",\"id\":715,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"mb-md-0\"} -->\n<figure class=\"wp-block-image aligncenter size-full mb-md-0\"><img src=\"" . get_theme_file_uri() . "/block-patterns/images/our-services-icon2.png\" alt=\"\" class=\"wp-image-715\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"level\":3,\"style\":{\"typography\":{\"fontSize\":\"18px\"}},\"textColor\":\"black\"} -->\n<h3 class=\"has-text-align-center has-black-color has-text-color\" style=\"font-size:18px\">SMART HOUSES</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"14px\"},\"color\":{\"text\":\"#b2b2b2\"}},\"className\":\"mx-md-2 mx-2\"} -->\n<p class=\"has-text-align-center mx-md-2 mx-2 has-text-color\" style=\"color:#b2b2b2;font-size:14px\">Lorem Ipsum&nbsp;is simply dummy text of the printing&nbsp;</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:embed {\"url\":\"https://youtu.be/yAoLSRbwxL8\",\"type\":\"video\",\"providerNameSlug\":\"youtube\",\"responsive\":true,\"className\":\"wp-embed-aspect-16-9 wp-has-aspect-ratio\"} -->\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\nhttps://youtu.be/yAoLSRbwxL8\n</div></figure>\n<!-- /wp:embed --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group -->",
		)
	);
}