<?php
/**
 * VW Pet Care: Block Patterns
 *
 * @package VW Pet Care
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'vw-pet-care',
		array( 'label' => __( 'VW Pet Care', 'vw-pet-care' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'vw-pet-care/banner-section',
		array(
			'title'      => __( 'Banner Section', 'vw-pet-care' ),
			'categories' => array( 'vw-pet-care' ),
			'content'    => "<!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/defaultbanner.png\",\"id\":50,\"dimRatio\":90,\"customOverlayColor\":\"#00000000\",\"align\":\"full\",\"className\":\"banner-section\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover alignfull banner-section\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-90 has-background-dim\" style=\"background-color:#00000000\"></span><img class=\"wp-block-cover__image-background wp-image-50\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/defaultbanner.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"width\":\"50%\",\"className\":\"slider-content\"} -->\n<div class=\"wp-block-column slider-content\" style=\"flex-basis:50%\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"level\":4,\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"14px\"}},\"textColor\":\"black\",\"className\":\"slider-small-text\"} -->\n<h4 class=\"wp-block-heading slider-small-text has-black-color has-text-color has-link-color\" style=\"font-size:14px\">WELCOME TO PETS HOME</h4>\n<!-- /wp:heading -->\n\n<!-- wp:heading {\"level\":1,\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"42px\"}},\"textColor\":\"black\",\"className\":\"slide_splice\"} -->\n<h1 class=\"wp-block-heading slide_splice has-black-color has-text-color has-link-color\" style=\"font-size:42px\">We love pets because they love us to</h1>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\",\"className\":\"slide_desc\"} -->\n<p class=\"slide_desc has-black-color has-text-color has-link-color\">It is long established fact that a reader will be distracted by the readable content of a page when looking at its layout.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"backgroundColor\":\"black\",\"style\":{\"border\":{\"radius\":\"6px\"},\"typography\":{\"fontSize\":\"15px\"}},\"className\":\"slider-btn is-style-outline\"} -->\n<div class=\"wp-block-button has-custom-font-size slider-btn is-style-outline\" style=\"font-size:15px\"><a class=\"wp-block-button__link has-black-background-color has-background wp-element-button\" style=\"border-radius:6px\">Discover 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 {\"width\":\"50%\",\"className\":\"slider-image\"} -->\n<div class=\"wp-block-column slider-image\" style=\"flex-basis:50%\"><!-- wp:image {\"lightbox\":{\"enabled\":false},\"id\":67,\"scale\":\"cover\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"is-style-default\"} -->\n<figure class=\"wp-block-image size-full is-style-default\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/slider2.png\" alt=\"\" class=\"wp-image-67\" style=\"object-fit:cover\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"className\":\"slider-img-sec\"} -->\n<div class=\"wp-block-columns slider-img-sec\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:image {\"id\":289,\"width\":\"155px\",\"height\":\"155px\",\"scale\":\"cover\",\"sizeSlug\":\"large\",\"linkDestination\":\"none\",\"className\":\"is-style-rounded slider-img-sec1\"} -->\n<figure class=\"wp-block-image size-large is-resized is-style-rounded slider-img-sec1\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/slider1.png\" alt=\"\" class=\"wp-image-289\" style=\"object-fit:cover;width:155px;height:155px\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:image {\"id\":291,\"width\":\"125px\",\"height\":\"125px\",\"scale\":\"cover\",\"sizeSlug\":\"large\",\"linkDestination\":\"none\",\"className\":\"is-style-rounded slider-img-sec2\"} -->\n<figure class=\"wp-block-image size-large is-resized is-style-rounded slider-img-sec2\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/slider2.png\" alt=\"\" class=\"wp-image-291\" style=\"object-fit:cover;width:125px;height:125px\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:image {\"id\":293,\"width\":\"100px\",\"height\":\"100px\",\"scale\":\"cover\",\"sizeSlug\":\"large\",\"linkDestination\":\"none\",\"className\":\"is-style-rounded slider-img-sec3\"} -->\n<figure class=\"wp-block-image size-large is-resized is-style-rounded slider-img-sec3\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/slider3.png\" alt=\"\" class=\"wp-image-293\" style=\"object-fit:cover;width:100px;height:100px\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover -->",
		)
	);

	register_block_pattern(
		'vw-pet-care/our-service-section',
		array(
			'title'      => __( 'Our Services Section', 'vw-pet-care' ),
			'categories' => array( 'vw-pet-care' ),
			'content'    => "<!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/bg-shape.png\",\"id\":93,\"dimRatio\":50,\"customOverlayColor\":\"#00000000\",\"minHeight\":600,\"align\":\"full\",\"className\":\"our-services-sec\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover alignfull our-services-sec\" style=\"min-height:600px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\" style=\"background-color:#00000000\"></span><img class=\"wp-block-cover__image-background wp-image-93\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/bg-shape.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:group {\"className\":\"small-img-sec\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group small-img-sec\"><!-- wp:image {\"id\":320,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/shape.png\" alt=\"\" class=\"wp-image-320\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:group -->\n\n<!-- wp:columns {\"className\":\"paw-icon\"} -->\n<div class=\"wp-block-columns paw-icon\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:html -->\n<i class=\"fas fa-paw\"></i>\n<!-- /wp:html --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"placeholder\":\"Write title…\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"18px\"}},\"textColor\":\"black\",\"className\":\"offer-heading\"} -->\n<p class=\"has-text-align-center offer-heading has-black-color has-text-color has-link-color\" style=\"font-size:18px\">What We Offer For You</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"#ff642f\"}}},\"color\":{\"text\":\"#ff642f\"},\"typography\":{\"fontSize\":\"22px\"}},\"className\":\"service-heading\"} -->\n<h2 class=\"wp-block-heading has-text-align-center service-heading has-text-color has-link-color\" style=\"color:#ff642f;font-size:22px\">Our Services</h2>\n<!-- /wp:heading -->\n\n<!-- wp:columns {\"className\":\"services-box mt-5\"} -->\n<div class=\"wp-block-columns services-box mt-5\"><!-- wp:column {\"width\":\"25%\",\"className\":\"box\"} -->\n<div class=\"wp-block-column box\" style=\"flex-basis:25%\"><!-- wp:columns {\"className\":\"icon-sec\"} -->\n<div class=\"wp-block-columns icon-sec\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:html -->\n<i class=\"fas fa-paw\"></i>\n<!-- /wp:html --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"verticalAlignment\":\"center\",\"align\":\"wide\",\"className\":\"img-content\"} -->\n<div class=\"wp-block-columns alignwide are-vertically-aligned-center img-content\"><!-- wp:column {\"verticalAlignment\":\"center\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"22px\"}},\"textColor\":\"black\",\"className\":\"img-heading\"} -->\n<p class=\"img-heading has-black-color has-text-color has-link-color\" style=\"font-size:22px\">Pet Grooming</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"15px\"}},\"textColor\":\"black\",\"className\":\"img-para\"} -->\n<p class=\"img-para has-black-color has-text-color has-link-color\" style=\"font-size:15px\">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 {\"backgroundColor\":\"black\",\"style\":{\"border\":{\"radius\":\"6px\"},\"typography\":{\"fontSize\":\"15px\"}},\"className\":\"service-btn is-style-outline\"} -->\n<div class=\"wp-block-button has-custom-font-size service-btn is-style-outline\" style=\"font-size:15px\"><a class=\"wp-block-button__link has-black-background-color has-background wp-element-button\" style=\"border-radius:6px\">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 {\"width\":\"25%\",\"className\":\"box\"} -->\n<div class=\"wp-block-column box\" style=\"flex-basis:25%\"><!-- wp:columns {\"className\":\"icon-sec\"} -->\n<div class=\"wp-block-columns icon-sec\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:html -->\n<i class=\"fas fa-search\"></i>\n<!-- /wp:html --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"verticalAlignment\":\"center\",\"align\":\"wide\",\"className\":\"img-content\"} -->\n<div class=\"wp-block-columns alignwide are-vertically-aligned-center img-content\"><!-- wp:column {\"verticalAlignment\":\"center\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"22px\"}},\"textColor\":\"black\",\"className\":\"img-heading\"} -->\n<p class=\"img-heading has-black-color has-text-color has-link-color\" style=\"font-size:22px\">Vaccination</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"15px\"}},\"textColor\":\"black\",\"className\":\"img-para\"} -->\n<p class=\"img-para has-black-color has-text-color has-link-color\" style=\"font-size:15px\">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 {\"backgroundColor\":\"black\",\"style\":{\"border\":{\"radius\":\"6px\"},\"typography\":{\"fontSize\":\"15px\"}},\"className\":\"service-btn is-style-outline\"} -->\n<div class=\"wp-block-button has-custom-font-size service-btn is-style-outline\" style=\"font-size:15px\"><a class=\"wp-block-button__link has-black-background-color has-background wp-element-button\" style=\"border-radius:6px\">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 {\"width\":\"25%\",\"className\":\"box\"} -->\n<div class=\"wp-block-column box\" style=\"flex-basis:25%\"><!-- wp:columns {\"className\":\"icon-sec\"} -->\n<div class=\"wp-block-columns icon-sec\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:html -->\n<i class=\"fas fa-user\"></i>\n<!-- /wp:html --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"verticalAlignment\":\"center\",\"align\":\"wide\",\"className\":\"img-content\"} -->\n<div class=\"wp-block-columns alignwide are-vertically-aligned-center img-content\"><!-- wp:column {\"verticalAlignment\":\"center\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"22px\"}},\"textColor\":\"black\",\"className\":\"img-heading\"} -->\n<p class=\"img-heading has-black-color has-text-color has-link-color\" style=\"font-size:22px\">Vaternary</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"15px\"}},\"textColor\":\"black\",\"className\":\"img-para\"} -->\n<p class=\"img-para has-black-color has-text-color has-link-color\" style=\"font-size:15px\">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 {\"backgroundColor\":\"black\",\"style\":{\"border\":{\"radius\":\"6px\"},\"typography\":{\"fontSize\":\"15px\"}},\"className\":\"service-btn is-style-outline\"} -->\n<div class=\"wp-block-button has-custom-font-size service-btn is-style-outline\" style=\"font-size:15px\"><a class=\"wp-block-button__link has-black-background-color has-background wp-element-button\" style=\"border-radius:6px\">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 {\"width\":\"25%\",\"className\":\"box\"} -->\n<div class=\"wp-block-column box\" style=\"flex-basis:25%\"><!-- wp:columns {\"className\":\"icon-sec\"} -->\n<div class=\"wp-block-columns icon-sec\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:html -->\n<i class=\"fas fa-search\"></i>\n<!-- /wp:html --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"verticalAlignment\":\"center\",\"align\":\"wide\",\"className\":\"img-content\"} -->\n<div class=\"wp-block-columns alignwide are-vertically-aligned-center img-content\"><!-- wp:column {\"verticalAlignment\":\"center\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"22px\"}},\"textColor\":\"black\",\"className\":\"img-heading\"} -->\n<p class=\"img-heading has-black-color has-text-color has-link-color\" style=\"font-size:22px\">Healthy Meal</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"15px\"}},\"textColor\":\"black\",\"className\":\"img-para\"} -->\n<p class=\"img-para has-black-color has-text-color has-link-color\" style=\"font-size:15px\">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 {\"backgroundColor\":\"black\",\"style\":{\"border\":{\"radius\":\"6px\"},\"typography\":{\"fontSize\":\"15px\"}},\"className\":\"service-btn is-style-outline\"} -->\n<div class=\"wp-block-button has-custom-font-size service-btn is-style-outline\" style=\"font-size:15px\"><a class=\"wp-block-button__link has-black-background-color has-background wp-element-button\" style=\"border-radius:6px\">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></div>\n<!-- /wp:cover -->",
		)
	);
}