<!DOCTYPE html>
<html <?php language_attributes(); ?>>
	<head>
		<meta charset="<?php bloginfo( 'charset' ); ?>">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link rel="profile" href="https://gmpg.org/xfn/11">
		<?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
			<link rel="pingback" href="<?php echo esc_url(get_bloginfo( 'pingback_url' )); ?>">
		<?php endif; ?>
		<?php wp_head(); ?>
	</head>
<body <?php body_class();?> >
	<?php wp_body_open(); ?>
	<?php $mobile_app_launch_preloader = get_theme_mod('mobile_app_launch_preloader_setting');
	  if($mobile_app_launch_preloader == '1') { ?>
		<div class="loading">
			<div class="loader">
				<?php $mobile_app_launch_preloader_text = get_theme_mod('mobile_app_launch_preloader_text','Loading');
				if (!empty($mobile_app_launch_preloader_text)) { ?> <?php echo esc_html($mobile_app_launch_preloader_text); ?> <?php } ?>
			<span></span>
			</div>
		</div>
	<?php } ?>

	<div id="page" class="site">
		<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'mobile-app-launch' ); ?></a>

	<div class="mainhead">
		<?php 
			get_template_part('template-parts/sections/section','header'); 
			
			if ( !is_page_template( 'templates/template-frontpage.php' ) ) {
				mobile_app_launch_breadcrumbs_style();  
			}
		?>
	</div>
	
	<div id="content" class="mobile-app-launch-content">