<?php
/**
 * Summer Camp: Block Patterns
 *
 * @package Summer Camp
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'summer-camp',
		array( 'label' => __( 'Summer Camp', 'summer-camp' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'summer-camp/banner-section',
		array(
			'title'      => __( 'Banner Section', 'summer-camp' ),
			'categories' => array( 'summer-camp' ),
			'content'    => "<!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/slider.png\",\"id\":258,\"dimRatio\":90,\"customOverlayColor\":\"#00000000\",\"isUserOverlayColor\":true,\"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-background-dim-90 has-background-dim\" style=\"background-color:#00000000\"></span><img class=\"wp-block-cover__image-background wp-image-258\" 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 {\"className\":\"position-absolute slider-content\"} -->\n<div class=\"wp-block-column position-absolute slider-content\"><!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\"}},\"className\":\"welcome-heading position-relative\"} -->\n<p class=\"welcome-heading position-relative\" style=\"font-size:15px\">Welcome To</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":1,\"style\":{\"typography\":{\"fontSize\":\"50px\"}}} -->\n<h1 class=\"wp-block-heading\" style=\"font-size:50px\">MAKE YOUR SUMMER UNFORGOTABLE</h1>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"}},\"className\":\"slider-para\"} -->\n<p class=\"slider-para\" style=\"font-size:16px\">Lorem Ipsum&nbsp;is simply dummy text of the printing and typesetting industry.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"style\":{\"color\":{\"background\":\"#ff9b23\"},\"typography\":{\"fontSize\":\"15px\"},\"border\":{\"radius\":\"30px\"}}} -->\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:15px\"><a class=\"wp-block-button__link has-background wp-element-button\" style=\"border-radius:30px;background-color:#ff9b23\">Discover More</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(
		'summer-camp/camp-section',
		array(
			'title'      => __( 'Camp Section', 'summer-camp' ),
			'categories' => array( 'summer-camp' ),
			'content'    => "<!-- wp:columns {\"className\":\"camp-section mt-5\"} -->\n<div class=\"wp-block-columns camp-section mt-5\"><!-- wp:column {\"className\":\"position-relative\"} -->\n<div class=\"wp-block-column position-relative\"><!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#ff9b23\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#ff9b23\"}}}},\"className\":\"camp-heading\"} -->\n<p class=\"has-text-align-center camp-heading has-text-color has-link-color\" style=\"color:#ff9b23;font-size:15px\">Our Camp</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"level\":3,\"style\":{\"typography\":{\"fontSize\":\"28px\"}},\"className\":\"summer-heading\"} -->\n<h3 class=\"wp-block-heading has-text-align-center summer-heading\" style=\"font-size:28px\">HELLO SUMMER CAMP</h3>\n<!-- /wp:heading -->\n\n<!-- wp:columns {\"className\":\"camp-sec mt-3\"} -->\n<div class=\"wp-block-columns camp-sec mt-3\"><!-- wp:column {\"className\":\"col-lg-4  col-12\"} -->\n<div class=\"wp-block-column col-lg-4  col-12\"><!-- wp:image {\"id\":286,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/camp1.png\" alt=\"\" class=\"wp-image-286\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:html -->\n<i class=\"fa-solid fa-angle-right\"></i>\n<!-- /wp:html -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"level\":4,\"style\":{\"typography\":{\"fontSize\":\"22px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<h4 class=\"wp-block-heading has-text-align-center has-black-color has-text-color has-link-color\" style=\"font-size:22px\">Mini Camp</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#505050\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#505050\"}}}}} -->\n<p class=\"has-text-align-center has-text-color has-link-color\" style=\"color:#505050;font-size:15px\">Lorem Ipsum&nbsp;is simply dummy text of the printing and typesetting industry.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"className\":\"px-2 py-2\"} -->\n<div class=\"wp-block-columns px-2 py-2\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#9495ad\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#9495ad\"}}}},\"className\":\"age\"} -->\n<h2 class=\"wp-block-heading has-text-align-center age has-text-color has-link-color\" style=\"color:#9495ad;font-size:15px\">Age</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#212529\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#212529\"}}}},\"className\":\"year\"} -->\n<p class=\"has-text-align-center year has-text-color has-link-color\" style=\"color:#212529;font-size:15px\">6 Years</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#9495ad\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#9495ad\"}}}},\"className\":\"age\"} -->\n<h2 class=\"wp-block-heading has-text-align-center age has-text-color has-link-color\" style=\"color:#9495ad;font-size:15px\">Size</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#212529\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#212529\"}}}},\"className\":\"year\"} -->\n<p class=\"has-text-align-center year has-text-color has-link-color\" style=\"color:#212529;font-size:15px\">20 Seats</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#9495ad\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#9495ad\"}}}},\"className\":\"age\"} -->\n<h2 class=\"wp-block-heading has-text-align-center age has-text-color has-link-color\" style=\"color:#9495ad;font-size:15px\">Price</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#212529\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#212529\"}}}},\"className\":\"year\"} -->\n<p class=\"has-text-align-center year has-text-color has-link-color\" style=\"color:#212529;font-size:15px\">$20</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"col-lg-4  col-12\"} -->\n<div class=\"wp-block-column col-lg-4  col-12\"><!-- wp:image {\"id\":306,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/camp2.png\" alt=\"\" class=\"wp-image-306\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:html -->\n<i class=\"fa-solid fa-angle-right\"></i>\n<!-- /wp:html -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"level\":4,\"style\":{\"typography\":{\"fontSize\":\"22px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<h4 class=\"wp-block-heading has-text-align-center has-black-color has-text-color has-link-color\" style=\"font-size:22px\">Traditional Camp</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#505050\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#505050\"}}}}} -->\n<p class=\"has-text-align-center has-text-color has-link-color\" style=\"color:#505050;font-size:15px\">Lorem Ipsum&nbsp;is simply dummy text of the printing and typesetting industry.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"className\":\"px-2 py-2\"} -->\n<div class=\"wp-block-columns px-2 py-2\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#9495ad\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#9495ad\"}}}},\"className\":\"age\"} -->\n<h2 class=\"wp-block-heading has-text-align-center age has-text-color has-link-color\" style=\"color:#9495ad;font-size:15px\">Age</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#212529\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#212529\"}}}},\"className\":\"year\"} -->\n<p class=\"has-text-align-center year has-text-color has-link-color\" style=\"color:#212529;font-size:15px\">6 Years</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#9495ad\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#9495ad\"}}}},\"className\":\"age\"} -->\n<h2 class=\"wp-block-heading has-text-align-center age has-text-color has-link-color\" style=\"color:#9495ad;font-size:15px\">Size</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#212529\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#212529\"}}}},\"className\":\"year\"} -->\n<p class=\"has-text-align-center year has-text-color has-link-color\" style=\"color:#212529;font-size:15px\">20 Seats</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#9495ad\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#9495ad\"}}}},\"className\":\"age\"} -->\n<h2 class=\"wp-block-heading has-text-align-center age has-text-color has-link-color\" style=\"color:#9495ad;font-size:15px\">Price</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#212529\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#212529\"}}}},\"className\":\"year\"} -->\n<p class=\"has-text-align-center year has-text-color has-link-color\" style=\"color:#212529;font-size:15px\">$20</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"col-lg-4  col-12\"} -->\n<div class=\"wp-block-column col-lg-4  col-12\"><!-- wp:image {\"id\":308,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/camp3.png\" alt=\"\" class=\"wp-image-308\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:html -->\n<i class=\"fa-solid fa-angle-right\"></i>\n<!-- /wp:html -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"level\":4,\"style\":{\"typography\":{\"fontSize\":\"22px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}}},\"textColor\":\"black\"} -->\n<h4 class=\"wp-block-heading has-text-align-center has-black-color has-text-color has-link-color\" style=\"font-size:22px\">International Trips</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#505050\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#505050\"}}}}} -->\n<p class=\"has-text-align-center has-text-color has-link-color\" style=\"color:#505050;font-size:15px\">Lorem Ipsum&nbsp;is simply dummy text of the printing and typesetting industry.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"className\":\"px-2 py-2\"} -->\n<div class=\"wp-block-columns px-2 py-2\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#9495ad\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#9495ad\"}}}},\"className\":\"age\"} -->\n<h2 class=\"wp-block-heading has-text-align-center age has-text-color has-link-color\" style=\"color:#9495ad;font-size:15px\">Age</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#212529\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#212529\"}}}},\"className\":\"year\"} -->\n<p class=\"has-text-align-center year has-text-color has-link-color\" style=\"color:#212529;font-size:15px\">6 Years</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#9495ad\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#9495ad\"}}}},\"className\":\"age\"} -->\n<h2 class=\"wp-block-heading has-text-align-center age has-text-color has-link-color\" style=\"color:#9495ad;font-size:15px\">Size</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#212529\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#212529\"}}}},\"className\":\"year\"} -->\n<p class=\"has-text-align-center year has-text-color has-link-color\" style=\"color:#212529;font-size:15px\">20 Seats</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#9495ad\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#9495ad\"}}}},\"className\":\"age\"} -->\n<h2 class=\"wp-block-heading has-text-align-center age has-text-color has-link-color\" style=\"color:#9495ad;font-size:15px\">Price</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"15px\"},\"color\":{\"text\":\"#212529\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#212529\"}}}},\"className\":\"year\"} -->\n<p class=\"has-text-align-center year has-text-color has-link-color\" style=\"color:#212529;font-size:15px\">$20</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->",
		)
	);
}