<?php
/**
 * Advance Education : Block Patterns
 *
 * @package  Advance Education 
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'advance-education',
		array( 'label' => __( ' Advance Education ', 'advance-education' ) )
	);
}


/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'advance-education/banner-section',
		array(
			'title'      => __( 'Banner Section', 'advance-education' ),
			'categories' => array( 'advance-education' ),
			'content'    => "<!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/images/banner.png\",\"id\":207,\"dimRatio\":50,\"overlayColor\":\"white\",\"isDark\":false,\"align\":\"full\",\"className\":\"banner-section\"} -->\n<div class=\"wp-block-cover alignfull is-light banner-section\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-white-background-color has-background-dim\"></span><img class=\"wp-block-cover__image-background wp-image-207\" 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 {\"width\":\"3%\"} -->\n<div class=\"wp-block-column\" style=\"flex-basis:3%\"></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"50%\",\"className\":\"banner-section-content mx-md-5 px-md-5\"} -->\n<div class=\"wp-block-column banner-section-content mx-md-5 px-md-5\" style=\"flex-basis:50%\"><!-- wp:heading {\"level\":1,\"style\":{\"typography\":{\"fontSize\":\"44px\"}}} -->\n<h1 style=\"font-size:44px\">LOREM IPSUM</h1>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"typography\":{\"fontSize\":\"16px\"},\"color\":{\"text\":\"#484c4c\"}}} -->\n<p class=\"has-text-color\" style=\"color:#484c4c;font-size:16px\">&nbsp;IS SIMPLY  DUMMY TEXT OF PRINTING Lorem Ipsum&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"textColor\":\"white\",\"style\":{\"color\":{\"background\":\"var(--primary-color)\"},\"border\":{\"radius\":\"0px\"}},\"className\":\"banner-section-btn \",\"fontSize\":\"small\"} -->\n<div class=\"wp-block-button has-custom-font-size banner-section-btn has-small-font-size\"><a class=\"wp-block-button__link has-white-color has-text-color has-background\" style=\"border-radius:0px;background-color:var(--primary-color)\">READ MORE</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"25%\"} -->\n<div class=\"wp-block-column\" style=\"flex-basis:25%\"></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover -->",
		)
	);

	register_block_pattern(
		'advance-education/courses-section',
		array(
			'title'      => __( 'courses-section', 'advance-education' ),
			'categories' => array( 'advance-education' ),
			'content'    => "<!-- wp:group {\"className\":\"courses-section\"} -->\n<div class=\"wp-block-group courses-section\"><!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"32px\",\"fontStyle\":\"normal\",\"fontWeight\":\"600\"},\"color\":{\"text\":\"#232323\"}},\"className\":\" mb-3 mt-3 position-relative\"} -->\n<h2 class=\"has-text-align-center mb-3 mt-3 position-relative has-text-color\" style=\"color:#232323;font-size:32px;font-style:normal;font-weight:600\">POPULAR HEADING</h2>\n<!-- /wp:heading -->\n\n<!-- wp:columns {\"className\":\"course-boxes\"} -->\n<div class=\"wp-block-columns course-boxes\"><!-- wp:column {\"className\":\"course-box position-relative\"} -->\n<div class=\"wp-block-column course-box position-relative\"><!-- wp:image {\"id\":222,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"mb-0\"} -->\n<figure class=\"wp-block-image size-full mb-0\"><img src=\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/images/Course1.png\" alt=\"\" class=\"wp-image-222\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:group {\"backgroundColor\":\"white\",\"className\":\"course-content-box  p-lg-2   px-1\"} -->\n<div class=\"wp-block-group course-content-box p-lg-2 px-1 has-white-background-color has-background\"><!-- wp:heading {\"level\":3,\"textColor\":\"black\",\"fontSize\":\"medium\"} -->\n<h3 class=\"has-black-color has-text-color has-medium-font-size\">Courses Title 1</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#3a4d5e\"},\"typography\":{\"fontSize\":\"12px\"}},\"className\":\" my-md-1 my-lg-3 \"} -->\n<p class=\"my-md-1 my-lg-3 has-text-color\" style=\"color:#3a4d5e;font-size:12px\">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 {\"backgroundColor\":\"white\",\"style\":{\"border\":{\"radius\":\"0px\"},\"typography\":{\"fontSize\":\"12px\"},\"color\":{\"text\":\"var(--primary-color)\"}},\"className\":\"course-box-btn mb-3 mb-md-1 mb-lg-3 is-style-fill\"} -->\n<div class=\"wp-block-button has-custom-font-size course-box-btn mb-3 mb-md-1 mb-lg-3 is-style-fill\" style=\"font-size:12px\"><a class=\"wp-block-button__link has-white-background-color has-text-color has-background\" style=\"border-radius:0px;color:var(--primary-color)\">APPLY NOW</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:group --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"course-box  position-relative\"} -->\n<div class=\"wp-block-column course-box  position-relative\"><!-- wp:image {\"id\":223,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"mb-0\"} -->\n<figure class=\"wp-block-image size-full mb-0\"><img src=\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/images/Course2.png\" alt=\"\" class=\"wp-image-223\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:group {\"backgroundColor\":\"white\",\"className\":\"course-content-box  p-lg-2 px-1\"} -->\n<div class=\"wp-block-group course-content-box p-lg-2 px-1 has-white-background-color has-background\"><!-- wp:heading {\"level\":3,\"textColor\":\"black\",\"fontSize\":\"medium\"} -->\n<h3 class=\"has-black-color has-text-color has-medium-font-size\">Courses Title 2</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#3a4d5e\"},\"typography\":{\"fontSize\":\"12px\"}},\"className\":\" my-md-1 my-lg-3 \"} -->\n<p class=\"my-md-1 my-lg-3 has-text-color\" style=\"color:#3a4d5e;font-size:12px\">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 {\"backgroundColor\":\"white\",\"style\":{\"border\":{\"radius\":\"0px\"},\"typography\":{\"fontSize\":\"12px\"},\"color\":{\"text\":\"var(--primary-color)\"}},\"className\":\"course-box-btn mb-3 mb-md-1 mb-lg-3 is-style-fill\"} -->\n<div class=\"wp-block-button has-custom-font-size course-box-btn mb-3 mb-md-1 mb-lg-3 is-style-fill\" style=\"font-size:12px\"><a class=\"wp-block-button__link has-white-background-color has-text-color has-background\" style=\"border-radius:0px;color:var(--primary-color)\">APPLY NOW</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:group --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"course-box  position-relative\"} -->\n<div class=\"wp-block-column course-box  position-relative\"><!-- wp:image {\"id\":224,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"mb-0\"} -->\n<figure class=\"wp-block-image size-full mb-0\"><img src=\"" . esc_url(get_template_directory_uri()) . "/theme-block-pattern/images/Course3.png\" alt=\"\" class=\"wp-image-224\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:group {\"backgroundColor\":\"white\",\"className\":\"course-content-box  p-lg-2 px-1\"} -->\n<div class=\"wp-block-group course-content-box p-lg-2 px-1 has-white-background-color has-background\"><!-- wp:heading {\"level\":3,\"textColor\":\"black\",\"fontSize\":\"medium\"} -->\n<h3 class=\"has-black-color has-text-color has-medium-font-size\">Courses Title 3</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"style\":{\"color\":{\"text\":\"#3a4d5e\"},\"typography\":{\"fontSize\":\"12px\"}},\"className\":\" my-md-1 my-lg-3 \"} -->\n<p class=\"my-md-1 my-lg-3 has-text-color\" style=\"color:#3a4d5e;font-size:12px\">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 {\"backgroundColor\":\"white\",\"style\":{\"border\":{\"radius\":\"0px\"},\"typography\":{\"fontSize\":\"12px\"},\"color\":{\"text\":\"var(--primary-color)\"}},\"className\":\"course-box-btn mb-3 mb-md-1 mb-lg-3 is-style-fill\"} -->\n<div class=\"wp-block-button has-custom-font-size course-box-btn mb-3 mb-md-1 mb-lg-3 is-style-fill\" style=\"font-size:12px\"><a class=\"wp-block-button__link has-white-background-color has-text-color has-background\" style=\"border-radius:0px;color:var(--primary-color)\">APPLY NOW</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:group --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group -->",
		)
	);
}