<?php 
/**
 * Default Banner Section
 */

$evse_charging_dock_plugins_list = get_option('active_plugins');
$evse_charging_dock_essential_blocks_plugin = 'wpzoom-video-popup-block/wpzoom-video-popup-block.php';
$evse_charging_dock_results = in_array($evse_charging_dock_essential_blocks_plugin, $evse_charging_dock_plugins_list) ;

if ($evse_charging_dock_results) {

return array(
	'title'      => esc_html__( 'Banner Section', 'evse-charging-dock' ),
	'categories' => array( 'evse-charging-dock', 'Banner Section' ),
	'content'    => '<!-- wp:group {"className":"main-banner","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"}},"dimensions":{"minHeight":""}},"layout":{"type":"default"}} -->
<div class="wp-block-group main-banner" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:columns {"verticalAlignment":"center","className":"banner-boxes","style":{"spacing":{"blockGap":{"top":"0px","left":"0px"},"padding":{"right":"0px","left":"0px","top":"0px","bottom":"0px"}}},"backgroundColor":"secondary"} -->
<div class="wp-block-columns are-vertically-aligned-center banner-boxes has-secondary-background-color has-background" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:column {"verticalAlignment":"center","width":"28%","className":"banner-left","style":{"spacing":{"padding":{"left":"10%","top":"10%"}}}} -->
<div class="wp-block-column is-vertically-aligned-center banner-left" style="padding-top:10%;padding-left:10%;flex-basis:28%"><!-- wp:group {"className":"banner-content","layout":{"type":"default"}} -->
<div class="wp-block-group banner-content"><!-- wp:paragraph {"className":"banner-sub-title","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"typography":{"fontSize":"15px","textTransform":"capitalize","fontStyle":"normal","fontWeight":"500"},"spacing":{"padding":{"left":"50px"}}},"textColor":"background"} -->
<p class="banner-sub-title has-background-color has-text-color has-link-color" style="padding-left:50px;font-size:15px;font-style:normal;font-weight:500;text-transform:capitalize">'. esc_html__('energizing a sustainable tomorrow','evse-charging-dock').'</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"className":"banner-main-title","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"typography":{"textTransform":"capitalize"},"spacing":{"margin":{"top":"15px"}}},"textColor":"white"} -->
<h2 class="wp-block-heading banner-main-title has-white-color has-text-color has-link-color" style="margin-top:15px;text-transform:capitalize">'. esc_html__('unleashing sustainable energy solutions','evse-charging-dock').'</h2>
<!-- /wp:heading -->

<!-- wp:buttons {"className":"banner-btn","style":{"spacing":{"margin":{"top":"30px"}}}} -->
<div class="wp-block-buttons banner-btn" style="margin-top:30px"><!-- wp:button {"backgroundColor":"background","textColor":"white","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"border":{"radius":{"topLeft":"0px","topRight":"0px","bottomLeft":"0px","bottomRight":"0px"}},"typography":{"textTransform":"capitalize","fontSize":"15px"},"spacing":{"padding":{"left":"30px","right":"30px","top":"10px","bottom":"10px"}}}} -->
<div class="wp-block-button"><a class="wp-block-button__link has-white-color has-background-background-color has-text-color has-background has-link-color has-custom-font-size wp-element-button" href="#" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-left-radius:0px;border-bottom-right-radius:0px;padding-top:10px;padding-right:30px;padding-bottom:10px;padding-left:30px;font-size:15px;text-transform:capitalize">'. esc_html__('learn more','evse-charging-dock').'</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"center","width":"72%","className":"banner-right"} -->
<div class="wp-block-column is-vertically-aligned-center banner-right" style="flex-basis:72%"><!-- wp:cover {"url":"' . esc_url( get_theme_file_uri( '/assets/images/banner-img.png' ) ) .'","id":7,"dimRatio":50,"overlayColor":"background-two","isUserOverlayColor":true,"minHeight":800,"sizeSlug":"full","className":"banner-img","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"default"}} -->
<div class="wp-block-cover banner-img" style="margin-top:0px;margin-bottom:0px;min-height:800px"><img class="wp-block-cover__image-background wp-image-7 size-full" alt="" src="' . esc_url( get_theme_file_uri( '/assets/images/banner-img.png' ) ) .'" data-object-fit="cover"/><span aria-hidden="true" class="wp-block-cover__background has-background-two-background-color has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:wpzoom-video-popup-block/block {"url":"https://www.youtube.com/embed/D0UnqGm_miA?si=qrPbUeAJk5iOSmOp","text":"Play Video","icon":4,"className":"banner-video","style":{"typography":{"fontSize":"18px","fontStyle":"normal","fontWeight":"500"},"spacing":{"padding":{"top":"10%"}}},"fontFamily":"evse-charging-dock-dm-sans"} -->
<a class="wp-block-wpzoom-video-popup-block-block wpzoom-video-popup-block banner-video has-evse-charging-dock-dm-sans-font-family" href="https://www.youtube.com/embed/D0UnqGm_miA?si=qrPbUeAJk5iOSmOp" style="padding-top:10%;font-size:18px;font-style:normal;font-weight:500" data-popup-width="900px"><span class="wpzoom-video-popup-block_icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" aria-hidden="true"><path d="m2 28.221v-24.522c0-2.8431 2.9657-4.6201 5.2336-3.1985l20.935 12.261c2.4424 1.4216 2.4424 5.1531 0 6.5747l-20.935 12.261c-2.2679 1.2439-5.2336-0.53308-5.2336-3.3762z" fill="currentColor"></path></svg></span>'. esc_html__('Play Video','evse-charging-dock').'</a>
<!-- /wp:wpzoom-video-popup-block/block --></div></div>
<!-- /wp:cover --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->',
);

} else {

return array(
	'title'      => esc_html__( 'Banner Section', 'evse-charging-dock' ),
	'categories' => array( 'evse-charging-dock', 'Banner Section' ),
	'content'    => '<!-- wp:group {"className":"main-banner","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"}},"dimensions":{"minHeight":""}},"layout":{"type":"default"}} -->
<div class="wp-block-group main-banner" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:columns {"verticalAlignment":"center","className":"banner-boxes","style":{"spacing":{"blockGap":{"top":"0px","left":"0px"},"padding":{"right":"0px","left":"0px","top":"0px","bottom":"0px"}}},"backgroundColor":"secondary"} -->
<div class="wp-block-columns are-vertically-aligned-center banner-boxes has-secondary-background-color has-background" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:column {"verticalAlignment":"center","width":"28%","className":"banner-left","style":{"spacing":{"padding":{"left":"10%","top":"10%"}}}} -->
<div class="wp-block-column is-vertically-aligned-center banner-left" style="padding-top:10%;padding-left:10%;flex-basis:28%"><!-- wp:group {"className":"banner-content","layout":{"type":"default"}} -->
<div class="wp-block-group banner-content"><!-- wp:paragraph {"className":"banner-sub-title","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"typography":{"fontSize":"15px","textTransform":"capitalize","fontStyle":"normal","fontWeight":"500"},"spacing":{"padding":{"left":"50px"}}},"textColor":"background"} -->
<p class="banner-sub-title has-background-color has-text-color has-link-color" style="padding-left:50px;font-size:15px;font-style:normal;font-weight:500;text-transform:capitalize">'. esc_html__('energizing a sustainable tomorrow','evse-charging-dock').'</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"className":"banner-main-title","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"typography":{"textTransform":"capitalize"},"spacing":{"margin":{"top":"15px"}}},"textColor":"white"} -->
<h2 class="wp-block-heading banner-main-title has-white-color has-text-color has-link-color" style="margin-top:15px;text-transform:capitalize">'. esc_html__('unleashing sustainable energy solutions','evse-charging-dock').'</h2>
<!-- /wp:heading -->

<!-- wp:buttons {"className":"banner-btn","style":{"spacing":{"margin":{"top":"30px"}}}} -->
<div class="wp-block-buttons banner-btn" style="margin-top:30px"><!-- wp:button {"backgroundColor":"background","textColor":"white","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"border":{"radius":{"topLeft":"0px","topRight":"0px","bottomLeft":"0px","bottomRight":"0px"}},"typography":{"textTransform":"capitalize","fontSize":"15px"},"spacing":{"padding":{"left":"30px","right":"30px","top":"10px","bottom":"10px"}}}} -->
<div class="wp-block-button"><a class="wp-block-button__link has-white-color has-background-background-color has-text-color has-background has-link-color has-custom-font-size wp-element-button" href="#" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-left-radius:0px;border-bottom-right-radius:0px;padding-top:10px;padding-right:30px;padding-bottom:10px;padding-left:30px;font-size:15px;text-transform:capitalize">'. esc_html__('learn more','evse-charging-dock').'</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"center","width":"72%","className":"banner-right"} -->
<div class="wp-block-column is-vertically-aligned-center banner-right" style="flex-basis:72%"><!-- wp:cover {"url":"' . esc_url( get_theme_file_uri( '/assets/images/banner-img.png' ) ) .'","id":7,"dimRatio":50,"overlayColor":"background-two","isUserOverlayColor":true,"minHeight":800,"sizeSlug":"full","className":"banner-img","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"default"}} -->
<div class="wp-block-cover banner-img" style="margin-top:0px;margin-bottom:0px;min-height:800px"><img class="wp-block-cover__image-background wp-image-7 size-full" alt="" src="' . esc_url( get_theme_file_uri( '/assets/images/banner-img.png' ) ) .'" data-object-fit="cover"/><span aria-hidden="true" class="wp-block-cover__background has-background-two-background-color has-background-dim"></span><div class="wp-block-cover__inner-container"></div></div>
<!-- /wp:cover --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->',
);

}