<?php
/**
 * The Fashion Woocommerce: Block Patterns
 *
 * @package The Fashion Woocommerce
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'the-fashion-woocommerce',
		array( 'label' => __( 'The Fashion Woocommerce', 'the-fashion-woocommerce' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'the-fashion-woocommerce/banner-section',
		array(
			'title'      => __( 'Banner Section', 'the-fashion-woocommerce' ),
			'categories' => array( 'the-fashion-woocommerce' ),
			'content'    => "<!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/images/banner.png\",\"id\":17,\"dimRatio\":0,\"overlayColor\":\"black\",\"minHeight\":600,\"align\":\"full\",\"className\":\"banner-section\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover alignfull banner-section\" style=\"min-height:600px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-black-background-color has-background-dim-0 has-background-dim\"></span><img class=\"wp-block-cover__image-background wp-image-17\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/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:paragraph {\"style\":{\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"textTransform\":\"capitalize\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\",\"className\":\"mb-0\"} -->\n<p class=\"mb-0 has-white-color has-text-color has-link-color\" style=\"font-size:14px;font-style:normal;font-weight:400;text-transform:capitalize\">hello, welcome to the fashion designer</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":1,\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"40px\",\"textTransform\":\"uppercase\",\"fontStyle\":\"normal\",\"fontWeight\":\"700\"}},\"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:700;text-transform:uppercase\">make custom made suits</h1>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\",\"textTransform\":\"none\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\",\"className\":\"mb-4 mt-1\"} -->\n<p class=\"mb-4 mt-1 has-white-color has-text-color has-link-color\" style=\"font-size:14px;font-style:normal;font-weight:400;text-transform:none\">Lorem Ipsum&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons {\"className\":\"banner-btn1 me-2\"} -->\n<div class=\"wp-block-buttons banner-btn1 me-2\"><!-- wp:button {\"textColor\":\"white\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"15px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"textTransform\":\"capitalize\",\"textDecoration\":\"none\"},\"border\":{\"radius\":\"2px\"},\"color\":{\"background\":\"#00000000\"}}} -->\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:15px;font-style:normal;font-weight:500;text-decoration:none;text-transform:capitalize\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" href=\"#\" style=\"border-radius:2px;background-color:#00000000\">read more</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons -->\n\n<!-- wp:buttons {\"className\":\"banner-btn2\"} -->\n<div class=\"wp-block-buttons banner-btn2\"><!-- wp:button {\"textColor\":\"white\",\"style\":{\"color\":{\"background\":\"#d49e8d\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"15px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"textTransform\":\"capitalize\",\"textDecoration\":\"none\"},\"border\":{\"radius\":\"2px\"}}} -->\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:15px;font-style:normal;font-weight:500;text-decoration:none;text-transform:capitalize\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" href=\"#\" style=\"border-radius:2px;background-color:#d49e8d\">book your appointment</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(
		'the-fashion-woocommerce/fashion-categroy-section',
		array(
			'title'      => __( 'Fashion Categroy Section', 'the-fashion-woocommerce' ),
			'categories' => array( 'the-fashion-woocommerce' ),
			'content'    => "<!-- wp:group {\"backgroundColor\":\"white\",\"className\":\"fashion-section\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group fashion-section has-white-background-color has-background\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/images/category1.png\",\"id\":9,\"dimRatio\":0,\"minHeight\":200,\"className\":\"fashion-image mb-3\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover fashion-image mb-3\" style=\"min-height:200px\"><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-9\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/images/category1.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"letterSpacing\":\"2px\",\"textTransform\":\"lowercase\"}},\"textColor\":\"white\",\"className\":\"mb-0\"} -->\n<p class=\"mb-0 has-white-color has-text-color has-link-color\" style=\"font-size:14px;font-style:normal;font-weight:500;letter-spacing:2px;text-transform:lowercase\">collection</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"20px\",\"textTransform\":\"uppercase\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"white\",\"className\":\"pt-1\"} -->\n<h2 class=\"wp-block-heading pt-1 has-white-color has-text-color has-link-color\" style=\"font-size:20px;font-style:normal;font-weight:600;text-transform:uppercase\">wedding</h2>\n<!-- /wp:heading --></div></div>\n<!-- /wp:cover -->\n\n<!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/images/category2.png\",\"id\":10,\"dimRatio\":0,\"minHeight\":200,\"isDark\":false,\"className\":\"fashion-image\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover is-light fashion-image\" style=\"min-height:200px\"><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-10\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/images/category2.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"letterSpacing\":\"2px\",\"textTransform\":\"lowercase\"}},\"textColor\":\"white\",\"className\":\"mb-0\"} -->\n<p class=\"mb-0 has-white-color has-text-color has-link-color\" style=\"font-size:14px;font-style:normal;font-weight:500;letter-spacing:2px;text-transform:lowercase\">collection</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"20px\",\"textTransform\":\"uppercase\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"white\",\"className\":\"pt-1\"} -->\n<h2 class=\"wp-block-heading pt-1 has-white-color has-text-color has-link-color\" style=\"font-size:20px;font-style:normal;font-weight:600;text-transform:uppercase\">kids</h2>\n<!-- /wp:heading --></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()) . "/theme-block-pattern/images/category3.png\",\"id\":11,\"dimRatio\":0,\"minHeight\":414,\"className\":\"fashion-mid-image\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover fashion-mid-image\" style=\"min-height:414px\"><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-11\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/images/category3.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"letterSpacing\":\"2px\",\"textTransform\":\"lowercase\"}},\"textColor\":\"white\",\"className\":\"mb-0\"} -->\n<p class=\"mb-0 has-white-color has-text-color has-link-color\" style=\"font-size:14px;font-style:normal;font-weight:500;letter-spacing:2px;text-transform:lowercase\">collection</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"20px\",\"textTransform\":\"uppercase\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"white\",\"className\":\"pt-1\"} -->\n<h2 class=\"wp-block-heading pt-1 has-white-color has-text-color has-link-color\" style=\"font-size:20px;font-style:normal;font-weight:600;text-transform:uppercase\">categories</h2>\n<!-- /wp:heading -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"textColor\":\"white\",\"style\":{\"color\":{\"background\":\"#d49e8d\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"15px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"textTransform\":\"capitalize\",\"textDecoration\":\"none\"},\"border\":{\"radius\":\"2px\"}}} -->\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:15px;font-style:normal;font-weight:500;text-decoration:none;text-transform:capitalize\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" href=\"#\" style=\"border-radius:2px;background-color:#d49e8d\">view all categories</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></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()) . "/theme-block-pattern/images/category4.png\",\"id\":12,\"dimRatio\":0,\"minHeight\":200,\"className\":\"fashion-image mb-3\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover fashion-image mb-3\" style=\"min-height:200px\"><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-12\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/images/category4.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"letterSpacing\":\"2px\",\"textTransform\":\"lowercase\"}},\"textColor\":\"white\",\"className\":\"mb-0\"} -->\n<p class=\"mb-0 has-white-color has-text-color has-link-color\" style=\"font-size:14px;font-style:normal;font-weight:500;letter-spacing:2px;text-transform:lowercase\">collection</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"20px\",\"textTransform\":\"uppercase\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"white\",\"className\":\"pt-1\"} -->\n<h2 class=\"wp-block-heading pt-1 has-white-color has-text-color has-link-color\" style=\"font-size:20px;font-style:normal;font-weight:600;text-transform:uppercase\">women's fashion</h2>\n<!-- /wp:heading --></div></div>\n<!-- /wp:cover -->\n\n<!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/images/category5.png\",\"id\":13,\"dimRatio\":0,\"minHeight\":200,\"isDark\":false,\"className\":\"fashion-image mb-3\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover is-light fashion-image mb-3\" style=\"min-height:200px\"><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-13\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/images/category5.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\",\"letterSpacing\":\"2px\",\"textTransform\":\"lowercase\"}},\"textColor\":\"white\",\"className\":\"mb-0\"} -->\n<p class=\"mb-0 has-white-color has-text-color has-link-color\" style=\"font-size:14px;font-style:normal;font-weight:500;letter-spacing:2px;text-transform:lowercase\">collection</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"20px\",\"textTransform\":\"uppercase\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"white\",\"className\":\"pt-1\"} -->\n<h2 class=\"wp-block-heading pt-1 has-white-color has-text-color has-link-color\" style=\"font-size:20px;font-style:normal;font-weight:600;text-transform:uppercase\">office</h2>\n<!-- /wp:heading --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group -->",
		)
	);
}