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

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

	register_block_pattern_category(
		'vw-clothing-store',
		array( 'label' => __( 'VW Clothing Store', 'vw-clothing-store' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'vw-clothing-store/slider-section',
		array(
			'title'      => __( 'Banner Section', 'vw-clothing-store' ),
			'categories' => array( 'vw-clothing-store' ),
			'content'    => "<!-- wp:cover {\"url\":\"" . esc_url( get_template_directory_uri() ). "/inc/block-patterns/images/slider.png\",\"id\":115,\"dimRatio\":0,\"isDark\":false,\"align\":\"full\",\"className\":\"banner\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover alignfull is-light banner\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\"></span><img class=\"wp-block-cover__image-background wp-image-115\" alt=\"\" src=\"" . esc_url( get_template_directory_uri() ). "/inc/block-patterns/images/slider.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"verticalAlignment\":\"center\",\"className\":\"banner-content\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center banner-content\"><!-- wp:paragraph {\"align\":\"left\",\"placeholder\":\"Write title…\",\"style\":{\"typography\":{\"fontSize\":\"14px\",\"textTransform\":\"capitalize\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<p class=\"has-text-align-left has-black-color has-text-color has-link-color\" style=\"font-size:14px;font-style:normal;font-weight:600;text-transform:capitalize\">25% off</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":1,\"style\":{\"typography\":{\"fontSize\":\"40px\",\"textTransform\":\"capitalize\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<h1 class=\"wp-block-heading has-black-color has-text-color has-link-color\" style=\"font-size:40px;font-style:normal;font-weight:600;text-transform:capitalize\">men fashion collection</h1>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\"},\"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:14px;font-style:normal;font-weight:400\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:woocommerce/product-category {\"rows\":1,\"contentVisibility\":{\"image\":true,\"title\":true,\"price\":false,\"rating\":false,\"button\":false},\"categories\":[27,26],\"stockStatus\":[\"\",\"instock\",\"outofstock\",\"onbackorder\"]} /--></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"bottom\",\"className\":\"banner-img\"} -->\n<div class=\"wp-block-column is-vertically-aligned-bottom banner-img\"></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover -->",
		)
	);

	register_block_pattern(
		'vw-clothing-store/about-section',
		array(
			'title'      => __( 'About Section', 'vw-clothing-store' ),
			'categories' => array( 'vw-clothing-store' ),
			'content'    => "<!-- wp:group {\"className\":\"products-section py-5\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group products-section py-5\"><!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"typography\":{\"textTransform\":\"capitalize\",\"fontStyle\":\"normal\",\"fontWeight\":\"700\"}}} -->\n<h2 class=\"wp-block-heading has-text-align-center\" style=\"font-style:normal;font-weight:700;text-transform:capitalize\">feature collection</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"color\":{\"text\":\"#8d8b8b\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#8d8b8b\"}}},\"typography\":{\"fontSize\":\"15px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\"}},\"className\":\"mb-3\"} -->\n<p class=\"has-text-align-center mb-3 has-text-color has-link-color\" style=\"color:#8d8b8b;font-size:15px;font-style:normal;font-weight:400\">Lorem Ipsum is simply dummy text of the printing.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"className\":\"product-sec\"} -->\n<div class=\"wp-block-columns product-sec\"><!-- wp:column {\"width\":\"40%\",\"className\":\"product-left position-relative\"} -->\n<div class=\"wp-block-column product-left position-relative\" style=\"flex-basis:40%\"><!-- wp:columns {\"className\":\"gap-0\"} -->\n<div class=\"wp-block-columns gap-0\"><!-- wp:column {\"className\":\"timer-content position-absolute \"} -->\n<div class=\"wp-block-column timer-content position-absolute\"><!-- wp:paragraph {\"align\":\"center\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"25px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"backgroundColor\":\"black\",\"textColor\":\"white\",\"className\":\"product-offer\"} -->\n<p class=\"has-text-align-center product-offer has-white-color has-black-background-color has-text-color has-background has-link-color\" style=\"font-size:25px;font-style:normal;font-weight:600\">25% Off</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"style\":{\"color\":{\"background\":\"#f6f6f6\"}},\"className\":\"product-timer\"} -->\n<div class=\"wp-block-columns product-timer has-background\" style=\"background-color:#f6f6f6\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"18px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color has-link-color\" style=\"font-size:18px;font-style:normal;font-weight:600\">01</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"18px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color has-link-color\" style=\"font-size:18px;font-style:normal;font-weight:600\">06</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"18px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color has-link-color\" style=\"font-size:18px;font-style:normal;font-weight:600\">58</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"18px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color has-link-color\" style=\"font-size:18px;font-style:normal;font-weight:600\">45</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"backgroundColor\":\"white\",\"className\":\"product-timer-text\"} -->\n<div class=\"wp-block-columns product-timer-text has-white-background-color has-background\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"12px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"textTransform\":\"capitalize\"}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color has-link-color\" style=\"font-size:12px;font-style:normal;font-weight:500;text-transform:capitalize\">day</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"12px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"textTransform\":\"capitalize\"}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color has-link-color\" style=\"font-size:12px;font-style:normal;font-weight:500;text-transform:capitalize\">hrs</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"12px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"textTransform\":\"capitalize\"}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color has-link-color\" style=\"font-size:12px;font-style:normal;font-weight:500;text-transform:capitalize\">min</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"12px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"textTransform\":\"capitalize\"}},\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color has-link-color\" style=\"font-size:12px;font-style:normal;font-weight:500;text-transform:capitalize\">sec</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:columns {\"className\":\"meta-text\"} -->\n<div class=\"wp-block-columns meta-text\"><!-- wp:column {\"width\":\"100%\"} -->\n<div class=\"wp-block-column\" style=\"flex-basis:100%\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\",\"className\":\"rating1 mb-0\"} -->\n<p class=\"rating1 mb-0 has-black-color has-text-color has-link-color\" style=\"font-size:15px;font-style:normal;font-weight:500\">4.0</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\",\"className\":\"rating2 mb-0\"} -->\n<p class=\"rating2 mb-0 has-black-color has-text-color has-link-color\" style=\"font-size:15px;font-style:normal;font-weight:500\">555</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"0%\"} -->\n<div class=\"wp-block-column\" style=\"flex-basis:0%\"></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"timer-blank-col\"} -->\n<div class=\"wp-block-column timer-blank-col\"></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:woocommerce/product-category {\"columns\":1,\"rows\":1,\"contentVisibility\":{\"image\":true,\"title\":true,\"price\":true,\"rating\":false,\"button\":false},\"categories\":[27],\"stockStatus\":[\"\",\"instock\",\"outofstock\",\"onbackorder\"]} /--></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"60%\",\"className\":\"product-right\"} -->\n<div class=\"wp-block-column product-right\" style=\"flex-basis:60%\"><!-- wp:shortcode -->\n[products limit=\"3\" columns=\"3\"]\n<!-- /wp:shortcode --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group -->",
		)
	);
}