<?php
/**
 *  Psychology Therapist: Block Patterns
 *
 * @package  Psychology Therapist
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'psychology-therapist',
		array( 'label' => __( 'Psychology Therapist', 'psychology-therapist' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'psychology-therapist/banner-section',
		array(
			'title'      => __( 'Banner Section', 'psychology-therapist' ),
			'categories' => array( 'psychology-therapist' ),
			'content'    => "<!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/slider.png\",\"id\":3871,\"dimRatio\":40,\"overlayColor\":\"black\",\"focalPoint\":{\"x\":0.5,\"y\":0.5},\"minHeight\":500,\"isDark\":false,\"align\":\"full\",\"className\":\"banner-section\"} -->\n<div class=\"wp-block-cover alignfull is-light banner-section\" style=\"min-height:500px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-black-background-color has-background-dim-40 has-background-dim\"></span><img class=\"wp-block-cover__image-background wp-image-3871\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/slider.png\" style=\"object-position:50% 50%\" data-object-fit=\"cover\" data-object-position=\"50% 50%\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:columns {\"className\":\"banner-column-section mx-5 px-5 container\"} -->\n<div class=\"wp-block-columns banner-column-section mx-5 px-5 container\"><!-- wp:column {\"width\":\"50%\",\"className\":\"banner-text-section\"} -->\n<div class=\"wp-block-column banner-text-section\" style=\"flex-basis:50%\"><!-- wp:heading {\"level\":1,\"style\":{\"typography\":{\"fontSize\":\"50px\"}},\"textColor\":\"white\"} -->\n<h1 class=\"wp-block-heading has-white-color has-text-color\" style=\"font-size:50px\">WE CARE</h1>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"14px\"}},\"textColor\":\"white\"} -->\n<p class=\"has-white-color has-text-color\" style=\"font-size:14px\">Lorem ipsum&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"className\":\"button-column\"} -->\n<div class=\"wp-block-columns button-column\"><!-- wp:column {\"width\":\"\"} -->\n<div class=\"wp-block-column\"><!-- wp:buttons {\"className\":\"banner-section-button1\"} -->\n<div class=\"wp-block-buttons banner-section-button1\"><!-- wp:button {\"style\":{\"border\":{\"radius\":\"0px\"},\"typography\":{\"fontSize\":\"16px\"},\"color\":{\"background\":\"#23baae\"}}} -->\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:16px\"><a class=\"wp-block-button__link has-background wp-element-button\" style=\"border-radius:0px;background-color:#23baae\">CONSULT</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"bottom\",\"width\":\"\",\"className\":\"banner-section-button2 \"} -->\n<div class=\"wp-block-column is-vertically-aligned-bottom banner-section-button2\"><!-- wp:buttons {\"layout\":{\"type\":\"flex\",\"justifyContent\":\"space-between\"}} -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"style\":{\"border\":{\"radius\":\"0px\"},\"typography\":{\"fontSize\":\"16px\"},\"color\":{\"background\":\"#f05c5a\"}}} -->\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:16px\"><a class=\"wp-block-button__link has-background wp-element-button\" style=\"border-radius:0px;background-color:#f05c5a\">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 -->\n<div class=\"wp-block-column\"></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover -->",
		)
	);

	register_block_pattern(
		'psychology-therapist/about-us-section',
		array(
			'title'      => __( 'About Us Section', 'psychology-therapist' ),
			'categories' => array( 'psychology-therapist' ),
			'content'    => "<!-- wp:group {\"className\":\"service-section mt-5\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group service-section mt-5\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"width\":\"40%\",\"className\":\"service-section-img\"} -->\n<div class=\"wp-block-column service-section-img\" style=\"flex-basis:40%\"><!-- wp:image {\"id\":3922,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"service-section-img1\"} -->\n<figure class=\"wp-block-image size-full service-section-img1\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/service-image.png\" alt=\"\" class=\"wp-image-3922\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:image {\"align\":\"right\",\"id\":2295,\"width\":115,\"height\":115,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"service-section-img2\"} -->\n<figure class=\"wp-block-image alignright size-full is-resized service-section-img2\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/about-image.png\" alt=\"\" class=\"wp-image-2295\" width=\"115\" height=\"115\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"60%\",\"className\":\"service-section-text\"} -->\n<div class=\"wp-block-column service-section-text\" style=\"flex-basis:60%\"><!-- wp:image {\"id\":2288,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"icon-image\"} -->\n<figure class=\"wp-block-image size-full icon-image\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/icon.png\" alt=\"\" class=\"wp-image-2288\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:paragraph {\"className\":\"paragrapg-text\"} -->\n<p class=\"paragrapg-text\">company slogan goes here</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:image {\"id\":2293,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"about-title-image\"} -->\n<figure class=\"wp-block-image size-full about-title-image\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/about-title.png\" alt=\"\" class=\"wp-image-2293\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":\"28px\"},\"color\":{\"text\":\"#222222\"}}} -->\n<h2 class=\"wp-block-heading has-text-color\" style=\"color:#222222;font-size:28px\">We strive for your better tomorrow</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#8d8b8b\"}}} -->\n<p class=\"has-text-color\" style=\"color:#8d8b8b;font-size:15px\">Lorem ipsum&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"className\":\"icon-section1\"} -->\n<div class=\"wp-block-columns icon-section1\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#2c2f35\"}}} -->\n<p class=\"has-text-color\" style=\"color:#2c2f35;font-size:15px\">Top level help</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#2c2f35\"}}} -->\n<p class=\"has-text-color\" style=\"color:#2c2f35;font-size:15px\">Top level help</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"className\":\"icon-section2\"} -->\n<div class=\"wp-block-columns icon-section2\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#2c2f35\"}}} -->\n<p class=\"has-text-color\" style=\"color:#2c2f35;font-size:15px\">Top level help</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#2c2f35\"}}} -->\n<p class=\"has-text-color\" style=\"color:#2c2f35;font-size:15px\">Top level help</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:buttons {\"layout\":{\"type\":\"flex\",\"justifyContent\":\"space-between\"}} -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"style\":{\"border\":{\"radius\":\"0px\"},\"typography\":{\"fontSize\":\"16px\"},\"color\":{\"background\":\"#f05c5a\"}}} -->\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:16px\"><a class=\"wp-block-button__link has-background wp-element-button\" style=\"border-radius:0px;background-color:#f05c5a\">KNOW MORE</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group -->",
		)
	);
}