<?php $__env->startSection('page_title',__('Logo, Favicon & Breadcrumb Settings')); ?>
<?php $__env->startSection('content'); ?>
<div class="main-content">
	<section class="section">
		<div class="section-header">
			<h1><?php echo app('translator')->get('Logo, Favicon & Breadcrumb Settings'); ?></h1>
			<div class="section-header-breadcrumb">
				<div class="breadcrumb-item active">
					<a href="<?php echo e(route('admin.home')); ?>"><?php echo app('translator')->get('Dashboard'); ?></a>
				</div>
				<div class="breadcrumb-item"><?php echo app('translator')->get('Logo, Favicon & Breadcrumb Settings'); ?></div>
			</div>
		</div>

		<div class="section-body">
			<div class="row mt-sm-4">
				<div class="col-12 col-md-4 col-lg-3">
					<?php echo $__env->make('admin.control_panel.components.sidebar', ['settings' => config('generalsettings.settings'), 'suffix' => 'Settings'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
				</div>
				<div class="col-12 col-md-8 col-lg-9">
					<div class="container-fluid" id="container-wrapper">
						<div class="row justify-content-md-center">
							<div class="col-lg-12">
								<div class="bd-callout bd-callout-warning mx-2">
									<i class="fas fa-info-circle mr-2"></i> <?php echo app('translator')->get('After changes logo/seo. Please clear your browser\'s cache to see changes.'); ?>
								</div>


								<div class="card mb-4 card-primary shadow">
									<div class="card-header py-3 d-flex flex-row align-items-center justify-content-between">
										<h6 class="m-0 font-weight-bold text-primary"><?php echo app('translator')->get('Logo, Favicon & Breadcrumb Settings'); ?></h6>
									</div>
									<div class="card-body">
										<form method="post" action="<?php echo e(route('logo.update')); ?>" enctype="multipart/form-data">
											<?php echo csrf_field(); ?>

											<div class="row">
												<div class="form-group mb-4 col-md-6">
													<label class="col-form-label"><?php echo app('translator')->get('Logo'); ?></label>
													  <div id="image-preview" class="image-preview" style="background-image: url(<?php echo e(getFile(config('location.logo.path').'logo.png') ? : 0); ?>);">
														<label for="image-upload" id="image-label"><?php echo app('translator')->get('Choose File'); ?></label>
														<input type="file" name="logo" class=" <?php $__errorArgs = ['logo'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="image-upload"/>
													  </div>
													  <div class="invalid-feedback">
														<?php $__errorArgs = ['logo'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <?php echo app('translator')->get($message); ?> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
													</div>
												</div>
												<div class="form-group mb-4 col-md-6">
													<label class="col-form-label"><?php echo app('translator')->get('Footer Logo'); ?></label>
													  <div id="image-preview-footer" class="image-preview" style="background-image: url(<?php echo e(getFile(config('location.logo.path').'footer-logo.png') ? : 0); ?>);">
														<label for="image-upload-footer" id="image-label-footer"><?php echo app('translator')->get('Choose File'); ?></label>
														<input type="file" name="footer_logo" class=" <?php $__errorArgs = ['footer_logo'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="image-upload-footer"/>
													  </div>
													  <div class="invalid-feedback">
														<?php $__errorArgs = ['footer_logo'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <?php echo app('translator')->get($message); ?> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
													</div>
												</div>

												<div class="form-group mb-4 col-md-6">
													<label class="col-form-label"><?php echo app('translator')->get('Favicon'); ?></label>
													  <div id="image-preview-favicon" class="image-preview" style="background-image: url(<?php echo e(getFile(config('location.logo.path').'favicon.png') ? : 0); ?>);">
														<label for="image-upload-favicon" id="image-label-favicon"><?php echo app('translator')->get('Choose File'); ?></label>
														<input type="file" name="favicon" class=" <?php $__errorArgs = ['favicon'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="image-upload-favicon"/>
													  </div>
													  <div class="invalid-feedback">
														<?php $__errorArgs = ['favicon'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <?php echo app('translator')->get($message); ?> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
													</div>
												</div>
												<div class="form-group mb-4 col-md-6">
													<label class="col-form-label"><?php echo app('translator')->get('Breadcrumb'); ?></label>
													  <div id="image-preview-breadcrumb" class="image-preview" style="background-image: url(<?php echo e(getFile(config('location.breadcrumb.path').'breadcrumb.png') ? : 0); ?>);">
														<label for="image-upload-breadcrumb" id="image-label-breadcrumb"><?php echo app('translator')->get('Choose File'); ?></label>
														<input type="file" name="breadcrumb" class=" <?php $__errorArgs = ['breadcrumb'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" id="image-upload-breadcrumb"/>
													  </div>
													  <div class="invalid-feedback">
														<?php $__errorArgs = ['breadcrumb'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <?php echo app('translator')->get($message); ?> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
													</div>
												</div>
											</div>

											<button type="submit" class="btn btn-primary btn-sm btn-block mt-1"><?php echo app('translator')->get('Save Change'); ?></button>
										</form>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</section>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('extra_scripts'); ?>
	<script src="<?php echo e(asset('assets/dashboard/js/jquery.uploadPreview.min.js')); ?>"></script>
<?php $__env->stopPush(); ?>
<?php $__env->startSection('scripts'); ?>
	<script type="text/javascript">
		$(document).ready(function() {
			$.uploadPreview({
				input_field: "#image-upload",   // Default: .image-upload
				preview_box: "#image-preview",  // Default: .image-preview
				label_field: "#image-label",    // Default: .image-label
				label_default: "Choose File",   // Default: Choose File
				label_selected: "Change File",  // Default: Change File
				no_label: false                 // Default: false
			});
			$.uploadPreview({
				input_field: "#image-upload-footer",
				preview_box: "#image-preview-footer",
				label_field: "#image-label-footer",
				label_default: "Choose File",
				label_selected: "Change File",
				no_label: false
			});
			$.uploadPreview({
				input_field: "#image-upload-admin",
				preview_box: "#image-preview-admin",
				label_field: "#image-label-admin",
				label_default: "Choose File",
				label_selected: "Change File",
				no_label: false
			});
			$.uploadPreview({
				input_field: "#image-upload-favicon",
				preview_box: "#image-preview-favicon",
				label_field: "#image-label-favicon",
				label_default: "Choose File",
				label_selected: "Change File",
				no_label: false
			});
			$.uploadPreview({
				input_field: "#image-upload-breadcrumb",
				preview_box: "#image-preview-breadcrumb",
				label_field: "#image-label-breadcrumb",
				label_default: "Choose File",
				label_selected: "Change File",
				no_label: false
			});
		});
	</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\xamp\htdocs\Paysecure-wallet\project\resources\views/admin/control_panel/logo.blade.php ENDPATH**/ ?>