<?php
/**
 * Title: Banner
 * Slug: online-magazine/banner
 * Categories: online-magazine, banner
 */

$online_magazine_image_url = trailingslashit(get_template_directory_uri());
$online_magazine_image = array(
    $online_magazine_image_url . 'images/banner.png',
    $online_magazine_image_url . 'images/banner1.png',
);
?>

<!-- wp:group {"className":"online-magazine-swiper alignfull","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"},"blockGap":"0"}},"layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group online-magazine-swiper alignfull" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:group {"className":"online-magazine-swiper-holder swiper-wrapper","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"right":"0","left":"0","top":"0","bottom":"0"}}},"layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group online-magazine-swiper-holder swiper-wrapper" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:cover {"url":"<?php echo esc_url($online_magazine_image[0]) ?>","id":65,"dimRatio":60,"isUserOverlayColor":true,"minHeight":650,"gradient":"banner-overlay","align":"full","className":"banner-image-cover swiper-slide","style":{"spacing":{"padding":{"right":"0px","left":"0px"}}},"layout":{"type":"constrained","contentSize":"80%"}} -->
<div class="wp-block-cover alignfull banner-image-cover swiper-slide" style="padding-right:0px;padding-left:0px;min-height:650px"><img class="wp-block-cover__image-background wp-image-65" alt="" src="<?php echo esc_url($online_magazine_image[0]) ?>" data-object-fit="cover"/><span aria-hidden="true" class="wp-block-cover__background has-background-dim-60 has-background-dim wp-block-cover__gradient-background has-background-gradient has-banner-overlay-gradient-background"></span><div class="wp-block-cover__inner-container"><!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column {"className":"wow zoomIn banner-text-box"} -->
<div class="wp-block-column wow zoomIn banner-text-box"><!-- wp:heading {"level":6,"style":{"typography":{"fontStyle":"normal","fontWeight":"500","fontSize":"20px"}}} -->
<h6 class="wp-block-heading" style="font-size:20px;font-style:normal;font-weight:500"><?php esc_html_e('HEADING HERE','online-magazine'); ?></h6>
<!-- /wp:heading -->

<!-- wp:heading {"style":{"typography":{"fontSize":"40px","fontStyle":"normal","fontWeight":"500"},"spacing":{"margin":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}}} -->
<h2 class="wp-block-heading" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--40);font-size:40px;font-style:normal;font-weight:500"><?php esc_html_e('Hot Takes &amp; Bold Opinions:','online-magazine'); ?><br><?php esc_html_e('The Stories You Can’t Ignore','online-magazine'); ?></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"className":"banner-excerpt","style":{"typography":{"fontSize":"14px","fontStyle":"normal","fontWeight":"600"},"spacing":{"margin":{"top":"0","bottom":"0"}}}} -->
<p class="banner-excerpt" style="margin-top:0;margin-bottom:0;font-size:14px;font-style:normal;font-weight:600"><?php esc_html_e('Donec ultrices, diam sed efficitur semper, diam lectus malesuada nisl, eget congue magna','online-magazine'); ?></p>
<!-- /wp:paragraph -->

