<?php
/**
 * Vw Project Management: Block Patterns
 *
 * @package Vw Project Management
 * @since   1.0.0
 */

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

	register_block_pattern_category(
		'vw-project-management',
		array( 'label' => __( 'Vw Project Management', 'vw-project-management' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'vw-project-management/banner-section',
		array(
			'title'      => __( 'Banner Section', 'vw-project-management' ),
			'categories' => array( 'vw-project-management' ),
			'content'    => "<!-- wp:group {\"metadata\":{\"categories\":[\"vw-project-management\"],\"patternName\":\"vw-project-management/banner-section\",\"name\":\"Banner Section\"},\"align\":\"full\",\"className\":\"project-banner\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group alignfull project-banner\"><!-- wp:cover {\"url\":\"".esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/banner-bg.png\",\"id\":345,\"dimRatio\":50,\"customOverlayColor\":\"#161616\",\"isUserOverlayColor\":false,\"sizeSlug\":\"full\",\"className\":\"inner-banner\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover inner-banner\"><img class=\"wp-block-cover__image-background wp-image-345 size-full\" alt=\"\" src=\"".esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/banner-bg.png\" data-object-fit=\"cover\"/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\" style=\"background-color:#161616\"></span><div class=\"wp-block-cover__inner-container\"><!-- wp:heading {\"textAlign\":\"center\",\"className\":\"banner-heading\"} -->\n<h2 class=\"wp-block-heading has-text-align-center banner-heading\">Easy Way To Manage Your Project<br></h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"className\":\"banner-para\"} -->\n<p class=\"has-text-align-center banner-para\">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer .</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:columns {\"verticalAlignment\":\"center\",\"className\":\"project-maincolumn\"} -->\n<div class=\"wp-block-columns are-vertically-aligned-center project-maincolumn\"><!-- wp:column {\"verticalAlignment\":\"center\",\"className\":\"project-column1\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center project-column1\"><!-- wp:image {\"id\":516,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"project-column1img\"} -->\n<figure class=\"wp-block-image size-full project-column1img\"><img src=\"".esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/progressimg.png\" alt=\"\" class=\"wp-image-516\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:cover {\"url\":\"".esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/video-bg.png\",\"id\":537,\"dimRatio\":0,\"customOverlayColor\":\"#ada9a7\",\"isUserOverlayColor\":false,\"minHeight\":140,\"isDark\":false,\"sizeSlug\":\"full\",\"className\":\"banner-videoimg\",\"fontSize\":\"small\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover is-light banner-videoimg has-small-font-size\" style=\"min-height:140px\"><img class=\"wp-block-cover__image-background wp-image-537 size-full\" alt=\"\" src=\"".esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/video-bg.png\" data-object-fit=\"cover\"/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\" style=\"background-color:#ada9a7\"></span><div class=\"wp-block-cover__inner-container\"><!-- wp:buttons {\"className\":\"youtubeimg\",\"style\":{\"typography\":{\"fontSize\":\"10px\"}}} -->\n<div class=\"wp-block-buttons has-custom-font-size youtubeimg\" style=\"font-size:10px\"><!-- wp:button {\"className\":\" youtubebtn\"} -->\n<div class=\"wp-block-button  youtubebtn\"><a class=\"wp-block-button__link wp-element-button\"><img class=\"wp-image-547\" style=\"width: 40px;\" src=\"".esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/youtubeimg.png\" alt=\"\"></a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"center\",\"className\":\"banner-col2img\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center banner-col2img\"><!-- wp:image {\"id\":357,\"scale\":\"cover\",\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"banner-column2img\"} -->\n<figure class=\"wp-block-image size-full banner-column2img\"><img src=\"".esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/middle-img.png\" alt=\"\" class=\"wp-image-357\" style=\"object-fit:cover\"/></figure>\n<!-- /wp:image --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"center\",\"className\":\"banner-column3\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center banner-column3\"><!-- wp:image {\"id\":359,\"sizeSlug\":\"full\",\"linkDestination\":\"none\",\"className\":\"graph-img\"} -->\n<figure class=\"wp-block-image size-full graph-img\"><img src=\"".esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/graph-img.png\" alt=\"\" class=\"wp-image-359\"/></figure>\n<!-- /wp:image -->\n\n<!-- wp:group {\"className\":\"custom-section1\",\"style\":{\"layout\":{\"selfStretch\":\"fit\",\"flexSize\":null},\"spacing\":{\"padding\":{\"top\":\"0\",\"bottom\":\"0\",\"left\":\"0\",\"right\":\"0\"},\"margin\":{\"top\":\"0\",\"bottom\":\"0\"},\"blockGap\":\"var:preset|spacing|30\"},\"dimensions\":{\"minHeight\":\"\"},\"typography\":{\"fontSize\":\"0px\"},\"border\":{\"radius\":\"10px\",\"width\":\"0px\",\"style\":\"none\"}},\"backgroundColor\":\"luminous-vivid-orange\",\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"justifyContent\":\"right\",\"verticalAlignment\":\"center\"}} -->\n<div class=\"wp-block-group custom-section1 has-luminous-vivid-orange-background-color has-background\" style=\"border-style:none;border-width:0px;border-radius:10px;margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;font-size:0px\"><!-- wp:buttons {\"layout\":{\"type\":\"flex\"}} -->\n<div class=\"wp-block-buttons\"><!-- wp:button {\"textAlign\":\"left\",\"style\":{\"typography\":{\"fontSize\":\"12px\"}}} -->\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-text-align-left has-custom-font-size wp-element-button\" style=\"font-size:12px\">Follow</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons -->\n\n<!-- wp:group {\"className\":\"custom-btn2\",\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\"}} -->\n<div class=\"wp-block-group custom-btn2\"><!-- wp:social-links {\"iconColor\":\"background\",\"iconColorValue\":\"#fff\",\"iconBackgroundColorValue\":\"#000000\",\"size\":\"has-small-icon-size\",\"className\":\"social-icon is-style-pill-shape\",\"style\":{\"spacing\":{\"blockGap\":{\"top\":\"0\",\"left\":\"var:preset|spacing|20\"},\"margin\":{\"top\":\"var:preset|spacing|30\",\"bottom\":\"var:preset|spacing|30\",\"left\":\"var:preset|spacing|20\",\"right\":\"var:preset|spacing|20\"}},\"border\":{\"radius\":\"0px\"}}} -->\n<ul class=\"wp-block-social-links has-small-icon-size has-icon-color has-icon-background-color social-icon is-style-pill-shape\" style=\"border-radius:0px;margin-top:var(--wp--preset--spacing--30);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--30);margin-left:var(--wp--preset--spacing--20)\"><!-- wp:social-link {\"url\":\"#\",\"service\":\"x\"} /-->\n\n<!-- wp:social-link {\"url\":\"#\",\"service\":\"facebook\"} /-->\n\n<!-- wp:social-link {\"url\":\"#\",\"service\":\"instagram\"} /-->\n\n<!-- wp:social-link {\"url\":\"#\",\"service\":\"linkedin\"} /--></ul>\n<!-- /wp:social-links --></div>\n<!-- /wp:group --></div>\n<!-- /wp:group --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:group -->",
		)
	);

	register_block_pattern(
		'vw-project-management/category-section',
		array(
			'title'      => __( 'Category Section ', 'vw-project-management' ),
			'categories' => array( 'vw-project-management' ),
			'content'    => "<!-- wp:group {\"metadata\":{\"categories\":[\"vw-project-management\"],\"patternName\":\"vw-project-management/category-section\",\"name\":\"Category Section \"},\"className\":\"project-section\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group project-section\"><!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column {\"className\":\"service-box1\"} -->\n<div class=\"wp-block-column service-box1\"><!-- wp:paragraph {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"#fe6726\"}}},\"color\":{\"text\":\"#fe6726\"},\"typography\":{\"fontSize\":\"18px\"}}} -->\n<p class=\"has-text-color has-link-color\" style=\"color:#fe6726;font-size:18px\">Our Services<br></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"className\":\"servicebox1-heading\"} -->\n<h2 class=\"wp-block-heading servicebox1-heading\">Project Management Services<br></h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"className\":\"service-box1para\"} -->\n<p class=\"service-box1para\">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons {\"className\":\"service-btn\",\"layout\":{\"type\":\"flex\",\"justifyContent\":\"space-between\"}} -->\n<div class=\"wp-block-buttons service-btn\"><!-- wp:button {\"className\":\"service-box1button\",\"style\":{\"color\":{\"background\":\"#151821\"},\"typography\":{\"fontSize\":\"15px\"}}} -->\n<div class=\"wp-block-button service-box1button\"><a class=\"wp-block-button__link has-background has-custom-font-size wp-element-button\" style=\"background-color:#151821;font-size:15px\">Explore More <img class=\"wp-image-137\" style=\"width: 150px;\" src=\"".esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/arrowimg.png\" alt=\"\"><img class=\"wp-image-134\" style=\"width: 150px;\" src=\"".esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/arrow.png\" alt=\"\"></a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"service-box2\"} -->\n<div class=\"wp-block-column service-box2\"><!-- wp:cover {\"url\":\"".esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/post-bg.png\",\"id\":393,\"dimRatio\":0,\"customOverlayColor\":\"#0c0c0c\",\"isUserOverlayColor\":false,\"minHeight\":250,\"sizeSlug\":\"full\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover\" style=\"min-height:250px\"><img class=\"wp-block-cover__image-background wp-image-393 size-full\" alt=\"\" src=\"".esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/post-bg.png\" data-object-fit=\"cover\"/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\" style=\"background-color:#0c0c0c\"></span><div class=\"wp-block-cover__inner-container\"><!-- wp:paragraph {\"align\":\"center\",\"className\":\"box-icon\",\"fontSize\":\"small\"} -->\n<p class=\"has-text-align-center box-icon has-small-font-size\"><i class=\"fa-solid fa-boxes-stacked\"></i></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"className\":\"sevice2-heading\"} -->\n<h2 class=\"wp-block-heading has-text-align-center sevice2-heading\">Team Collaboration Platform</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"className\":\"service2-para\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"#575b61\"}}},\"color\":{\"text\":\"#575b61\"}}} -->\n<p class=\"has-text-align-center service2-para has-text-color has-link-color\" style=\"color:#575b61\">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons {\"className\":\"service-btn\",\"layout\":{\"type\":\"flex\",\"justifyContent\":\"center\"}} -->\n<div class=\"wp-block-buttons service-btn\"><!-- wp:button {\"textAlign\":\"center\",\"className\":\"service2-btn\",\"style\":{\"border\":{\"radius\":\"0px\"}}} -->\n<div class=\"wp-block-button service2-btn\"><a class=\"wp-block-button__link has-text-align-center wp-element-button\" style=\"border-radius:0px\">Explore More</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"className\":\"service-box2\"} -->\n<div class=\"wp-block-column service-box2\"><!-- wp:cover {\"url\":\"".esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/post-bg.png\",\"id\":393,\"dimRatio\":0,\"customOverlayColor\":\"#0c0c0c\",\"isUserOverlayColor\":false,\"minHeight\":350,\"sizeSlug\":\"full\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover\" style=\"min-height:350px\"><img class=\"wp-block-cover__image-background wp-image-393 size-full\" alt=\"\" src=\"".esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/post-bg.png\" data-object-fit=\"cover\"/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\" style=\"background-color:#0c0c0c\"></span><div class=\"wp-block-cover__inner-container\"><!-- wp:paragraph {\"align\":\"center\",\"className\":\"box-icon\",\"fontSize\":\"small\"} -->\n<p class=\"has-text-align-center box-icon has-small-font-size\"><i class=\"fa-solid fa-comments\"></i></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"className\":\"sevice2-heading\"} -->\n<h2 class=\"wp-block-heading has-text-align-center sevice2-heading\">Team Collaboration Platform</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"className\":\"service2-para\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"#575b61\"}}},\"color\":{\"text\":\"#575b61\"}}} -->\n<p class=\"has-text-align-center service2-para has-text-color has-link-color\" style=\"color:#575b61\">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:buttons {\"className\":\"service-btn\",\"layout\":{\"type\":\"flex\",\"justifyContent\":\"center\"}} -->\n<div class=\"wp-block-buttons service-btn\"><!-- wp:button {\"textAlign\":\"center\",\"className\":\"service2-btn\",\"style\":{\"border\":{\"radius\":\"0px\"}}} -->\n<div class=\"wp-block-button service2-btn\"><a class=\"wp-block-button__link has-text-align-center wp-element-button\" style=\"border-radius:0px\">Explore More</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group -->",
		)
	);
}