<?php
/**
 * AC Repairing Services: Block Patterns
 *
 * @package AC Repairing Services
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'ac-repairing-services',
		array( 'label' => __( 'AC Repairing Services', 'ac-repairing-services' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'ac-repairing-services/banner-section',
		array(
			'title'      => __( 'Banner Section', 'ac-repairing-services' ),
			'categories' => array( 'ac-repairing-services' ),
			'content'    => "<!-- wp:columns {\"metadata\":{\"categories\":[\"ac-repairing-services\"],\"patternName\":\"ac-repairing-services/banner-section\",\"name\":\"Banner Section\"},\"align\":\"full\",\"className\":\"main-banner\"} -->\n<div class=\"wp-block-columns alignfull main-banner\"><!-- wp:column {\"width\":\"95%\",\"className\":\"main-content\"} -->\n<div class=\"wp-block-column main-content\" style=\"flex-basis:95%\"><!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/slider.png\",\"id\":276,\"dimRatio\":30,\"overlayColor\":\"black\",\"isUserOverlayColor\":true,\"minHeight\":600,\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover\" style=\"min-height:600px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-black-background-color has-background-dim-30 has-background-dim\"></span><img class=\"wp-block-cover__image-background wp-image-276\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/slider.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"className\":\"banner-content\"} -->\n<div class=\"wp-block-column banner-content\"><!-- wp:heading {\"level\":1,\"style\":{\"typography\":{\"fontSize\":\"50px\",\"textTransform\":\"capitalize\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\"} -->\n<h1 class=\"wp-block-heading has-white-color has-text-color has-link-color\" style=\"font-size:50px;text-transform:capitalize\">welcome to ac repair</h1>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>Nullam hendrerit, lacus nluctus tempu est neque susciit auvel hendrerligu sed turpisacus nluctus tempu est neque suscipit hendrerit.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"textColor\":\"white\",\"style\":{\"typography\":{\"fontSize\":\"15px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\",\"textTransform\":\"capitalize\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"color\":{\"background\":\"#00c1d5\"},\"border\":{\"radius\":\"3px\"}}} -->\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:15px;font-style:normal;font-weight:600;text-transform:capitalize\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" href=\"#\" style=\"border-radius:3px;background-color:#00c1d5\">view all services</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"center\",\"className\":\"video\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center video\"><!-- wp:buttons {\"layout\":{\"type\":\"flex\",\"justifyContent\":\"center\"}} -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"textAlign\":\"left\",\"textColor\":\"white\",\"style\":{\"color\":{\"background\":\"#00000000\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"17px\",\"textTransform\":\"capitalize\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}}} -->\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:17px;font-style:normal;font-weight:600;text-transform:capitalize\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color has-text-align-left wp-element-button\" href=\"#\" style=\"background-color:#00000000\">our vedio</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"5%\",\"className\":\"social-icons\",\"style\":{\"color\":{\"background\":\"#0077b6\"}}} -->\n<div class=\"wp-block-column social-icons has-background\" style=\"background-color:#0077b6;flex-basis:5%\"><!-- wp:social-links {\"iconColor\":\"white\",\"iconColorValue\":\"#ffffff\",\"openInNewTab\":true,\"size\":\"has-small-icon-size\",\"className\":\"is-style-logos-only\",\"layout\":{\"type\":\"flex\",\"orientation\":\"vertical\",\"justifyContent\":\"center\"}} -->\n<ul class=\"wp-block-social-links has-small-icon-size has-icon-color is-style-logos-only\"><!-- wp:social-link {\"url\":\"www.facebook.com\",\"service\":\"facebook\"} /-->\n\n<!-- wp:social-link {\"url\":\"www.twitter.com\",\"service\":\"tumblr\"} /-->\n\n<!-- wp:social-link {\"url\":\"www.instagram.com\",\"service\":\"instagram\"} /-->\n\n<!-- wp:social-link {\"url\":\"www.pinterest.com\",\"service\":\"pinterest\"} /--></ul>\n<!-- /wp:social-links --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->",
		)

	);

	register_block_pattern(
		'ac-repairing-services/contact-section',
		array(
			'title'      => __( 'Contact Section', 'ac-repairing-services' ),
			'categories' => array( 'ac-repairing-services' ),
			'content'    => "<!-- wp:columns {\"align\":\"full\",\"style\":{\"color\":{\"background\":\"#0077b6\"}},\"className\":\"contact-us py-3\"} -->\n<div class=\"wp-block-columns alignfull contact-us py-3 has-background\" style=\"background-color:#0077b6\"><!-- wp:column {\"width\":\"25%\",\"className\":\"contact-1\"} -->\n<div class=\"wp-block-column contact-1\" style=\"flex-basis:25%\"><!-- wp:columns {\"className\":\"phone-num\"} -->\n<div class=\"wp-block-columns phone-num\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":\"22px\",\"textTransform\":\"capitalize\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\"} -->\n<h3 class=\"wp-block-heading has-white-color has-text-color has-link-color\" style=\"font-size:22px;text-transform:capitalize\">call us now!</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"16px\"}},\"textColor\":\"white\"} -->\n<p class=\"has-white-color has-text-color has-link-color\" style=\"font-size:16px\">+001234567890</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"25%\",\"className\":\"email-1\"} -->\n<div class=\"wp-block-column email-1\" style=\"flex-basis:25%\"><!-- wp:columns {\"className\":\"email\"} -->\n<div class=\"wp-block-columns email\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":\"22px\",\"textTransform\":\"capitalize\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\"} -->\n<h3 class=\"wp-block-heading has-white-color has-text-color has-link-color\" style=\"font-size:22px;text-transform:capitalize\">email us</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"16px\"}},\"textColor\":\"white\"} -->\n<p class=\"has-white-color has-text-color has-link-color\" style=\"font-size:16px\">xyz123@example.com</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"50%\",\"className\":\"timing-1\"} -->\n<div class=\"wp-block-column timing-1\" style=\"flex-basis:50%\"><!-- wp:columns {\"className\":\"timing\"} -->\n<div class=\"wp-block-columns timing\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":\"22px\",\"textTransform\":\"capitalize\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\"} -->\n<h3 class=\"wp-block-heading has-white-color has-text-color has-link-color\" style=\"font-size:22px;text-transform:capitalize\">our timings</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"16px\",\"textTransform\":\"capitalize\"}},\"textColor\":\"white\"} -->\n<p class=\"has-white-color has-text-color has-link-color\" style=\"font-size:16px;text-transform:capitalize\">monday-friday: 10:00-19:00</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->",
		)
	);

	register_block_pattern(
		'ac-repairing-services/services-section',
		array(
			'title'      => __( 'Services Section', 'ac-repairing-services' ),
			'categories' => array( 'ac-repairing-services' ),
			'content'    => "<!-- wp:group {\"className\":\"services-sec py-5\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group services-sec py-5\"><!-- wp:heading {\"textAlign\":\"center\",\"level\":3,\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"30px\",\"textTransform\":\"capitalize\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"black\"} -->\n<h3 class=\"wp-block-heading has-text-align-center has-black-color has-text-color has-link-color\" style=\"font-size:30px;font-style:normal;font-weight:600;text-transform:capitalize\">our services</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"15px\"}},\"textColor\":\"black\"} -->\n<p class=\"has-text-align-center has-black-color has-text-color has-link-color\" style=\"font-size:15px\">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"className\":\"post-sec py-3\"} -->\n<div class=\"wp-block-columns post-sec py-3\"><!-- wp:column {\"className\":\"post\"} -->\n<div class=\"wp-block-column post\"><!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/service-1.png\",\"id\":336,\"dimRatio\":0,\"customOverlayColor\":\"#9ca1a0\",\"isUserOverlayColor\":true,\"minHeight\":380,\"isDark\":false,\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover is-light\" style=\"min-height:380px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\" style=\"background-color:#9ca1a0\"></span><img class=\"wp-block-cover__image-background wp-image-336\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/service-1.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:heading {\"textAlign\":\"left\",\"level\":3,\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"25px\",\"textTransform\":\"capitalize\"}},\"textColor\":\"white\"} -->\n<h3 class=\"wp-block-heading has-text-align-left has-white-color has-text-color has-link-color\" style=\"font-size:25px;text-transform:capitalize\">ac repair services</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\"} -->\n<p class=\"has-white-color has-text-color has-link-color\" style=\"font-size:15px\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore aliqua.</p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"post\"} -->\n<div class=\"wp-block-column post\"><!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/service-2.png\",\"id\":340,\"dimRatio\":0,\"customOverlayColor\":\"#9ca1a0\",\"isUserOverlayColor\":true,\"minHeight\":380,\"isDark\":false,\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover is-light\" style=\"min-height:380px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\" style=\"background-color:#9ca1a0\"></span><img class=\"wp-block-cover__image-background wp-image-340\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/service-2.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:heading {\"textAlign\":\"left\",\"level\":3,\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"25px\",\"textTransform\":\"capitalize\"}},\"textColor\":\"white\"} -->\n<h3 class=\"wp-block-heading has-text-align-left has-white-color has-text-color has-link-color\" style=\"font-size:25px;text-transform:capitalize\">ac repair services</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\"} -->\n<p class=\"has-white-color has-text-color has-link-color\" style=\"font-size:15px\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore aliqua.</p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"post\"} -->\n<div class=\"wp-block-column post\"><!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/service-3.png\",\"id\":341,\"dimRatio\":0,\"customOverlayColor\":\"#9ca1a0\",\"isUserOverlayColor\":true,\"minHeight\":380,\"isDark\":false,\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover is-light\" style=\"min-height:380px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\" style=\"background-color:#9ca1a0\"></span><img class=\"wp-block-cover__image-background wp-image-341\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/service-3.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:heading {\"textAlign\":\"left\",\"level\":3,\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"25px\",\"textTransform\":\"capitalize\"}},\"textColor\":\"white\"} -->\n<h3 class=\"wp-block-heading has-text-align-left has-white-color has-text-color has-link-color\" style=\"font-size:25px;text-transform:capitalize\">ac repair services</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\"} -->\n<p class=\"has-white-color has-text-color has-link-color\" style=\"font-size:15px\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore aliqua.</p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group -->",
		)
	);
}