<?php
/**
 * Movie Critic Review: Block Patterns
 *
 * @package Movie Critic Review
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'movie-critic-review',
		array( 'label' => __( 'Movie Critic Review', 'movie-critic-review' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'movie-critic-review/banner-section',
		array(
			'title'      => __( 'Banner Section', 'movie-critic-review' ),
			'categories' => array( 'movie-critic-review' ),
			'content'    => "<!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/banner.png\",\"id\":176,\"dimRatio\":50,\"minHeight\":600,\"align\":\"full\",\"className\":\"banner-section\"} -->\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\"></span><img class=\"wp-block-cover__image-background wp-image-176\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/banner.png\" data-object-fit=\"cover\"/><div class=\"wp-block-cover__inner-container\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"verticalAlignment\":\"top\",\"width\":\"66.66%\",\"className\":\"banner-content\"} -->\n<div class=\"wp-block-column is-vertically-aligned-top banner-content\" style=\"flex-basis:66.66%\"><!-- wp:paragraph {\"style\":{\"typography\":{\"textTransform\":\"capitalize\",\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"black\",\"className\":\"small-text\"} -->\n<p class=\"small-text has-black-color has-text-color\" style=\"font-size:14px;font-style:normal;font-weight:600;text-transform:capitalize\">popeye the sailor</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":1,\"style\":{\"typography\":{\"textTransform\":\"capitalize\",\"fontSize\":\"40px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"white\"} -->\n<h1 class=\"wp-block-heading has-white-color has-text-color\" style=\"font-size:40px;font-style:normal;font-weight:600;text-transform:capitalize\">thrilling adventure that will keep you on edge</h1>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"textTransform\":\"none\",\"fontSize\":\"16px\"}},\"textColor\":\"white\"} -->\n<p class=\"has-white-color has-text-color\" style=\"font-size:16px;text-transform:none\">On an outer space mission, Dr Ryan Stone, an engineer, and Matt Kowalski, an astronaut, are hit by high-speed space debris.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"textColor\":\"white\",\"style\":{\"typography\":{\"textTransform\":\"capitalize\",\"fontSize\":\"16px\"},\"border\":{\"radius\":\"0px\"}},\"className\":\"banner-btn\"} -->\n<div class=\"wp-block-button has-custom-font-size banner-btn\" style=\"font-size:16px;text-transform:capitalize\"><a class=\"wp-block-button__link has-white-color has-text-color wp-element-button\" style=\"border-radius:0px\">read reviews</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"33.33%\"} -->\n<div class=\"wp-block-column\" style=\"flex-basis:33.33%\"></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover -->",
		)
	);

	register_block_pattern(
		'movie-critic-review/services-section',
		array(
			'title'      => __( 'Featured Section', 'movie-critic-review' ),
			'categories' => array( 'movie-critic-review' ),
			'content'    => "<!-- wp:cover {\"overlayColor\":\"black\",\"align\":\"full\",\"className\":\"video-section my-3\"} -->\n<div class=\"wp-block-cover alignfull video-section my-3\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-black-background-color has-background-dim-100 has-background-dim\"></span><div class=\"wp-block-cover__inner-container\"><!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"typography\":{\"textTransform\":\"capitalize\",\"fontSize\":\"32px\"}},\"textColor\":\"white\"} -->\n<h2 class=\"wp-block-heading has-text-align-center has-white-color has-text-color\" style=\"font-size:32px;text-transform:capitalize\">Featured Today</h2>\n<!-- /wp:heading -->\n\n<!-- wp:separator {\"backgroundColor\":\"white\",\"className\":\"is-style-default\"} -->\n<hr class=\"wp-block-separator has-text-color has-white-color has-alpha-channel-opacity has-white-background-color has-background is-style-default\"/>\n<!-- /wp:separator -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"18px\"}}} -->\n<p class=\"has-text-align-center\" style=\"font-size:18px\">Lorem Ipsum has been the industry's standard dummy</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"align\":\"wide\",\"className\":\"video-posts mx-2\"} -->\n<div class=\"wp-block-columns alignwide video-posts mx-2\"><!-- wp:column {\"className\":\"featured-video\"} -->\n<div class=\"wp-block-column featured-video\"><!-- wp:columns {\"className\":\"featured-video\"} -->\n<div class=\"wp-block-columns featured-video\"><!-- wp:column {\"className\":\"post-content\"} -->\n<div class=\"wp-block-column post-content\"><!-- wp:image {\"id\":200,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/image1.png\" alt=\"\" class=\"wp-image-200\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:columns {\"className\":\"image-content\"} -->\n<div class=\"wp-block-columns image-content\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:buttons {\"layout\":{\"type\":\"flex\",\"verticalAlignment\":\"center\"}} -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"style\":{\"typography\":{\"textTransform\":\"capitalize\",\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\"}},\"className\":\"trailor-link\"} -->\n<div class=\"wp-block-button has-custom-font-size trailor-link\" style=\"font-size:14px;font-style:normal;font-weight:400;text-transform:capitalize\"><a class=\"wp-block-button__link wp-element-button\" href=\"\" target=\"_blank\" rel=\"noreferrer noopener\">watch trailor</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"align\":\"right\",\"textColor\":\"black\",\"className\":\"rating\"} -->\n<p class=\"has-text-align-right rating has-black-color has-text-color\">8.6</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":\"22px\",\"textTransform\":\"capitalize\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"white\"} -->\n<h3 class=\"wp-block-heading has-white-color has-text-color\" style=\"font-size:22px;font-style:normal;font-weight:600;text-transform:capitalize\">movie title here</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\",\"textTransform\":\"capitalize\"}}} -->\n<p style=\"font-size:15px;text-transform:capitalize\">director name . movie release here </p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"post-content\"} -->\n<div class=\"wp-block-column post-content\"><!-- wp:image {\"id\":201,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/image2.png\" alt=\"\" class=\"wp-image-201\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:columns {\"className\":\"image-content\"} -->\n<div class=\"wp-block-columns image-content\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"style\":{\"typography\":{\"textTransform\":\"capitalize\",\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\"}},\"className\":\"trailor-link\"} -->\n<div class=\"wp-block-button has-custom-font-size trailor-link\" style=\"font-size:14px;font-style:normal;font-weight:400;text-transform:capitalize\"><a class=\"wp-block-button__link wp-element-button\" href=\"\" target=\"_blank\" rel=\"noreferrer noopener\">watch trailor</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"align\":\"right\",\"textColor\":\"black\",\"className\":\"rating\"} -->\n<p class=\"has-text-align-right rating has-black-color has-text-color\">8.6</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":\"22px\",\"textTransform\":\"capitalize\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"white\"} -->\n<h3 class=\"wp-block-heading has-white-color has-text-color\" style=\"font-size:22px;font-style:normal;font-weight:600;text-transform:capitalize\">movie title here</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\",\"textTransform\":\"capitalize\"}}} -->\n<p style=\"font-size:15px;text-transform:capitalize\">director name . movie release here </p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"featured-video\"} -->\n<div class=\"wp-block-column featured-video\"><!-- wp:columns {\"className\":\"featured-video\"} -->\n<div class=\"wp-block-columns featured-video\"><!-- wp:column {\"className\":\"post-content\"} -->\n<div class=\"wp-block-column post-content\"><!-- wp:image {\"id\":202,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/image3.png\" alt=\"\" class=\"wp-image-202\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:columns {\"className\":\"image-content\"} -->\n<div class=\"wp-block-columns image-content\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"style\":{\"typography\":{\"textTransform\":\"capitalize\",\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\"}},\"className\":\"trailor-link\"} -->\n<div class=\"wp-block-button has-custom-font-size trailor-link\" style=\"font-size:14px;font-style:normal;font-weight:400;text-transform:capitalize\"><a class=\"wp-block-button__link wp-element-button\" href=\"\" target=\"_blank\" rel=\"noreferrer noopener\">watch trailor</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"align\":\"right\",\"textColor\":\"black\",\"className\":\"rating\"} -->\n<p class=\"has-text-align-right rating has-black-color has-text-color\">8.6</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":\"22px\",\"textTransform\":\"capitalize\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"white\"} -->\n<h3 class=\"wp-block-heading has-white-color has-text-color\" style=\"font-size:22px;font-style:normal;font-weight:600;text-transform:capitalize\">movie title here</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\",\"textTransform\":\"capitalize\"}}} -->\n<p style=\"font-size:15px;text-transform:capitalize\">director name . movie release here </p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"post-content\"} -->\n<div class=\"wp-block-column post-content\"><!-- wp:image {\"id\":203,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/image4.png\" alt=\"\" class=\"wp-image-203\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:columns {\"className\":\"image-content\"} -->\n<div class=\"wp-block-columns image-content\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"style\":{\"typography\":{\"textTransform\":\"capitalize\",\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\"}},\"className\":\"trailor-link\"} -->\n<div class=\"wp-block-button has-custom-font-size trailor-link\" style=\"font-size:14px;font-style:normal;font-weight:400;text-transform:capitalize\"><a class=\"wp-block-button__link wp-element-button\" href=\"\" target=\"_blank\" rel=\"noreferrer noopener\">watch trailor</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:paragraph {\"align\":\"right\",\"textColor\":\"black\",\"className\":\"rating\"} -->\n<p class=\"has-text-align-right rating has-black-color has-text-color\">8.6</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns -->\n\n<!-- wp:heading {\"level\":3,\"style\":{\"typography\":{\"fontSize\":\"22px\",\"textTransform\":\"capitalize\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"}},\"textColor\":\"white\"} -->\n<h3 class=\"wp-block-heading has-white-color has-text-color\" style=\"font-size:22px;font-style:normal;font-weight:600;text-transform:capitalize\">movie title here</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"15px\",\"textTransform\":\"capitalize\"}}} -->\n<p style=\"font-size:15px;text-transform:capitalize\">director name . movie release here </p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover -->",
		)
	);
}