<?php
/**
 * Street Food Truck: Block Patterns
 *
 * @package Street Food Truck
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'street-food-truck',
		array( 'label' => __( 'Street Food Truck', 'street-food-truck' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'street-food-truck/banner-section',
		array(
			'title'      => __( 'Banner Section', 'street-food-truck' ),
			'categories' => array( 'street-food-truck' ),
			'content'    => "<!-- wp:cover {\"overlayColor\":\"white\",\"isUserOverlayColor\":true,\"minHeight\":500,\"isDark\":false,\"align\":\"full\",\"className\":\"banner-section\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover alignfull is-light banner-section\" style=\"min-height:500px\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-white-background-color has-background-dim-100 has-background-dim\"></span><div class=\"wp-block-cover__inner-container\"><!-- wp:columns {\"className\":\"container\"} -->\n<div class=\"wp-block-columns container\"><!-- wp:column {\"verticalAlignment\":\"center\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center\"><!-- wp:paragraph {\"className\":\"slider-para\",\"style\":{\"typography\":{\"fontSize\":\"20px\"},\"color\":{\"text\":\"#ffb936\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#ffb936\"}}}}} -->\n<p class=\"slider-para has-text-color has-link-color\" style=\"color:#ffb936;font-size:20px\">Welcome to Street Savories</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":1,\"style\":{\"typography\":{\"fontSize\":\"38px\"},\"color\":{\"text\":\"#222e39\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#222e39\"}}}}} -->\n<h1 class=\"wp-block-heading has-text-color has-link-color\" style=\"color:#222e39;font-size:38px\">Delicious Delights on the Move</h1>\n<!-- /wp:heading -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"className\":\"banner-btn\",\"style\":{\"typography\":{\"fontSize\":\"12px\"},\"border\":{\"radius\":\"0px\"},\"color\":{\"text\":\"#222e39\",\"background\":\"#ffb936\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#222e39\"}}}}} -->\n<div class=\"wp-block-button has-custom-font-size banner-btn\" style=\"font-size:12px\"><a class=\"wp-block-button__link has-text-color has-background has-link-color wp-element-button\" style=\"border-radius:0px;color:#222e39;background-color:#ffb936\">Online Order</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons -->\n\n<!-- wp:gallery {\"linkTo\":\"none\",\"align\":\"left\",\"className\":\"product-gallary \"} -->\n<figure class=\"wp-block-gallery alignleft has-nested-images columns-default is-cropped product-gallary\"><!-- wp:image {\"id\":84,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/product1.png\" alt=\"\" class=\"wp-image-84\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:image {\"id\":83,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/product2.png\" alt=\"\" class=\"wp-image-83\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:image {\"id\":82,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/product3.png\" alt=\"\" class=\"wp-image-82\"/></figure>\n<!-- /wp:image --></figure>\n<!-- /wp:gallery --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"banner-right position-relative\"} -->\n<div class=\"wp-block-column banner-right position-relative\"><!-- wp:group {\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\"}} -->\n<div class=\"wp-block-group\"><!-- wp:image {\"id\":54,\"width\":\"auto\",\"height\":\"110px\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"position-absolute leaf-1\"} -->\n<figure class=\"wp-block-image size-full is-resized position-absolute leaf-1\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/leafe1.png\" alt=\"\" class=\"wp-image-54\" style=\"width:auto;height:110px\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:image {\"id\":56,\"width\":\"100px\",\"height\":\"100px\",\"scale\":\"cover\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"position-absolute king\"} -->\n<figure class=\"wp-block-image size-full is-resized position-absolute king\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/King.png\" alt=\"\" class=\"wp-image-56\" style=\"object-fit:cover;width:100px;height:100px\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:group -->\n\n<!-- wp:image {\"id\":52,\"width\":\"350px\",\"height\":\"350px\",\"scale\":\"cover\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"product-img\"} -->\n<figure class=\"wp-block-image size-full is-resized product-img\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/product4.png\" alt=\"\" class=\"wp-image-52\" style=\"object-fit:cover;width:350px;height:350px\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:image {\"id\":58,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"leaf-2 position-absolute\"} -->\n<figure class=\"wp-block-image size-full leaf-2 position-absolute\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/leafe2.png\" alt=\"\" class=\"wp-image-58\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover -->",
		)
	);

	register_block_pattern(
		'street-food-truck/about-us-section',
		array(
			'title'      => __( 'About Us Section', 'street-food-truck' ),
			'categories' => array( 'street-food-truck' ),
			'content'    => "<!-- wp:columns {\"metadata\":{\"categories\":[\"street-food-truck\"],\"patternName\":\"street-food-truck/about-us-section\",\"name\":\"About Us Section\"},\"align\":\"full\",\"className\":\"about-us-section\",\"style\":{\"color\":{\"background\":\"#222e39\"}}} -->\n<div class=\"wp-block-columns alignfull about-us-section has-background\" style=\"background-color:#222e39\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"textAlign\":\"center\",\"className\":\"mt-5 about-text \",\"style\":{\"typography\":{\"fontSize\":\"25px\"},\"color\":{\"text\":\"#ffb936\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#ffb936\"}}}}} -->\n<h2 class=\"wp-block-heading has-text-align-center mt-5 about-text has-text-color has-link-color\" style=\"color:#ffb936;font-size:25px\">About US</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\"} -->\n<p class=\"has-text-align-center has-white-color has-text-color has-link-color\" style=\"font-size:15px\">Discover our diverse culinary offerings on wheels today.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"className\":\"container about-cols\"} -->\n<div class=\"wp-block-columns container about-cols\"><!-- wp:column {\"className\":\"col-1 col-lg-4 col-md-4 col-12 p-0\"} -->\n<div class=\"wp-block-column col-1 col-lg-4 col-md-4 col-12 p-0\"><!-- wp:image {\"id\":103,\"width\":\"auto\",\"height\":\"450px\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"m-0\"} -->\n<figure class=\"wp-block-image size-full is-resized m-0\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/about-us1.png\" alt=\"\" class=\"wp-image-103\" style=\"width:auto;height:450px\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"about-content mb-4 p-3 col-lg-4 col-md-4 col-12 mb-0\",\"style\":{\"color\":{\"background\":\"#ffb936\"}}} -->\n<div class=\"wp-block-column about-content mb-4 p-3 col-lg-4 col-md-4 col-12 mb-0 has-background\" style=\"background-color:#ffb936\"><!-- wp:heading {\"style\":{\"typography\":{\"fontSize\":\"20px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<h2 class=\"wp-block-heading has-black-color has-text-color has-link-color\" style=\"font-size:20px\">Our Story</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"className\":\"para-1\",\"style\":{\"typography\":{\"fontSize\":\"14px\"},\"color\":{\"text\":\"#222e39\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#222e39\"}}}}} -->\n<p class=\"para-1 has-text-color has-link-color\" style=\"color:#222e39;font-size:14px\">Welcome to Street Savories, where we bring culinary adventures to your fingertips! We are a passionate team of food enthusiasts dedicated to redefining street food experiences. Our journey began with a vision to create a mobile culinary haven, offering a fusion of flavors that tantalize your taste buds and ignite your senses. Welcome to Street Savories, where we bring culinary adventures to your fingertips! We are a passionate team of food enthusiasts dedicated to redefining street food experiences. Our journey began with a vision to create a mobile culinary haven, offering a fusion of flavors that tantalize your taste buds and ignite your senses.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"className\":\"para-2\",\"style\":{\"typography\":{\"fontSize\":\"14px\"},\"color\":{\"text\":\"#222e39\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#222e39\"}}}}} -->\n<p class=\"para-2 has-text-color has-link-color\" style=\"color:#222e39;font-size:14px\">At Street Savories, we believe that great food transcends boundaries. Our diverse menu showcases a symphony of global cuisines.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"className\":\"p-2 review-sec\",\"style\":{\"color\":{\"background\":\"#222e39\"}}} -->\n<div class=\"wp-block-columns p-2 review-sec has-background\" style=\"background-color:#222e39\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"align\":\"center\",\"className\":\"my-2 count\",\"style\":{\"typography\":{\"fontSize\":\"20px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\"} -->\n<p class=\"has-text-align-center my-2 count has-white-color has-text-color has-link-color\" style=\"font-size:20px\">60K</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"className\":\"count-text\",\"style\":{\"typography\":{\"fontSize\":\"14px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\"} -->\n<p class=\"has-text-align-center count-text has-white-color has-text-color has-link-color\" style=\"font-size:14px\">Happy Customers</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"align\":\"center\",\"className\":\"my-2 count\",\"style\":{\"typography\":{\"fontSize\":\"20px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\"} -->\n<p class=\"has-text-align-center my-2 count has-white-color has-text-color has-link-color\" style=\"font-size:20px\">60</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"className\":\"count-text\",\"style\":{\"typography\":{\"fontSize\":\"14px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\"} -->\n<p class=\"has-text-align-center count-text has-white-color has-text-color has-link-color\" style=\"font-size:14px\">Years of experience</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"align\":\"center\",\"className\":\"my-2 count\",\"style\":{\"typography\":{\"fontSize\":\"20px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\"} -->\n<p class=\"has-text-align-center my-2 count has-white-color has-text-color has-link-color\" style=\"font-size:20px\">60</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"className\":\"count-text mb-0\",\"style\":{\"typography\":{\"fontSize\":\"14px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}}},\"textColor\":\"white\"} -->\n<p class=\"has-text-align-center count-text mb-0 has-white-color has-text-color has-link-color\" style=\"font-size:14px\">Servicec of food truck</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"col-2 col-lg-4 col-md-4 col-12 p-0\"} -->\n<div class=\"wp-block-column col-2 col-lg-4 col-md-4 col-12 p-0\"><!-- wp:image {\"id\":124,\"width\":\"auto\",\"height\":\"450px\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"m-0\"} -->\n<figure class=\"wp-block-image size-full is-resized m-0\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/about-us2.png\" alt=\"\" class=\"wp-image-124\" style=\"width:auto;height:450px\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->",
		)
	);
}