<?php
/**
 * Reseller Store: Block Patterns
 *
 * @package Reseller Store
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'reseller-store',
		array( 'label' => __( 'Reseller Store', 'reseller-store' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'reseller-store/banner-section',
		array(
			'title'      => __( 'Banner Section', 'reseller-store' ),
			'categories' => array( 'reseller-store' ),
			'content'    => "<!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/banner.png\",\"id\":49,\"dimRatio\":0,\"customOverlayColor\":\"#434647\",\"isUserOverlayColor\":true,\"minHeight\":700,\"align\":\"full\",\"className\":\"banner\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover alignfull banner\" style=\"min-height:700px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\" style=\"background-color:#434647\"></span><img class=\"wp-block-cover__image-background wp-image-49\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/banner.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\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"40px\",\"textTransform\":\"capitalize\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\"}},\"textColor\":\"white\"} -->\n<h1 class=\"wp-block-heading has-white-color has-text-color has-link-color\" style=\"font-size:40px;font-style:normal;font-weight:500;text-transform:capitalize\">well-maintained! myphone 14pro great phone at a great price</h1>\n<!-- /wp:heading -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"textColor\":\"white\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"color\":{\"background\":\"#1d76c4\"},\"typography\":{\"fontSize\":\"14px\",\"textTransform\":\"capitalize\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\"},\"border\":{\"radius\":\"6px\"}},\"className\":\"my-4\"} -->\n<div class=\"wp-block-button has-custom-font-size my-4\" style=\"font-size:14px;font-style:normal;font-weight:400;text-transform:capitalize\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" style=\"border-radius:6px;background-color:#1d76c4\">start exploring</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></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(
		'reseller-store/contact-section',
		array(
			'title'      => __( 'Recent Product Section', 'reseller-store' ),
			'categories' => array( 'reseller-store' ),
			'content'    => "<!-- wp:group {\"className\":\"product-section py-5\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group product-section py-5\"><!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"32px\",\"textTransform\":\"capitalize\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"black\"} -->\n<h2 class=\"wp-block-heading has-text-align-center has-black-color has-text-color has-link-color\" style=\"font-size:32px;font-style:normal;font-weight:600;text-transform:capitalize\">recent product</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<p class=\"has-text-align-center has-black-color has-text-color has-link-color\" style=\"font-size:15px;font-style:normal;font-weight:400\">Explore on the worlds best &amp; largest Bidding marketplace</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:woocommerce/product-category {\"rows\":1,\"contentVisibility\":{\"image\":true,\"title\":true,\"price\":true,\"rating\":false,\"button\":true},\"categories\":[15],\"align\":\"full\"} /--></div>\n<!-- /wp:group -->",
		)
	);

	register_block_pattern(
		'reseller-store/feature-section',
		array(
			'title'      => __( 'Products Category Section', 'reseller-store' ),
			'categories' => array( 'reseller-store' ),
			'content'    => "<!-- wp:group {\"align\":\"full\",\"className\":\"category-section px-1\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group alignfull category-section px-1\"><!-- wp:columns {\"className\":\"category-content\"} -->\n<div class=\"wp-block-columns category-content\"><!-- wp:column {\"width\":\"35%\",\"className\":\"category1\"} -->\n<div class=\"wp-block-column category1\" style=\"flex-basis:35%\"><!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/category-1.png\",\"id\":95,\"dimRatio\":10,\"overlayColor\":\"black\",\"isUserOverlayColor\":true,\"minHeight\":650,\"className\":\"cat-1\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover cat-1\" style=\"min-height:650px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-black-background-color has-background-dim-10 has-background-dim\"></span><img class=\"wp-block-cover__image-background wp-image-95\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/category-1.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:group {\"className\":\"p-5\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group p-5\"><!-- wp:heading {\"level\":3,\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"30px\",\"textTransform\":\"capitalize\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"white\",\"className\":\"mb-3\"} -->\n<h3 class=\"wp-block-heading mb-3 has-white-color has-text-color has-link-color\" style=\"font-size:30px;font-style:normal;font-weight:600;text-transform:capitalize\">technology</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\",\"textTransform\":\"capitalize\"}}} -->\n<p style=\"font-size:15px;text-transform:capitalize\">30 watches</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons {\"className\":\"category-btn my-4\"} -->\n<div class=\"wp-block-buttons category-btn my-4\"><!-- wp:button {\"textColor\":\"white\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"color\":{\"background\":\"#00000000\"},\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"textTransform\":\"capitalize\"},\"border\":{\"radius\":\"5px\"}}} -->\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:14px;font-style:normal;font-weight:500;text-transform:capitalize\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" style=\"border-radius:5px;background-color:#00000000\">view more</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:group --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"50%\",\"className\":\"category2\"} -->\n<div class=\"wp-block-column category2\" style=\"flex-basis:50%\"><!-- wp:columns {\"className\":\"mb-3\"} -->\n<div class=\"wp-block-columns mb-3\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/category-2.png\",\"id\":105,\"dimRatio\":10,\"overlayColor\":\"black\",\"isUserOverlayColor\":true,\"minHeight\":400,\"className\":\"cat-2\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover cat-2\" style=\"min-height:400px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-black-background-color has-background-dim-10 has-background-dim\"></span><img class=\"wp-block-cover__image-background wp-image-105\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/category-2.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:group {\"className\":\"p-5\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group p-5\"><!-- wp:heading {\"level\":3,\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"30px\",\"textTransform\":\"capitalize\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"white\",\"className\":\"mb-3\"} -->\n<h3 class=\"wp-block-heading mb-3 has-white-color has-text-color has-link-color\" style=\"font-size:30px;font-style:normal;font-weight:600;text-transform:capitalize\">luxury cars</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\",\"textTransform\":\"capitalize\"}}} -->\n<p style=\"font-size:15px;text-transform:capitalize\">10 auction</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons {\"className\":\"category-btn my-4\"} -->\n<div class=\"wp-block-buttons category-btn my-4\"><!-- wp:button {\"textColor\":\"white\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"color\":{\"background\":\"#00000000\"},\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"textTransform\":\"capitalize\"},\"border\":{\"radius\":\"5px\"}}} -->\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:14px;font-style:normal;font-weight:500;text-transform:capitalize\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" style=\"border-radius:5px;background-color:#00000000\">view more</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:group --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"className\":\"category-content1\"} -->\n<div class=\"wp-block-columns category-content1\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/category-3.png\",\"id\":106,\"dimRatio\":10,\"overlayColor\":\"black\",\"isUserOverlayColor\":true,\"minHeight\":235,\"className\":\"cat-3\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover cat-3\" style=\"min-height:235px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-black-background-color has-background-dim-10 has-background-dim\"></span><img class=\"wp-block-cover__image-background wp-image-106\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/category-3.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:group {\"className\":\"p-4\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group p-4\"><!-- wp:heading {\"level\":3,\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"30px\",\"textTransform\":\"capitalize\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"white\",\"className\":\"mb-3\"} -->\n<h3 class=\"wp-block-heading mb-3 has-white-color has-text-color has-link-color\" style=\"font-size:30px;font-style:normal;font-weight:600;text-transform:capitalize\">camera</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\",\"textTransform\":\"capitalize\"}}} -->\n<p style=\"font-size:15px;text-transform:capitalize\">18 product</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons {\"className\":\"category-btn my-4\"} -->\n<div class=\"wp-block-buttons category-btn my-4\"><!-- wp:button {\"textColor\":\"white\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"color\":{\"background\":\"#00000000\"},\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"textTransform\":\"capitalize\"},\"border\":{\"radius\":\"5px\"}}} -->\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:14px;font-style:normal;font-weight:500;text-transform:capitalize\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" style=\"border-radius:5px;background-color:#00000000\">view more</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:group --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/category-4.png\",\"id\":107,\"dimRatio\":10,\"overlayColor\":\"black\",\"isUserOverlayColor\":true,\"minHeight\":235,\"className\":\"cat-4\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover cat-4\" style=\"min-height:235px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-black-background-color has-background-dim-10 has-background-dim\"></span><img class=\"wp-block-cover__image-background wp-image-107\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/category-4.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:group {\"className\":\"p-4\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group p-4\"><!-- wp:heading {\"level\":3,\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"30px\",\"textTransform\":\"capitalize\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"white\",\"className\":\"mb-3\"} -->\n<h3 class=\"wp-block-heading mb-3 has-white-color has-text-color has-link-color\" style=\"font-size:30px;font-style:normal;font-weight:600;text-transform:capitalize\">bikes</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\",\"textTransform\":\"capitalize\"}}} -->\n<p style=\"font-size:15px;text-transform:capitalize\">18 product</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons {\"className\":\"category-btn my-4\"} -->\n<div class=\"wp-block-buttons category-btn my-4\"><!-- wp:button {\"textColor\":\"white\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"color\":{\"background\":\"#00000000\"},\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"textTransform\":\"capitalize\"},\"border\":{\"radius\":\"5px\"}}} -->\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:14px;font-style:normal;font-weight:500;text-transform:capitalize\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" style=\"border-radius:5px;background-color:#00000000\">view more</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:group --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"35%\",\"className\":\"category3\"} -->\n<div class=\"wp-block-column category3\" style=\"flex-basis:35%\"><!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/category-5.png\",\"id\":97,\"dimRatio\":10,\"overlayColor\":\"black\",\"isUserOverlayColor\":true,\"minHeight\":650,\"className\":\"cat-5\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover cat-5\" style=\"min-height:650px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-black-background-color has-background-dim-10 has-background-dim\"></span><img class=\"wp-block-cover__image-background wp-image-97\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/category-5.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:group {\"className\":\"p-5\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group p-5\"><!-- wp:heading {\"level\":3,\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"30px\",\"textTransform\":\"capitalize\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"white\",\"className\":\"mb-3\"} -->\n<h3 class=\"wp-block-heading mb-3 has-white-color has-text-color has-link-color\" style=\"font-size:30px;font-style:normal;font-weight:600;text-transform:capitalize\">phones &amp; Tablets</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\",\"textTransform\":\"capitalize\"}}} -->\n<p style=\"font-size:15px;text-transform:capitalize\">08 auction</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons {\"className\":\"category-btn my-4\"} -->\n<div class=\"wp-block-buttons category-btn my-4\"><!-- wp:button {\"textColor\":\"white\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"color\":{\"background\":\"#00000000\"},\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"textTransform\":\"capitalize\"},\"border\":{\"radius\":\"5px\"}}} -->\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:14px;font-style:normal;font-weight:500;text-transform:capitalize\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" style=\"border-radius:5px;background-color:#00000000\">view more</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:group --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group -->",
		)
	);
}