<?php
/**
 * Title: CTA Section
 * Slug: triphub/cta-section
 * Categories: triphub
 *
 * @package triphub
 * @since 1.0.0
 */

?>

<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:cover {"url":"<?php echo esc_url(get_theme_file_uri(  ));?>/assets/images/cta.jpg","id":225,"dimRatio":20,"overlayColor":"contrast","isUserOverlayColor":true,"align":"full","layout":{"type":"constrained"}} -->
<div class="wp-block-cover alignfull"><span aria-hidden="true" class="wp-block-cover__background has-contrast-background-color has-background-dim-20 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-225" alt="" src="<?php echo esc_url(get_theme_file_uri(  ));?>/assets/images/cta.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:paragraph {"align":"center","placeholder":"Write title…","style":{"typography":{"fontSize":"18px"},"elements":{"link":{"color":{"text":"var:preset|color|bright"}}}},"textColor":"bright"} -->
<p class="has-text-align-center has-bright-color has-text-color has-link-color" style="font-size:18px"><strong><em><?php echo esc_html__( 'Summer Offer', 'triphub' ); ?></em></strong></p>
<!-- /wp:paragraph -->

<!-- wp:heading {"textAlign":"center","style":{"typography":{"fontSize":"30px"}}} -->
<h2 class="wp-block-heading has-text-align-center" style="font-size:30px"><?php echo esc_html__( 'Hurry Up Best Summer Deals', 'triphub' ); ?><br><?php echo esc_html__( 'Discount Up To 40%', 'triphub' ); ?></h2>
<!-- /wp:heading -->

<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"},"style":{"spacing":{"margin":{"top":"30px"}}}} -->
<div class="wp-block-buttons" style="margin-top:30px"><!-- wp:button {"backgroundColor":"primary","style":{"border":{"width":"0px","style":"none","radius":"0px"}}} -->
<div class="wp-block-button"><a class="wp-block-button__link has-primary-background-color has-background wp-element-button" href="#" style="border-style:none;border-width:0px;border-radius:0px"><?php echo esc_html__( 'Explore Trips', 'triphub' ); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover --></div>
<!-- /wp:group -->