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

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

	register_block_pattern_category(
		'vw-bakers',
		array( 'label' => __( 'VW Bakers ', 'vw-bakers' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'vw-bakers/banner-section',
		array(
			'title'      => __( 'Banner Section', 'vw-bakers' ),
			'categories' => array( 'vw-bakers' ),
			'content'    => "<!-- wp:group {\"align\":\"full\",\"className\":\"top-banner-section\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group alignfull top-banner-section\"><!-- wp:cover {\"customOverlayColor\":\"#e94c4c\",\"isUserOverlayColor\":true,\"minHeight\":520,\"className\":\"banner\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover banner\" style=\"min-height:520px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-100 has-background-dim\" style=\"background-color:#e94c4c\"></span><div class=\"wp-block-cover__inner-container\"><!-- wp:group {\"className\":\"banner-grp container \",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group banner-grp container\"><!-- wp:columns {\"className\":\"banner-col  \"} -->\n<div class=\"wp-block-columns banner-col\"><!-- wp:column {\"className\":\"first-col \"} -->\n<div class=\"wp-block-column first-col\"><!-- wp:group {\"className\":\"small-title-grp\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group small-title-grp\"><!-- wp:paragraph {\"className\":\"small-title-1 position-relative\",\"style\":{\"typography\":{\"fontSize\":\"18px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}}} -->\n<p class=\"small-title-1 position-relative\" style=\"font-size:18px;font-style:normal;font-weight:600\">Haven Bakes</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:group -->\n\n<!-- wp:heading {\"level\":1,\"className\":\"banner-title\",\"style\":{\"typography\":{\"fontSize\":\"45px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}}} -->\n<h1 class=\"wp-block-heading banner-title\" style=\"font-size:45px;font-style:normal;font-weight:600\">Sweet Moments, Freshly Baked: Indulge in Every Bite</h1>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"14px\"}}} -->\n<p style=\"font-size:14px\">Savor the taste of perfection with our handcrafted pastries, breads, and cakes. Baked fresh daily using the finest ingredients, every bite is a delightful journey of flavor. Treat yourself to the joy of homemade goodness.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:group {\"className\":\"button-grp\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group button-grp\"><!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"className\":\"banner-btn is-style-outline\",\"style\":{\"border\":{\"radius\":\"0px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#3d3d3d\"}}},\"color\":{\"text\":\"#3d3d3d\"},\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}}} -->\n<div class=\"wp-block-button has-custom-font-size banner-btn is-style-outline\" style=\"font-size:14px;font-style:normal;font-weight:600\"><a class=\"wp-block-button__link has-text-color has-link-color wp-element-button\" style=\"border-radius:0px;color:#3d3d3d\">Shop Now</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:group --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"sec-col position-relative\"} -->\n<div class=\"wp-block-column sec-col position-relative\"><!-- wp:image {\"id\":32,\"width\":\"460px\",\"height\":\"335px\",\"scale\":\"cover\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"banner-img-main \"} -->\n<figure class=\"wp-block-image size-full is-resized banner-img-main\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/banner1.png\" alt=\"\" class=\"wp-image-32\" style=\"object-fit:cover;width:460px;height:335px\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:image {\"id\":54,\"width\":\"125px\",\"height\":\"180px\",\"scale\":\"cover\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"is-style-rounded banner-img-2\"} -->\n<figure class=\"wp-block-image size-full is-resized is-style-rounded banner-img-2\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/banner3.png\" alt=\"\" class=\"wp-image-54\" style=\"object-fit:cover;width:125px;height:180px\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:image {\"id\":55,\"width\":\"240px\",\"height\":\"auto\",\"aspectRatio\":\"1.8461538461538463\",\"scale\":\"cover\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"is-style-rounded banner-img-3\"} -->\n<figure class=\"wp-block-image size-full is-resized is-style-rounded banner-img-3\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/banner2.png\" alt=\"\" class=\"wp-image-55\" style=\"aspect-ratio:1.8461538461538463;object-fit:cover;width:240px;height:auto\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group --></div></div>\n<!-- /wp:cover -->\n\n<!-- wp:image {\"id\":19,\"sizeSlug\":\"large\",\"linkDestination\":\"none\",\"className\":\"bottom-img\"} -->\n<figure class=\"wp-block-image size-large bottom-img\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/banner-bottom1.png\" alt=\"\" class=\"wp-image-19\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:group -->",
		)
	);

	register_block_pattern(
		'vw-bakers/our-chefs-section',
		array(
			'title'      => __( 'Our Chefs Section ', 'vw-bakers' ),
			'categories' => array( 'vw-bakers' ),
			'content'    => "<!-- wp:group {\"className\":\"chefs-section\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group chefs-section\"><!-- wp:paragraph {\"className\":\"chef-small-title\",\"style\":{\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"},\"color\":{\"text\":\"#e94c4c\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#e94c4c\"}}}}} -->\n<p class=\"chef-small-title has-text-color has-link-color\" style=\"color:#e94c4c;font-size:14px;font-style:normal;font-weight:600\">Our Chefs</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"className\":\"chef-title\",\"style\":{\"typography\":{\"fontSize\":\"25px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#3d3d3d\"}}},\"color\":{\"text\":\"#3d3d3d\"}}} -->\n<h2 class=\"wp-block-heading chef-title has-text-color has-link-color\" style=\"color:#3d3d3d;font-size:25px\">Meet Our Master Chefs: Crafting Every <br> Bite with Passion and Expertise.</h2>\n<!-- /wp:heading -->\n\n<!-- wp:columns {\"className\":\"chefs-col-main\"} -->\n<div class=\"wp-block-columns chefs-col-main\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:image {\"id\":24,\"width\":\"179px\",\"height\":\"auto\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"chef-img-1\"} -->\n<figure class=\"wp-block-image size-full is-resized chef-img-1\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/chef1.png\" alt=\"\" class=\"wp-image-24\" style=\"width:179px;height:auto\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"className\":\"chef-name\",\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}}} -->\n<p class=\"has-text-align-center chef-name\" style=\"font-style:normal;font-weight:600\">David Stewart</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:social-links {\"align\":\"center\",\"className\":\"social-icons-grp gap-0\"} -->\n<ul class=\"wp-block-social-links aligncenter social-icons-grp gap-0\"><!-- wp:social-link {\"url\":\"www.pininterest.com\",\"service\":\"pinterest\",\"className\":\"icon\"} /-->\n\n<!-- wp:social-link {\"url\":\"www.instagram.com\",\"service\":\"instagram\",\"className\":\"icon\"} /-->\n\n<!-- wp:social-link {\"url\":\"www.facebook.com\",\"service\":\"facebook\",\"className\":\"icon\"} /-->\n\n<!-- wp:social-link {\"url\":\"www.linkedin.com\",\"service\":\"linkedin\",\"className\":\"icon\"} /--></ul>\n<!-- /wp:social-links --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:image {\"id\":26,\"width\":\"177px\",\"height\":\"auto\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"chef-img-2\"} -->\n<figure class=\"wp-block-image size-full is-resized chef-img-2\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/chef2.png\" alt=\"\" class=\"wp-image-26\" style=\"width:177px;height:auto\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"className\":\"chef-name\",\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}}} -->\n<p class=\"has-text-align-center chef-name\" style=\"font-style:normal;font-weight:600\">Jonathan Alfred</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:social-links {\"align\":\"center\",\"className\":\"social-icons-grp gap-0\"} -->\n<ul class=\"wp-block-social-links aligncenter social-icons-grp gap-0\"><!-- wp:social-link {\"url\":\"www.pininterest.com\",\"service\":\"pinterest\",\"className\":\"icon\"} /-->\n\n<!-- wp:social-link {\"url\":\"www.instagram.com\",\"service\":\"instagram\",\"className\":\"icon\"} /-->\n\n<!-- wp:social-link {\"url\":\"www.facebook.com\",\"service\":\"facebook\",\"className\":\"icon\"} /-->\n\n<!-- wp:social-link {\"url\":\"www.linkedin.com\",\"service\":\"linkedin\",\"className\":\"icon\"} /--></ul>\n<!-- /wp:social-links --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:image {\"id\":27,\"width\":\"187px\",\"height\":\"auto\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"chef-img-3\"} -->\n<figure class=\"wp-block-image size-full is-resized chef-img-3\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/chef3.png\" alt=\"\" class=\"wp-image-27\" style=\"width:187px;height:auto\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"className\":\"chef-name\",\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}}} -->\n<p class=\"has-text-align-center chef-name\" style=\"font-style:normal;font-weight:600\">Angelina Masqurade</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:social-links {\"align\":\"center\",\"className\":\"social-icons-grp gap-0\"} -->\n<ul class=\"wp-block-social-links aligncenter social-icons-grp gap-0\"><!-- wp:social-link {\"url\":\"www.pininterest.com\",\"service\":\"pinterest\",\"className\":\"icon\"} /-->\n\n<!-- wp:social-link {\"url\":\"www.instagram.com\",\"service\":\"instagram\",\"className\":\"icon\"} /-->\n\n<!-- wp:social-link {\"url\":\"www.facebook.com\",\"service\":\"facebook\",\"className\":\"icon\"} /-->\n\n<!-- wp:social-link {\"url\":\"www.linkedin.com\",\"service\":\"linkedin\",\"className\":\"icon\"} /--></ul>\n<!-- /wp:social-links --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:image {\"id\":28,\"width\":\"191px\",\"height\":\"auto\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"chef-img-4\"} -->\n<figure class=\"wp-block-image size-full is-resized chef-img-4\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/chef4.png\" alt=\"\" class=\"wp-image-28\" style=\"width:191px;height:auto\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"className\":\"chef-name\",\"style\":{\"typography\":{\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}}} -->\n<p class=\"has-text-align-center chef-name\" style=\"font-style:normal;font-weight:600\">Bella Andrew</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:social-links {\"align\":\"center\",\"className\":\"social-icons-grp gap-0\"} -->\n<ul class=\"wp-block-social-links aligncenter social-icons-grp gap-0\"><!-- wp:social-link {\"url\":\"www.pininterest.com\",\"service\":\"pinterest\",\"className\":\"icon\"} /-->\n\n<!-- wp:social-link {\"url\":\"www.instagram.com\",\"service\":\"instagram\",\"className\":\"icon\"} /-->\n\n<!-- wp:social-link {\"url\":\"www.facebook.com\",\"service\":\"facebook\",\"className\":\"icon\"} /-->\n\n<!-- wp:social-link {\"url\":\"www.linkedin.com\",\"service\":\"linkedin\",\"className\":\"icon\"} /--></ul>\n<!-- /wp:social-links --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group -->",
		)
	);

}
