<?php
/**
 * Chartered Accounted : Block Patterns
 *
 * @package Chartered Accounted 
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'chartered-accountant',
		array( 'label' => __( 'Chartered Accounted ', 'chartered-accountant' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'chartered-accountant/banner-section',
		array(
			'title'      => __( 'Banner Section', 'chartered-accountant' ),
			'categories' => array( 'chartered-accountant' ),
			'content'    => "<!-- wp:group {\"metadata\":{\"categories\":[\"chartered-accountant\"],\"patternName\":\"chartered-accountant/banner-section\",\"name\":\"Banner Section\"},\"align\":\"wide\",\"className\":\"banner-container\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group alignwide banner-container\"><!-- wp:cover {\"customOverlayColor\":\"#106b62\",\"isUserOverlayColor\":true,\"align\":\"full\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover alignfull\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-100 has-background-dim\" style=\"background-color:#106b62\"></span><div class=\"wp-block-cover__inner-container\"><!-- wp:columns {\"className\":\"banner-sections\"} -->\n<div class=\"wp-block-columns banner-sections\"><!-- wp:column {\"verticalAlignment\":\"top\",\"width\":\"10%\",\"className\":\"banner-social-conatainer\"} -->\n<div class=\"wp-block-column is-vertically-aligned-top banner-social-conatainer\" style=\"flex-basis:10%\"><!-- wp:heading {\"textAlign\":\"center\",\"level\":5,\"className\":\"banner-social-conatainer\"} -->\n<h5 class=\"wp-block-heading has-text-align-center banner-social-conatainer\">Accounted</h5>\n<!-- /wp:heading -->\n\n<!-- wp:columns {\"verticalAlignment\":\"top\",\"className\":\"container\"} -->\n<div class=\"wp-block-columns are-vertically-aligned-top container\"><!-- wp:column {\"verticalAlignment\":\"top\",\"width\":\"60%\",\"className\":\"icon-conatiner\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"backgroundColor\":\"white\",\"textColor\":\"black\"} -->\n<div class=\"wp-block-column is-vertically-aligned-top icon-conatiner has-black-color has-white-background-color has-text-color has-background has-link-color\" style=\"flex-basis:60%\"><!-- wp:social-links {\"iconColor\":\"white\",\"iconColorValue\":\"#ffffff\",\"iconBackgroundColorValue\":\"#000000\",\"openInNewTab\":true,\"align\":\"center\",\"className\":\"soical-links\",\"layout\":{\"type\":\"flex\",\"orientation\":\"horizontal\"}} -->\n<ul class=\"wp-block-social-links aligncenter has-icon-color has-icon-background-color soical-links\"><!-- wp:social-link {\"url\":\"#\",\"service\":\"instagram\",\"className\":\"icons\"} /-->\n\n<!-- wp:social-link {\"url\":\"#\",\"service\":\"facebook\",\"className\":\"icons\"} /-->\n\n<!-- wp:social-link {\"url\":\"#\",\"service\":\"twitter\",\"className\":\"icons\"} /-->\n\n<!-- wp:social-link {\"url\":\"#\",\"service\":\"google\",\"className\":\"icons\"} /-->\n\n<!-- wp:social-link {\"url\":\"#\",\"service\":\"pinterest\",\"className\":\"icons\"} /--></ul>\n<!-- /wp:social-links -->\n\n<!-- wp:paragraph {\"align\":\"center\"} -->\n<p class=\"has-text-align-center\"><strong>Follow Us :</strong></p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"level\":4,\"className\":\"banner-social-conatainer\"} -->\n<h4 class=\"wp-block-heading has-text-align-center banner-social-conatainer\">Chartered</h4>\n<!-- /wp:heading --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"100%\",\"className\":\"banner-img-container\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center banner-img-container\" style=\"flex-basis:100%\"><!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/banner-bg.png\",\"id\":75,\"dimRatio\":0,\"customOverlayColor\":\"#f5f9f7\",\"isUserOverlayColor\":false,\"isDark\":false,\"sizeSlug\":\"large\",\"className\":\"cover-img\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover is-light cover-img\"><img class=\"wp-block-cover__image-background wp-image-75 size-large\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/banner-bg.png\" data-object-fit=\"cover\"/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\" style=\"background-color:#f5f9f7\"></span><div class=\"wp-block-cover__inner-container\"><!-- wp:columns {\"className\":\"banner-img-sections\"} -->\n<div class=\"wp-block-columns banner-img-sections\"><!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"50%\",\"className\":\"banner-info\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center banner-info\" style=\"flex-basis:50%\"><!-- wp:heading {\"level\":6,\"style\":{\"typography\":{\"fontSize\":\"16px\"}}} -->\n<h6 class=\"wp-block-heading\" style=\"font-size:16px\">Your Chartered Accounted<br></h6>\n<!-- /wp:heading -->\n\n<!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":\"40px\"}}} -->\n<h2 class=\"wp-block-heading\" style=\"font-size:40px\">Invoice Help Your Business Quickly<br></h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"}}} -->\n<p style=\"font-size:16px\">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s,<br></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons {\"className\":\"explore-btn\"} -->\n<div class=\"wp-block-buttons explore-btn\"><!-- wp:button {\"backgroundColor\":\"black\",\"style\":{\"border\":{\"radius\":{\"topLeft\":\"6px\",\"topRight\":\"6px\",\"bottomLeft\":\"6px\",\"bottomRight\":\"6px\"}}}} -->\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-black-background-color has-background wp-element-button\" style=\"border-top-left-radius:6px;border-top-right-radius:6px;border-bottom-left-radius:6px;border-bottom-right-radius:6px\">Explore Now</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"50%\",\"className\":\"banner-contents\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center banner-contents\" style=\"flex-basis:50%\"><!-- wp:columns {\"className\":\"banner-girl-section\"} -->\n<div class=\"wp-block-columns banner-girl-section\"><!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"40%\",\"className\":\"banner-invoce-box\",\"backgroundColor\":\"black\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center banner-invoce-box has-black-background-color has-background\" style=\"flex-basis:40%\"><!-- wp:paragraph {\"align\":\"center\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"15px\"}},\"textColor\":\"white\"} -->\n<p class=\"has-text-align-center has-white-color has-text-color has-link-color\" style=\"font-size:15px\">Total Invoice Paid</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"className\":\"banner-invoice\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\"} -->\n<p class=\"has-text-align-center banner-invoice has-white-color has-text-color has-link-color\">$5,489</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"60%\",\"className\":\"girl-container\"} -->\n<div class=\"wp-block-column girl-container\" style=\"flex-basis:60%\"><!-- wp:image {\"id\":89,\"width\":\"auto\",\"height\":\"400px\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"align\":\"left\"} -->\n<figure class=\"wp-block-image alignleft size-full is-resized\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/banner-img.png\" alt=\"\" class=\"wp-image-89\" style=\"width:auto;height:400px\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:group {\"className\":\"file-conatiner\",\"style\":{\"typography\":{\"fontSize\":\"40px\"}},\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"justifyContent\":\"space-between\"}} -->\n<div class=\"wp-block-group file-conatiner\" style=\"font-size:40px\"><!-- wp:html -->\n<i class=\"fa-solid fa-file-lines\"></i>\n<!-- /wp:html -->\n\n<!-- wp:heading {\"textAlign\":\"left\",\"level\":6,\"style\":{\"typography\":{\"fontSize\":\"18px\"}}} -->\n<h6 class=\"wp-block-heading has-text-align-left\" style=\"font-size:18px\">$783.00<br>Every Month Tax pay</h6>\n<!-- /wp:heading --></div>\n<!-- /wp:group --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover -->\n\n<!-- wp:columns {\"align\":\"full\",\"className\":\"contact-container\"} -->\n<div class=\"wp-block-columns alignfull contact-container\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:columns {\"verticalAlignment\":\"center\",\"className\":\"box-card\"} -->\n<div class=\"wp-block-columns are-vertically-aligned-center box-card\"><!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"100%\",\"className\":\"contact-sections\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center contact-sections\" style=\"flex-basis:100%\"><!-- wp:group {\"className\":\"boxs\",\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"justifyContent\":\"center\"}} -->\n<div class=\"wp-block-group boxs\"><!-- wp:html -->\n<i class=\"fa-solid fa-file-lines\"></i>\n<!-- /wp:html -->\n\n<!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"level\":6,\"fontSize\":\"medium\"} -->\n<h6 class=\"wp-block-heading has-medium-font-size\"><strong>International Accounting<br></strong></h6>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"14px\"}}} -->\n<p style=\"font-size:14px\">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"100%\",\"className\":\"contact-sections\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center contact-sections\" style=\"flex-basis:100%\"><!-- wp:group {\"className\":\"boxs\",\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\"}} -->\n<div class=\"wp-block-group boxs\"><!-- wp:html -->\n<i class=\"fa-solid fa-chart-column\"></i>\n<!-- /wp:html -->\n\n<!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"level\":6,\"metadata\":{\"name\":\"International Accounting\"},\"style\":{\"typography\":{\"fontSize\":\"20px\"}}} -->\n<h6 class=\"wp-block-heading\" style=\"font-size:20px\"><strong>International Accounting<br></strong></h6>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"14px\"}}} -->\n<p style=\"font-size:14px\">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"100%\",\"className\":\"contact-sections\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center contact-sections\" style=\"flex-basis:100%\"><!-- wp:group {\"className\":\"boxs\",\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\"}} -->\n<div class=\"wp-block-group boxs\"><!-- wp:html -->\n<i class=\"fa-solid fa-user-tie\"></i>\n<!-- /wp:html -->\n\n<!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"level\":6,\"style\":{\"typography\":{\"fontSize\":\"20px\"}}} -->\n<h6 class=\"wp-block-heading\" style=\"font-size:20px\"><strong>International Accounting<br></strong></h6>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"14px\"}}} -->\n<p style=\"font-size:14px\">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"center\",\"width\":\"100%\",\"className\":\"black-box-content\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"backgroundColor\":\"black\",\"textColor\":\"white\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center black-box-content has-white-color has-black-background-color has-text-color has-background has-link-color\" style=\"flex-basis:100%\"><!-- wp:group {\"className\":\"black-content\",\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\"}} -->\n<div class=\"wp-block-group black-content\"><!-- wp:html -->\n<i class=\"fa-solid fa-phone\"></i>\n<!-- /wp:html -->\n\n<!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"level\":6,\"style\":{\"typography\":{\"fontSize\":\"18px\"}}} -->\n<h6 class=\"wp-block-heading\" style=\"font-size:18px\"><strong>Contact Now<br></strong></h6>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"className\":\"contact-num\",\"style\":{\"typography\":{\"fontSize\":\"16px\"}}} -->\n<p class=\"contact-num\" style=\"font-size:16px\"><strong><a href=\"tel:+12 3456789123\">+1234567890</a><br></strong></p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:group -->",
		)
	);

	register_block_pattern(
		'chartered-accountant/Our-Case-section',
		array(
			'title'      => __( 'Our Case section', 'chartered-accountant' ),
			'categories' => array( 'chartered-accountant' ),
			'content'    => "<!-- wp:group {\"metadata\":{\"categories\":[\"chartered-accountant\"],\"patternName\":\"chartered-accountant/Our-Case-section\",\"name\":\"Our Case section\"},\"align\":\"full\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group alignfull\"><!-- wp:columns {\"className\":\"studies-container\"} -->\n<div class=\"wp-block-columns studies-container\"><!-- wp:column {\"verticalAlignment\":\"center\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center\"><!-- wp:heading {\"textAlign\":\"center\",\"level\":6,\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"#106b62\"}}},\"color\":{\"text\":\"#106b62\"}}} -->\n<h6 class=\"wp-block-heading has-text-align-center has-text-color has-link-color\" style=\"color:#106b62\">Our Case</h6>\n<!-- /wp:heading -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"level\":4,\"style\":{\"typography\":{\"fontSize\":\"30px\"}}} -->\n<h4 class=\"wp-block-heading has-text-align-center\" style=\"font-size:30px\">Recent Case Studies</h4>\n<!-- /wp:heading --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"align\":\"full\"} -->\n<div class=\"wp-block-columns alignfull\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:columns {\"className\":\"image-content\"} -->\n<div class=\"wp-block-columns image-content\"><!-- wp:column {\"width\":\"50%\",\"className\":\"second-section\"} -->\n<div class=\"wp-block-column second-section\" style=\"flex-basis:50%\"><!-- wp:image {\"id\":306,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/service3.png\" alt=\"\" class=\"wp-image-306\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"100%\",\"className\":\"seconde-conatiner\"} -->\n<div class=\"wp-block-column seconde-conatiner\" style=\"flex-basis:100%\"><!-- wp:image {\"id\":303,\"scale\":\"cover\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/service4.png\" alt=\"\" class=\"wp-image-303\" style=\"object-fit:cover\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:heading {\"level\":4,\"style\":{\"typography\":{\"fontSize\":\"22px\"}}} -->\n<h4 class=\"wp-block-heading\" style=\"font-size:22px\">Financial Report 2023</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"}}} -->\n<p style=\"font-size:16px\">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy…</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"50%\",\"className\":\"second-section-box\"} -->\n<div class=\"wp-block-column second-section-box\" style=\"flex-basis:50%\"><!-- wp:image {\"id\":308,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/service2.png\" alt=\"\" class=\"wp-image-308\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group -->",
		)
	);
}