
<?php
$contact = getSectionData('contact','single');
$social = getSectionData('social','multiple');
?>
<footer class="footer-section">
	<div class="overlay">
		<div class="container">
			<div class="row gy-5 gy-lg-0">
				<div class="col-lg-3 col-md-6 pe-lg-5">
					<div class="footer-box">
						<a class="navbar-brand" href="<?php echo e(url('/')); ?>"> <img
								src="<?php echo e(getFile(basicControl()->logo_driver, basicControl()->logo)); ?>" alt="<?php echo e(basicControl()->site_title); ?>"/></a>
						<?php if($contact): ?>
							<p class="company-bio">
								<?php echo app('translator')->get(strip_tags(optional($contact->description)->about_company)); ?>
							</p>
						<?php endif; ?>

						<?php if(!empty($social)): ?>
							<div class="social-links">
								<?php $__currentLoopData = $social; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
									<a href="<?php echo e(optional($item->description)->link); ?>">
										<i class="<?php echo e(optional($item->description)->fontawesome_icon_class); ?>"></i>
									</a>
								<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
							</div>
						<?php endif; ?>
					</div>
				</div>

				<div class="col-lg-2 col-md-6">
					<div class="footer-box">
						<h4><?php echo app('translator')->get('Useful Link'); ?></h4>
						<ul>
                            <?php if(getFooterMenuData('useful_link') != null): ?>
                                <?php $__currentLoopData = getFooterMenuData('useful_link'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php echo $list; ?>

                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            <?php endif; ?>
						</ul>
					</div>
				</div>
				<div class="col-lg-2 col-md-6">
					<div class="footer-box">
						<h4><?php echo app('translator')->get('Support Link'); ?></h4>
						<ul>
                            <?php if(getFooterMenuData('support_link') != null): ?>
                                <?php $__currentLoopData = getFooterMenuData('support_link'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php echo $list; ?>

                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            <?php endif; ?>
						</ul>
					</div>
				</div>
				<?php if(!empty($contact)): ?>
					<div class="col-lg-3 col-md-6">
						<div class="footer-box">
							<h4><?php echo app('translator')->get('Contact Us'); ?></h4>
							<ul>
								<li class="d-flex"><i class="fal fa-map-marker-alt"></i>
									<span><?php echo e(optional($contact->description)->location); ?></span></li>
								<li><i class="fal fa-envelope"></i>
									<span><?php echo e(optional($contact->description)->email); ?></span></li>
								<li><i class="fal fa-phone-alt"></i>
									<span><?php echo e(optional($contact->description)->phone); ?></span></li>
							</ul>
						</div>
					</div>
				<?php endif; ?>
				<div class="col-lg-2 col-md-6">
					<div class="footer-box">
						<h4><?php echo app('translator')->get('Subscribe Newsletter'); ?></h4>
						<form action="<?php echo e(route('subscribe')); ?>" method="post">
							<?php echo csrf_field(); ?>
							<div class="input-group">
								<input type="email" class="form-control" name="email" placeholder="<?php echo app('translator')->get('enter email'); ?>" required/>
								<button type="submit" class="btn-custom"><i class="fal fa-paper-plane" aria-hidden="true"></i></button>
							</div>
							<?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
							<span class="text-danger"><?php echo e($message); ?></span>
							<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
						</form>
					</div>
				</div>
			</div>

			<div class="d-flex copyright justify-content-between">
				<div>
					<span> <?php echo app('translator')->get('All rights reserved'); ?> © <?php echo e(date('Y')); ?> <?php echo app('translator')->get('by'); ?><a
							href="<?php echo e(url('/')); ?>"><?php echo app('translator')->get(basicControl()->site_title); ?></a> </span>
				</div>
				<div>
					<?php $__empty_1 = true; $__currentLoopData = $languages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
						<a href="<?php echo e(route('language',$item->short_name)); ?>" class="language text-secondary <?php echo e(session()->get('lang') == $item->short_name ? 'langActive' : ''); ?>"><?php echo app('translator')->get($item->name); ?></a>
					<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
					<?php endif; ?>
				</div>
			</div>
		</div>
	</div>
</footer>
<?php /**PATH D:\server\htdocs\FoodyFriend-v3\DEMO\resources\views/themes/light/partials/footer.blade.php ENDPATH**/ ?>