

<?php $__env->startSection('title', isset($page_about) ? title_case($page_about) : 'About us'); ?>

<?php 
	$share_url = Request::url();
	if(!empty($meta_tags)){
		foreach ($meta_tags as $key => $value) {
			$meta[$value->name] = $value->content;
		}
		$share_title = isset($meta['title']) ? $meta['title'] : '';
		$share_desc = isset($meta['description']) ? $meta['description'] : '';
	}else{
		$share_title = title_case($main_title)." | ".$masterName;
		foreach($contents as $key=>$val):
			$share_desc = strip_tags($val->media_content);
			break;
		endforeach;
	}
	$share_img = asset($storage_url.'img/about/'.$banner);
 ?>

<?php $__env->startSection('meta-desc'); ?>
	<meta name="description" content="<?php echo e($share_desc); ?>">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('sharing-meta'); ?>

<meta property="og:url" content="<?php echo e($share_url); ?>" />
<meta property="og:type" content="place" />
<meta property="og:title" content="<?php echo e($share_title); ?>" />
<meta property="og:description" content="<?php echo e($share_desc); ?>" />
<meta property="og:image" content="<?php echo e($share_img); ?>" />


<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="<?php echo e($share_url); ?>">
<meta name="twitter:title" content="<?php echo e($share_title); ?>">
<meta name="twitter:description" content="<?php echo e($share_desc); ?>">
<meta name="twitter:image:src" content="<?php echo e($share_img); ?>">


<meta itemprop="name" content="<?php echo e($share_title); ?>">
<meta itemprop="description" content="<?php echo e($share_desc); ?>">
<meta itemprop="image" content="<?php echo e($share_img); ?>">

<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>

	<header class="container-fluid text-center">
		<div class="banner-section">
			<img alt="banner-header" src="<?php echo e($banner->media_url ? asset($storage_url.'img/about/'.$banner->media_url) : ''); ?>" />
			<div class="banner-section-content">
				<h1 data-animate="true" data-effect="fadeInUp">
					<?php echo e(isset($page_about) ? title_case($page_about) : 'About us'); ?>

				</h1>
			</div>
		</div>
	</header>

	<!-- MAIN CONTENT -->
	<main id="mainContent" class="container-fluid">
		<?php echo $__env->make('components.gallery_modal', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
		<?php $__currentLoopData = $contents; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>


			
			<?php if($loop->iteration % 2 != 0): ?>
				<section class="row section-content">
					<div class="col-xs-12 col-sm-6 content-box left content-image">
						<div>
							<header class="text-center visible-xs" data-animate="true" data-effect="fadeInUp">
								<h2><?php echo e(isset($val->media_title) ? $val->media_title : ''); ?></h2>
							</header>

							<div data-animate="true" data-effect="fadeInUp">
								<?php if($val->media_type=="image"): ?>
									<img class="img img-responsive" alt="image" src="<?php echo e($val->media_url ? asset($storage_url.'img/about/'.$val->media_url) : ''); ?>">
								<?php elseif($val->media_type=="video"): ?>
									<div class="mediaWrapper">
										<iframe src="<?php echo e($val->media_url ? $val->media_url : ''); ?>" width="auto" height="auto" frameborder="0" allowfullscreen></iframe>
									</div>
								<?php else: ?>
									<?php if(count($val->album)): ?>
										<?php echo $__env->make('components.gallery', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>	
									<?php endif; ?>
								<?php endif; ?>
							</div>

						</div>
					</div>

					<div class="col-xs-12 col-sm-6 content-box right content-text">
						<div>
							<header class="text-center hidden-xs" data-animate="true" data-effect="fadeInUp">
								<h2><?php echo e(isset($val->media_title) ? $val->media_title : ''); ?></h2>
							</header>
							<div data-animate="true" data-effect="fadeInUp">
								<?php echo isset($val->media_content) ? $val->media_content : ''; ?>

							</div>
						</div>
					</div>

				</section>

			
			<?php else: ?>
				<section class="row section-content">
					<div class="col-xs-12 col-sm-6 content-box right content-image pull-right">
						<div>

							<header class="text-center visible-xs" data-animate="true" data-effect="fadeInUp">
								<h2><?php echo e(isset($val->media_title) ? $val->media_title : ''); ?></h2>
							</header>

							<div data-animate="true" data-effect="fadeInUp">
								<?php if($val->media_type=="image"): ?>
									<img class="img img-responsive" alt="image" src="<?php echo e($val->media_url ? asset($storage_url.'img/about/'.$val->media_url) : ''); ?>">
								<?php elseif($val->media_type=="video"): ?>
									<div class="mediaWrapper">
										<iframe src="<?php echo e($val->media_url ? $val->media_url : ''); ?>" width="auto" height="auto" frameborder="0" allowfullscreen></iframe>
									</div>
								<?php else: ?>
									<?php if(count($val->album)): ?>
										<?php echo $__env->make('components.gallery', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>	
									<?php endif; ?>
								<?php endif; ?>
							</div>

						</div>
					</div>
					<div class="col-xs-12 col-sm-6 content-box left content-text">
						<div>
							<header class="text-center hidden-xs" data-animate="true" data-effect="fadeInUp">
								<h2><?php echo e(isset($val->media_title) ? $val->media_title : ''); ?></h2>
							</header>
							<div data-animate="true" data-effect="fadeInUp">
								<?php echo isset($val->media_content) ? $val->media_content : ''; ?>

							</div>
						</div>
					</div>
				</section>
			<?php endif; ?>
		<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

	</main>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>