<?php
/*
* Display Topbar
*/
?>
<?php if(get_theme_mod('restaurant_eatery_topbar_enable',false) != false) {?>
	<div class="topbar-section py-2">
		<div class="container">
			<div class="row m-0">
				<div class="col-lg-7 col-md-12 align-self-center">
					<?php if(get_theme_mod('restaurant_eatery_topbar_text') != ''){ ?>
						<p class="topbar-text mb-0"><i class="fa-solid fa-bullhorn me-2"></i><?php echo esc_html(get_theme_mod('restaurant_eatery_topbar_text')); ?></p>
					<?php }?>
				</div>
				<div class="col-lg-2 col-md-6 align-self-center">
					<?php if(get_theme_mod('restaurant_eatery_topbar_phone_number') != ''){ ?>
						<a href="tel:<?php echo esc_attr(get_theme_mod('restaurant_eatery_topbar_phone_number')); ?>"><i class="fa-solid fa-phone me-2"></i><?php echo esc_html(get_theme_mod('restaurant_eatery_topbar_phone_number')); ?></a>
					<?php }?>
				</div>
				<div class="col-lg-3 col-md-6 align-self-center">
					<?php if(get_theme_mod('restaurant_eatery_topbar_email_address') != ''){ ?>
						<a href="mailto:<?php echo esc_attr(get_theme_mod('restaurant_eatery_topbar_email_address')); ?>"><i class="fa-solid fa-envelope me-2"></i><?php echo esc_html(get_theme_mod('restaurant_eatery_topbar_email_address')); ?></a>
					<?php }?>
				</div>
			</div>
		</div>
	</div>
<?php }?>