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

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

	register_block_pattern_category(
		'mega-construction',
		array( 'label' => __( 'Mega Construction ', 'mega-construction' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'mega-construction/banner-section',
		array(
			'title'      => __( 'Banner Section', 'mega-construction' ),
			'categories' => array( 'mega-construction' ),
			'content'    => "<!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/block-patterns/images/banner.png\",\"id\":1442,\"dimRatio\":50,\"align\":\"full\",\"className\":\"main-banner-section\"} -->\n<div class=\"wp-block-cover alignfull main-banner-section\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"></span><img class=\"wp-block-cover__image-background wp-image-1442\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/block-patterns/images/banner.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:image {\"align\":\"center\",\"id\":1671,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image aligncenter size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/block-patterns/images/logo-constrction.png\" alt=\"\" class=\"wp-image-1671\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"level\":1,\"style\":{\"typography\":{\"textTransform\":\"uppercase\"}},\"textColor\":\"white\",\"fontSize\":\"large\"} -->\n<h1 class=\"has-text-align-center has-white-color has-text-color has-large-font-size\" style=\"text-transform:uppercase\">LOREM IPSUM&nbsp;IS SIMPLY DUMMY TEXT</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\":\"45%\"} -->\n<div class=\"wp-block-column\" style=\"flex-basis:45%\"><!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"14px\"}},\"textColor\":\"white\"} -->\n<p class=\"has-text-align-center has-white-color has-text-color\" style=\"font-size:14px\">Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley </p>\n<!-- /wp:paragraph --></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(
		'mega-construction/top-bar-section',
		array(
			'title'      => __( 'Top-bar-Section', 'mega-construction' ),
			'categories' => array( 'mega-construction' ),
			'content'    => "<!-- wp:group {\"align\":\"full\",\"style\":{\"color\":{\"background\":\"var(--primary-color)\"}},\"className\":\"topbar-section  \"} -->\n<div class=\"wp-block-group alignfull topbar-section has-background\" style=\"background-color:var(--primary-color)\"><!-- wp:columns {\"align\":\"wide\",\"className\":\"mx-lg-5 mx-md-5 mx-2 top-bar-section-col\"} -->\n<div class=\"wp-block-columns alignwide mx-lg-5 mx-md-5 mx-2 top-bar-section-col\"><!-- wp:column {\"className\":\"top-bar-col-one\"} -->\n<div class=\"wp-block-column top-bar-col-one\"><!-- wp:paragraph {\"textColor\":\"white\",\"fontSize\":\"small\"} -->\n<p class=\"has-white-color has-text-color has-small-font-size\">71, Pilgrim Avenue, Chevy </p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"textColor\":\"white\",\"className\":\"group-para\",\"fontSize\":\"small\"} -->\n<p class=\"group-para has-white-color has-text-color has-small-font-size\">chase,MD 20815</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"top-bar-col-two \"} -->\n<div class=\"wp-block-column top-bar-col-two\"><!-- wp:paragraph {\"textColor\":\"white\",\"fontSize\":\"small\"} -->\n<p class=\"has-white-color has-text-color has-small-font-size\">1234567890 </p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"textColor\":\"white\",\"className\":\"group-para\",\"fontSize\":\"small\"} -->\n<p class=\"group-para has-white-color has-text-color has-small-font-size\">0987654321</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"top-bar-col-three\"} -->\n<div class=\"wp-block-column top-bar-col-three\"><!-- wp:paragraph {\"textColor\":\"white\",\"fontSize\":\"small\"} -->\n<p class=\"has-white-color has-text-color has-small-font-size\">Exp1@gmail.com </p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"textColor\":\"white\",\"className\":\"group-para\",\"fontSize\":\"small\"} -->\n<p class=\"group-para has-white-color has-text-color has-small-font-size\">Exp2@gmail.com</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"bottom\"} -->\n<div class=\"wp-block-column is-vertically-aligned-bottom\"><!-- wp:buttons {\"className\":\"justify-content-md-end justify-content-center\",\"layout\":{\"type\":\"flex\"}} -->\n<div class=\"wp-block-buttons justify-content-md-end justify-content-center\"><!-- wp:button {\"style\":{\"border\":{\"radius\":\"0px\"},\"color\":{\"text\":\"var(--primary-color)\",\"background\":\"var(--secondary-color)\"},\"typography\":{\"fontSize\":\"14px\"}},\"className\":\" text-md-start text-center\"} -->\n<div class=\"wp-block-button has-custom-font-size text-md-start text-center\" style=\"font-size:14px\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:0px;background-color:var(--secondary-color);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(
		'mega-construction/about-section',
		array(
			'title'      => __( 'About Section', 'mega-construction' ),
			'categories' => array( 'mega-construction' ),
			'content'    => "<!-- wp:group {\"align\":\"wide\"} -->\n<div class=\"wp-block-group alignwide\"><!-- wp:columns {\"align\":\"full\",\"className\":\"main-service-section mx-lg-5\"} -->\n<div class=\"wp-block-columns alignfull main-service-section mx-lg-5\"><!-- wp:column {\"width\":\"66.66%\",\"className\":\"abt-img-area-col\"} -->\n<div class=\"wp-block-column abt-img-area-col\" style=\"flex-basis:66.66%\"><!-- wp:image {\"id\":1555,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"abt-img-area\"} -->\n<figure class=\"wp-block-image size-full abt-img-area\"><img src=\"" . esc_url(get_template_directory_uri()) . "/block-patterns/images/service.png\" alt=\"\" class=\"wp-image-1555\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"33.33%\",\"className\":\"service-section-col\"} -->\n<div class=\"wp-block-column service-section-col\" style=\"flex-basis:33.33%\"><!-- wp:image {\"align\":\"right\",\"id\":1556,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"service-section-small-img\"} -->\n<figure class=\"wp-block-image alignright size-full service-section-small-img\"><img src=\"" . esc_url(get_template_directory_uri()) . "/block-patterns/images/tower1.png\" alt=\"\" class=\"wp-image-1556\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:heading {\"textAlign\":\"right\",\"style\":{\"typography\":{\"fontSize\":\"25px\"},\"color\":{\"text\":\"var(--primary-color)\"}}} -->\n<h2 class=\"has-text-align-right has-text-color\" style=\"color:var(--primary-color);font-size:25px\">ABOUT US</h2>\n<!-- /wp:heading -->\n\n<!-- wp:columns {\"className\":\"text-area\"} -->\n<div class=\"wp-block-columns text-area\"><!-- wp:column {\"style\":{\"color\":{\"background\":\"var(--primary-color)\"}},\"className\":\"textbox px-lg-4 px-md-4 px-4 pt-lg-3 pt-md-3 pt-5\"} -->\n<div class=\"wp-block-column textbox px-lg-4 px-md-4 px-4 pt-lg-3 pt-md-3 pt-5 has-background\" style=\"background-color:var(--primary-color)\"><!-- wp:heading {\"level\":3,\"textColor\":\"white\",\"fontSize\":\"medium\"} -->\n<h3 class=\"has-white-color has-text-color has-medium-font-size\">Lorem Ipsum&nbsp;is simply dummy text</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"textColor\":\"white\",\"fontSize\":\"small\"} -->\n<p class=\"has-white-color has-text-color has-small-font-size\">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, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"style\":{\"color\":{\"background\":\"var(--primary-color)\"},\"typography\":{\"fontSize\":\"12px\"}}} -->\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:12px\"><a class=\"wp-block-button__link has-background\" style=\"background-color:var(--primary-color)\">VIEW MORE</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group -->",
		)
	);
}