<?php
/**
 * Advance Business: Block Patterns
 *
 * @package  Advance Business
 * @since   1.0.0
 */
/**
 * Register Block Pattern Category.
 */
if ( function_exists( 'register_block_pattern_category' ) ) {

	register_block_pattern_category(
		'advance-business',
		array( 'label' => __( ' Advance Business', 'advance-business' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'advance-business/banner-section',
		array(
			'title'      => __( 'Banner Section', 'advance-business' ),
			'categories' => array( 'advance-business' ),
			'content'    => "<!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/images/banner.png\",\"id\":997,\"dimRatio\":60,\"overlayColor\":\"white\",\"isDark\":false,\"align\":\"full\",\"className\":\"banner-section \"} -->\n<div class=\"wp-block-cover alignfull is-light banner-section\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-white-background-color has-background-dim-60 has-background-dim\"></span><img class=\"wp-block-cover__image-background wp-image-997\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/images/banner.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"width\":\"10%\"} -->\n<div class=\"wp-block-column\" style=\"flex-basis:10%\"></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"48.8%\",\"className\":\"banner-section-content\"} -->\n<div class=\"wp-block-column banner-section-content\" style=\"flex-basis:48.8%\"><!-- wp:heading {\"level\":1,\"style\":{\"typography\":{\"fontSize\":\"40px\"}}} -->\n<h1 style=\"font-size:40px\">MARKETING PLATFORM TO GROW YOUR BUISNESS</h1>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"}}} -->\n<p style=\"font-size:15px\">Lorem Ipsum&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"style\":{\"color\":{\"background\":\"#00000000\",\"text\":\"#212121\"},\"border\":{\"radius\":\"25px\"}},\"className\":\"banner-section-btn\",\"fontSize\":\"small\"} -->\n<div class=\"wp-block-button has-custom-font-size banner-section-btn has-small-font-size\"><a class=\"wp-block-button__link has-text-color has-background\" style=\"border-radius:25px;background-color:#00000000;color:#212121\">READ MORE</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"4.7%\"} -->\n<div class=\"wp-block-column\" style=\"flex-basis:4.7%\"></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover -->",
		)
	);

	register_block_pattern(
		'advance-business/contact-section',
		array(
			'title'      => __( 'contact-section', 'advance-business' ),
			'categories' => array( 'advance-business' ),
			'content'    => "<!-- wp:columns {\"backgroundColor\":\"white\",\"className\":\"contact-section p-3\"} -->\n<div class=\"wp-block-columns contact-section p-3 has-white-background-color has-background\"><!-- wp:column {\"className\":\"contact-box-1\"} -->\n<div class=\"wp-block-column contact-box-1\"><!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#010101\"},\"typography\":{\"fontSize\":\"16px\"}},\"className\":\"mb-lg-1 mt-2 mb-md-0 mb-0\"} -->\n<p class=\"mb-lg-1 mt-2 mb-md-0 mb-0 has-text-color\" style=\"color:#010101;font-size:16px\">Location</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"},\"color\":{\"text\":\"#212121\"}}} -->\n<p class=\"has-text-color\" style=\"color:#212121;font-size:16px\">183 Donato Parkways</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"contact-box-2\"} -->\n<div class=\"wp-block-column contact-box-2\"><!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#010101\"},\"typography\":{\"fontSize\":\"16px\"}},\"className\":\"mb-lg-1 mt-2 mb-md-0 mb-0\"} -->\n<p class=\"mb-lg-1 mt-2 mb-md-0 mb-0 has-text-color\" style=\"color:#010101;font-size:16px\">Mail Support</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"},\"color\":{\"text\":\"#212121\"}}} -->\n<p class=\"has-text-color\" style=\"color:#212121;font-size:16px\">support11@gmail.com</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"contact-box-3\"} -->\n<div class=\"wp-block-column contact-box-3\"><!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#010101\"},\"typography\":{\"fontSize\":\"16px\"}},\"className\":\"mb-lg-1 mt-2 mb-md-0 mb-0\"} -->\n<p class=\"mb-lg-1 mt-2 mb-md-0 mb-0 has-text-color\" style=\"color:#010101;font-size:16px\">Call Us</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"},\"color\":{\"text\":\"#212121\"}}} -->\n<p class=\"has-text-color\" style=\"color:#212121;font-size:16px\">+0015825623</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->",
		)
	);

	register_block_pattern(
		'advance-business/service-section',
		array(
			'title'      => __( 'service-section', 'advance-business' ),
			'categories' => array( 'advance-business' ),
			'content'    => "<!-- wp:group {\"align\":\"full\",\"className\":\"service-section mx-2\"} -->\n<div class=\"wp-block-group alignfull service-section mx-2\"><!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"32px\"}},\"textColor\":\"black\",\"className\":\"mt-5 position-relative mb-5\"} -->\n<h2 class=\"has-text-align-center mt-5 position-relative mb-5 has-black-color has-text-color\" style=\"font-size:32px\">LATEST PROJECT</h2>\n<!-- /wp:heading -->\n\n<!-- wp:columns {\"className\":\"service-box\"} -->\n<div class=\"wp-block-columns service-box\"><!-- wp:column {\"className\":\"project-box\"} -->\n<div class=\"wp-block-column project-box\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:image {\"id\":1027,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"mb-0\"} -->\n<figure class=\"wp-block-image size-full mb-0\"><img src=\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/images/service-image1.png\" alt=\"\" class=\"wp-image-1027\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"center\",\"style\":{\"color\":{\"background\":\"#f6f7f9\"}},\"className\":\"content-box py-2 px-3 py-lg-4\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center content-box py-2 px-3 py-lg-4 has-background\" style=\"background-color:#f6f7f9\"><!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":\"14px\"}}} -->\n<h3 style=\"font-size:14px\">YOUR PROJECT TITLE HERE 1</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"12px\"}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color\" style=\"font-size:12px\">Lorem Ipsum&nbsp;is simply dummy text of the printing and typesetting industry</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons {\"layout\":{\"type\":\"flex\"}} -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"textColor\":\"black\",\"style\":{\"typography\":{\"fontSize\":\"12px\"},\"color\":{\"background\":\"#00000000\"}},\"className\":\"service-section-btn is-style-fill p-0\"} -->\n<div class=\"wp-block-button has-custom-font-size service-section-btn is-style-fill p-0\" style=\"font-size:12px\"><a class=\"wp-block-button__link has-black-color has-text-color has-background\" style=\"background-color:#00000000\">KNOW MORE</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"project-box\"} -->\n<div class=\"wp-block-column project-box\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:image {\"id\":1028,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"mb-0\"} -->\n<figure class=\"wp-block-image size-full mb-0\"><img src=\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/images/service-image2.png\" alt=\"\" class=\"wp-image-1028\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"center\",\"style\":{\"color\":{\"background\":\"#f6f7f9\"}},\"className\":\"content-box py-2 px-3 py-lg-4\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center content-box py-2 px-3 py-lg-4 has-background\" style=\"background-color:#f6f7f9\"><!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":\"14px\"}}} -->\n<h3 style=\"font-size:14px\">YOUR PROJECT TITLE HERE 1</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"12px\"}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color\" style=\"font-size:12px\">Lorem Ipsum&nbsp;is simply dummy text of the printing and typesetting industry</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"textColor\":\"black\",\"style\":{\"typography\":{\"fontSize\":\"12px\"},\"border\":{\"radius\":\"0px\"},\"color\":{\"background\":\"#00000000\"}},\"className\":\"service-section-btn\"} -->\n<div class=\"wp-block-button has-custom-font-size service-section-btn\" style=\"font-size:12px\"><a class=\"wp-block-button__link has-black-color has-text-color has-background\" style=\"border-radius:0px;background-color:#00000000\">KNOW 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 -->",
		)
	);
}