<?php
/**
 *  Services Landing Page: Block Patterns
 *
 * @package  Services Landing Page
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'services-landing-page',
		array( 'label' => __( 'Services Landing Page', 'services-landing-page' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'services-landing-page/banner-section',
		array(
			'title'      => __( 'Banner Section', 'services-landing-page' ),
			'categories' => array( 'services-landing-page' ),
			'content'    => "<!-- wp:cover {\"url\":\"" . get_theme_file_uri() . "/inc/block-patterns/images/banner-bg.png\",\"id\":40,\"customOverlayColor\":\"#006ba1\",\"isUserOverlayColor\":true,\"minHeight\":800,\"align\":\"full\",\"className\":\"banner-section\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover alignfull banner-section\" style=\"min-height:800px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-100 has-background-dim\" style=\"background-color:#006ba1\"></span><img class=\"wp-block-cover__image-background wp-image-40\" alt=\"\" src=\"" . get_theme_file_uri() . "/inc/block-patterns/images/banner-bg.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:columns {\"className\":\"banner-main\"} -->\n<div class=\"wp-block-columns banner-main\"><!-- wp:column {\"width\":\"50%\",\"metadata\":{\"name\":\"\"},\"className\":\"banner-left\"} -->\n<div class=\"wp-block-column banner-left\" style=\"flex-basis:50%\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":\"32px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\"} -->\n<h2 class=\"wp-block-heading has-white-color has-text-color has-link-color\" style=\"font-size:32px\">For All Your Big And Small Repair &amp; Maintenance Needs</h2>\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\">Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"className\":\"play-section\"} -->\n<div class=\"wp-block-columns play-section\"><!-- wp:column {\"width\":\"35%\",\"className\":\"slider-btn\"} -->\n<div class=\"wp-block-column slider-btn\" style=\"flex-basis:35%\"><!-- wp:buttons {\"className\":\"qoate-btn\"} -->\n<div class=\"wp-block-buttons qoate-btn\"><!-- wp:button {\"textColor\":\"black\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"border\":{\"radius\":\"6px\"},\"color\":{\"background\":\"#f8bc3d\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"className\":\"qoate-btn\"} -->\n<div class=\"wp-block-button has-custom-font-size qoate-btn\" style=\"font-size:15px\"><a class=\"wp-block-button__link has-black-color has-text-color has-background has-link-color wp-element-button\" style=\"border-radius:6px;background-color:#f8bc3d\">Get Free Quote</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"65%\",\"className\":\"slider-ply-btn\"} -->\n<div class=\"wp-block-column slider-ply-btn\" style=\"flex-basis:65%\"><!-- wp:columns {\"className\":\"play-btn\"} -->\n<div class=\"wp-block-columns play-btn\"><!-- wp:column {\"width\":\"10%\",\"className\":\"play-icon\"} -->\n<div class=\"wp-block-column play-icon\" style=\"flex-basis:10%\"><!-- wp:html -->\n<i class=\"fas fa-play-circle\"></i>\n<!-- /wp:html --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"90%\",\"className\":\"play-text\"} -->\n<div class=\"wp-block-column play-text\" style=\"flex-basis:90%\"><!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"textColor\":\"white\",\"style\":{\"border\":{\"radius\":\"0px\"},\"color\":{\"background\":\"#00000000\"},\"typography\":{\"fontSize\":\"15px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"className\":\"is-style-fill\"} -->\n<div class=\"wp-block-button has-custom-font-size is-style-fill\" style=\"font-size:15px\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" style=\"border-radius:0px;background-color:#00000000\">How We Work</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:column -->\n\n<!-- wp:column {\"width\":\"50%\",\"metadata\":{\"name\":\"\"},\"className\":\"banner-right\"} -->\n<div class=\"wp-block-column banner-right\" style=\"flex-basis:50%\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"className\":\"img\"} -->\n<div class=\"wp-block-column img\"><!-- wp:image {\"id\":54,\"scale\":\"cover\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . get_theme_file_uri() . "/inc/block-patterns/images/cleaner-free.png\" alt=\"\" class=\"wp-image-54\" style=\"object-fit:cover\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"className\":\"icon-section\"} -->\n<div class=\"wp-block-columns icon-section\"><!-- wp:column {\"className\":\"bolt position-absolute\"} -->\n<div class=\"wp-block-column bolt position-absolute\"><!-- wp:html -->\n<i class=\"fas fa-bolt\"></i>\n<!-- /wp:html -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"}},\"className\":\"me-2\"} -->\n<p class=\"me-2\" style=\"font-size:16px\">Electricity</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"fan position-absolute\"} -->\n<div class=\"wp-block-column fan position-absolute\"><!-- wp:html -->\n<i class=\"fas fa-fan\"></i>\n<!-- /wp:html -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"}},\"className\":\"me-2\"} -->\n<p class=\"me-2\" style=\"font-size:16px\">AC Repaire</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"wrench position-absolute\"} -->\n<div class=\"wp-block-column wrench position-absolute\"><!-- wp:html -->\n<i class=\"fas fa-wrench\"></i>\n<!-- /wp:html -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"}},\"className\":\"me-2\"} -->\n<p class=\"me-2\" style=\"font-size:16px\">Plumbing</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"screwdriver position-absolute\"} -->\n<div class=\"wp-block-column screwdriver position-absolute\"><!-- wp:html -->\n<i class=\"fas fa-screwdriver\"></i>\n<!-- /wp:html -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"}}} -->\n<p style=\"font-size:16px\">Renovation</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"palette position-absolute\"} -->\n<div class=\"wp-block-column palette position-absolute\"><!-- wp:html -->\n<i class=\"fas fa-palette\"></i>\n<!-- /wp:html -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"}}} -->\n<p style=\"font-size:16px\">Painting</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"gavel position-absolute\"} -->\n<div class=\"wp-block-column gavel position-absolute\"><!-- wp:html -->\n<i class=\"fas fa-gavel\"></i>\n<!-- /wp:html -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"}}} -->\n<p style=\"font-size:16px\">Carpenter</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover -->",
		)
	);

	register_block_pattern(
		'services-landing-page/about-section',
		array(
			'title'      => __( 'About Section', 'services-landing-page' ),
			'categories' => array( 'services-landing-page' ),
			'content'    => "<!-- wp:columns {\"className\":\"service-section\"} -->\n<div class=\"wp-block-columns service-section\"><!-- wp:column {\"className\":\"service-img\"} -->\n<div class=\"wp-block-column service-img\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:image {\"id\":96,\"width\":\"450px\",\"height\":\"450px\",\"scale\":\"cover\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"is-style-rounded man-png\"} -->\n<figure class=\"wp-block-image size-full is-resized is-style-rounded man-png\"><img src=\"" . get_theme_file_uri() . "/inc/block-patterns/images/man.png\" alt=\"\" class=\"wp-image-96\" style=\"object-fit:cover;width:450px;height:450px\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:image {\"id\":98,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"girl-png\"} -->\n<figure class=\"wp-block-image size-full girl-png\"><img src=\"" . get_theme_file_uri() . "/inc/block-patterns/images/girl.png\" alt=\"\" class=\"wp-image-98\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:media-text {\"mediaId\":100,\"mediaLink\":\"http://localhost/tc/index.php/24-2/engineer-5/\",\"mediaType\":\"image\",\"mediaWidth\":20,\"isStackedOnMobile\":false,\"style\":{\"color\":{\"background\":\"#006ba1\"}},\"className\":\"man-icon\"} -->\n<div class=\"wp-block-media-text man-icon has-background\" style=\"background-color:#006ba1;grid-template-columns:20% auto\"><figure class=\"wp-block-media-text__media\"><img src=\"" . get_theme_file_uri() . "/inc/block-patterns/images/engineer.png\" alt=\"\" class=\"wp-image-100 size-full\"/></figure><div class=\"wp-block-media-text__content\"><!-- wp:paragraph {\"placeholder\":\"Content…\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\"} -->\n<p class=\"has-white-color has-text-color has-link-color\">Professional</p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:media-text --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"service-text\"} -->\n<div class=\"wp-block-column service-text\"><!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":\"32px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<h3 class=\"wp-block-heading has-black-color has-text-color has-link-color\" style=\"font-size:32px\">20 years of experience in All Services &amp; maintenance</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\",\"className\":\"service-para my-4\"} -->\n<p class=\"service-para my-4 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. 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:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"className\":\"list-section\"} -->\n<div class=\"wp-block-column list-section\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"width\":\"5%\",\"className\":\"list-tick\"} -->\n<div class=\"wp-block-column list-tick\" style=\"flex-basis:5%\"><!-- wp:html -->\n<i class=\"fas fa-check\"></i>\n<!-- /wp:html --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"95%\",\"className\":\"list-text\"} -->\n<div class=\"wp-block-column list-text\" style=\"flex-basis:95%\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color has-link-color\" style=\"font-size:15px\">High quality tools and technology in use</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"width\":\"5%\",\"className\":\"list-tick\"} -->\n<div class=\"wp-block-column list-tick\" style=\"flex-basis:5%\"><!-- wp:html -->\n<i class=\"fas fa-check\"></i>\n<!-- /wp:html --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"95%\",\"className\":\"list-text\"} -->\n<div class=\"wp-block-column list-text\" style=\"flex-basis:95%\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color has-link-color\" style=\"font-size:15px\">High quality tools and technology in use</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"width\":\"5%\",\"className\":\"list-tick\"} -->\n<div class=\"wp-block-column list-tick\" style=\"flex-basis:5%\"><!-- wp:html -->\n<i class=\"fas fa-check\"></i>\n<!-- /wp:html --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"95%\",\"className\":\"list-text\"} -->\n<div class=\"wp-block-column list-text\" style=\"flex-basis:95%\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color has-link-color\" style=\"font-size:15px\">High quality tools and technology in use</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"width\":\"5%\",\"className\":\"list-tick\"} -->\n<div class=\"wp-block-column list-tick\" style=\"flex-basis:5%\"><!-- wp:html -->\n<i class=\"fas fa-check\"></i>\n<!-- /wp:html --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"95%\",\"className\":\"list-text\"} -->\n<div class=\"wp-block-column list-text\" style=\"flex-basis:95%\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color has-link-color\" style=\"font-size:15px\">High quality tools and technology in use</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"className\":\"mt-3 author-section\"} -->\n<div class=\"wp-block-columns mt-3 author-section\"><!-- wp:column {\"width\":\"20%\",\"className\":\"author-img\"} -->\n<div class=\"wp-block-column author-img\" style=\"flex-basis:20%\"><!-- wp:image {\"id\":168,\"width\":\"80px\",\"height\":\"80px\",\"scale\":\"cover\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"is-style-rounded\"} -->\n<figure class=\"wp-block-image size-full is-resized is-style-rounded\"><img src=\"" . get_theme_file_uri() . "/inc/block-patterns/images/profile.png\" alt=\"\" class=\"wp-image-168\" style=\"object-fit:cover;width:80px;height:80px\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"80%\",\"className\":\"py-3 author-name\"} -->\n<div class=\"wp-block-column py-3 author-name\" style=\"flex-basis:80%\"><!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":\"16px\"}}} -->\n<h3 class=\"wp-block-heading\" style=\"font-size:16px\">James Bond</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"14px\"}}} -->\n<p style=\"font-size:14px\">CEO</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->",
		)
	);
}