<?php
/**
 * Title: Hero Banner
 * Slug: multipurpose-business-fse/hero-banner
 * Categories: multipurpose-business-fse/patterns-cat, featured
 * Description: Hero banner with heading, text and button.
 * 
 */
?>

<?php
$theme_uri = get_stylesheet_directory_uri();
$hero_img  = $theme_uri . '/assets/images/apartment-complex_XNJ2SNZADQ.jpg';
?>

<!-- wp:group {"align":"full","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull">

	<!-- wp:cover {"url":"<?php echo esc_url( $hero_img ); ?>","hasParallax":true,"dimRatio":60,"overlayColor":"black","isUserOverlayColor":true,"focalPoint":{"x":0.49,"y":0.12},"sizeSlug":"full","metadata":{"patternName":"core/block/2128","name":"Hero banner with heading, text and button."},"align":"full","style":{"color":{"duotone":"var:preset|duotone|dark-grayscale"}},"layout":{"type":"constrained"}} -->
	<div class="wp-block-cover alignfull has-parallax">

		<div class="wp-block-cover__image-background size-full has-parallax" style="background-position:49% 12%;background-image:url(<?php echo esc_url( $hero_img ); ?>)"></div>

		<span aria-hidden="true" class="wp-block-cover__background has-black-background-color has-background-dim-60 has-background-dim"></span>

		<div class="wp-block-cover__inner-container">

			<!-- wp:heading {"style":{"typography":{"textAlign":"center","textTransform":"uppercase"}},"fontSize":"large"} -->
			<h2 class="wp-block-heading has-text-align-center has-large-font-size" style="text-transform:uppercase"><?php _e( 'Lorem a amet website', 'multipurpose-business-fse' ); ?></h2>
			<!-- /wp:heading -->

			<!-- wp:paragraph {"style":{"typography":{"textAlign":"center","fontSize":"16px"}}} -->
			<p class="has-text-align-center" style="font-size:16px"><?php _e( 'Lorem ipsum dolor sit amet, consectetur elit ut. ipsum dolor sit amet, adipiscing elit ut labore.', 'multipurpose-business-fse' ); ?></p>
			<!-- /wp:paragraph -->

			<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
			<div class="wp-block-buttons">

				<!-- wp:button {"className":"is-style-outline","style":{"typography":{"textAlign":"center"},"color":{"background":"#a0ce4e"},"spacing":{"padding":{"left":"var:preset|spacing|60","right":"var:preset|spacing|60"}}}} -->
				<div class="wp-block-button is-style-outline">
					<a class="wp-block-button__link has-background has-text-align-center wp-element-button" style="background-color:#a0ce4e;padding-right:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--60)"><?php _e( 'GET IT', 'multipurpose-business-fse' ); ?></a>
				</div>
				<!-- /wp:button -->

			</div>
			<!-- /wp:buttons -->

		</div>

	</div>
	<!-- /wp:cover -->

</div>
<!-- /wp:group -->