<!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"base","textColor":"foreground","style":{"typography":{"fontSize":"14px","fontStyle":"normal","fontWeight":"600"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"spacing":{"padding":{"left":"var:preset|spacing|50","right":"var:preset|spacing|50","top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}}} -->
<div class="wp-block-button"><a class="wp-block-button__link has-foreground-color has-base-background-color has-text-color has-background has-link-color has-custom-font-size wp-element-button" href="#" style="padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--50);font-size:14px;font-style:normal;font-weight:600"><?php esc_html_e('Check Now','online-magazine'); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div></div>
<!-- /wp:cover -->

<!-- wp:cover {"url":"<?php echo esc_url($online_magazine_image[1]) ?>","id":10,"dimRatio":60,"isUserOverlayColor":true,"minHeight":650,"gradient":"banner-overlay","sizeSlug":"large","align":"full","className":"banner-image-cover swiper-slide","style":{"spacing":{"padding":{"right":"0px","left":"0px"}}},"layout":{"type":"constrained","contentSize":"80%"}} -->
<div class="wp-block-cover alignfull banner-image-cover swiper-slide" style="padding-right:0px;padding-left:0px;min-height:650px"><img class="wp-block-cover__image-background wp-image-10 size-large" alt="" src="<?php echo esc_url($online_magazine_image[1]) ?>" data-object-fit="cover"/><span aria-hidden="true" class="wp-block-cover__background has-background-dim-60 has-background-dim wp-block-cover__gradient-background has-background-gradient has-banner-overlay-gradient-background"></span><div class="wp-block-cover__inner-container"><!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column {"className":"wow zoomIn banner-text-box"} -->
<div class="wp-block-column wow zoomIn banner-text-box"><!-- wp:heading {"level":6,"style":{"typography":{"fontStyle":"normal","fontWeight":"500","fontSize":"20px"}}} -->
<h6 class="wp-block-heading" style="font-size:20px;font-style:normal;font-weight:500"><?php esc_html_e('HEADING HERE','online-magazine'); ?></h6>
<!-- /wp:heading -->

<!-- wp:heading {"style":{"typography":{"fontSize":"40px","fontStyle":"normal","fontWeight":"500"},"spacing":{"margin":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}}} -->
<h2 class="wp-block-heading" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--40);font-size:40px;font-style:normal;font-weight:500"><?php esc_html_e('Hot Takes &amp; Bold Opinions:','online-magazine'); ?><br><?php esc_html_e('The Stories You Can’t Ignore','online-magazine'); ?></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"className":"banner-excerpt","style":{"typography":{"fontSize":"14px","fontStyle":"normal","fontWeight":"600"},"spacing":{"margin":{"top":"0","bottom":"0"}}}} -->
<p class="banner-excerpt" style="margin-top:0;margin-bottom:0;font-size:14px;font-style:normal;font-weight:600"><?php esc_html_e('Donec ultrices, diam sed efficitur semper, diam lectus malesuada nisl, eget congue magna','online-magazine'); ?></p>
<!-- /wp:paragraph -->

<!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"base","textColor":"foreground","style":{"typography":{"fontSize":"14px","fontStyle":"normal","fontWeight":"600"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"spacing":{"padding":{"left":"var:preset|spacing|50","right":"var:preset|spacing|50","top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}}} -->
<div class="wp-block-button"><a class="wp-block-button__link has-foreground-color has-base-background-color has-text-color has-background has-link-color has-custom-font-size wp-element-button" href="#" style="padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--50);font-size:14px;font-style:normal;font-weight:600"><?php esc_html_e('Check Now','online-magazine'); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div></div>
<!-- /wp:cover -->

<!-- wp:cover {"url":"<?php echo esc_url($online_magazine_image[0]) ?>","id":65,"dimRatio":60,"isUserOverlayColor":true,"minHeight":650,"gradient":"banner-overlay","align":"full","className":"banner-image-cover swiper-slide","style":{"spacing":{"padding":{"right":"0px","left":"0px"}}},"layout":{"type":"constrained","contentSize":"80%"}} -->
<div class="wp-block-cover alignfull banner-image-cover swiper-slide" style="padding-right:0px;padding-left:0px;min-height:650px"><img class="wp-block-cover__image-background wp-image-65" alt="" src="<?php echo esc_url($online_magazine_image[0]) ?>" data-object-fit="cover"/><span aria-hidden="true" class="wp-block-cover__background has-background-dim-60 has-background-dim wp-block-cover__gradient-background has-background-gradient has-banner-overlay-gradient-background"></span><div class="wp-block-cover__inner-container"><!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column {"className":"wow zoomIn banner-text-box"} -->
<div class="wp-block-column wow zoomIn banner-text-box"><!-- wp:heading {"level":6,"style":{"typography":{"fontStyle":"normal","fontWeight":"500","fontSize":"20px"}}} -->
<h6 class="wp-block-heading" style="font-size:20px;font-style:normal;font-weight:500"><?php esc_html_e('HEADING HERE','online-magazine'); ?></h6>
<!-- /wp:heading -->

<!-- wp:heading {"style":{"typography":{"fontSize":"40px","fontStyle":"normal","fontWeight":"500"},"spacing":{"margin":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}}} -->
<h2 class="wp-block-heading" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--40);font-size:40px;font-style:normal;font-weight:500"><?php esc_html_e('Hot Takes &amp; Bold Opinions:','online-magazine'); ?><br><?php esc_html_e('The Stories You Can’t Ignore','online-magazine'); ?></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"className":"banner-excerpt","style":{"typography":{"fontSize":"14px","fontStyle":"normal","fontWeight":"600"},"spacing":{"margin":{"top":"0","bottom":"0"}}}} -->
<p class="banner-excerpt" style="margin-top:0;margin-bottom:0;font-size:14px;font-style:normal;font-weight:600"><?php esc_html_e('Donec ultrices, diam sed efficitur semper, diam lectus malesuada nisl, eget congue magna','online-magazine'); ?></p>
<!-- /wp:paragraph -->

<!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"base","textColor":"foreground","style":{"typography":{"fontSize":"14px","fontStyle":"normal","fontWeight":"600"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"spacing":{"padding":{"left":"var:preset|spacing|50","right":"var:preset|spacing|50","top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}}} -->
<div class="wp-block-button"><a class="wp-block-button__link has-foreground-color has-base-background-color has-text-color has-background has-link-color has-custom-font-size wp-element-button" href="#" style="padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--50);font-size:14px;font-style:normal;font-weight:600"><?php esc_html_e('Check Now','online-magazine'); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div></div>
<!-- /wp:cover --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"online-magazine-swiper-controls","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group online-magazine-swiper-controls" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:html -->
<div class="online-magazine-swiper-button-prev swiper-button-prev"></div>
        <div class="online-magazine-swiper-button-next swiper-button-next"></div>
        <div class="online-magazine-pagination"></div>
<!-- /wp:html --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->