<?php $__env->startSection('additional-css'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('main-content'); ?>
    <div class="pc-container">
        <?php echo $__env->make('layout.admin.include.loader', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
        <div class="pc-content">
            <!-- [ breadcrumb ] start -->
            <div class="page-header">
                <div class="page-block">
                    <div class="row align-items-center">
                        <div class="col-md-12">
                            <ul class="breadcrumb">
                                <li class="breadcrumb-item"><a href="<?php echo e(route('admin.dashboard')); ?>">Home</a></li>
                                <li class="breadcrumb-item" aria-current="page"><?php echo e(@$title); ?></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>

            <div class="col-sm-12">
                <div class="card">
                    <div class="card-body">
                        <form id="add-form" autocomplete="off">
                            <?php echo csrf_field(); ?>
                            <div class="row">
                                <div class="col-lg-6">
                                    <div class="card">
                                        <div class="card-header">
                                            <h5><?php echo e(@$title); ?></h5>
                                        </div>
                                        <div class="card-body">
                                            <div class="row">
                                                <div class="col-sm-12">
                                                    <div class="form-group row">
                                                        <label class="form-label">Company Logo <sup
                                                                class="text-danger">*</sup></label>
                                                        <div class="col-sm-6 pl-lg-0">
                                                            <div class="input-group">
                                                               <span class="input-group-btn">
                                                                 <button data-input="thumbnail" data-preview="holder"
                                                                         class="lfm btn btn-primary">
                                                                   <i class="fa fa-picture-o"></i> Choose
                                                                 </button>
                                                               </span>
                                                                <input id="thumbnail"
                                                                       class="form-control form-control-sm required"
                                                                       type="text"
                                                                       name="company_logo"
                                                                       value="<?php echo e(@$siteSettings->company_logo ?? ""); ?>"
                                                                       readonly>
                                                                <div class="invalid-feedback"
                                                                     id="company_logo_err"></div>
                                                            </div>

                                                            <div id="holder">
                                                                <?php if(isset($siteSettings->company_logo)): ?>
                                                                    <img
                                                                        src="<?php echo e(asset(@$siteSettings->company_logo)); ?>"
                                                                        style="height: 5rem;">
                                                                <?php endif; ?>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="form-label">Company Name <sup
                                                                class="text-danger">*</sup></label>
                                                        <input type="text" name="company_name"
                                                               class="form-control form-control-sm required"
                                                               value="<?php echo e(@$siteSettings->company_name); ?>">
                                                        <div class="invalid-feedback"
                                                             id="company_name_err"></div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="form-label">Company Email <sup
                                                                class="text-danger">*</sup></label>
                                                        <input type="email" name="company_email"
                                                               class="form-control form-control-sm required"
                                                               value="<?php echo e(@$siteSettings->company_email ?? ''); ?>">
                                                        <div class="invalid-feedback"
                                                             id="company_email_err"></div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="form-label">Company Location <sup
                                                                class="text-danger">*</sup></label>
                                                        <input type="text" name="company_location"
                                                               class="form-control form-control-sm required"
                                                               value="<?php echo e(@$siteSettings->company_location ?? ''); ?>">
                                                        <div class="invalid-feedback"
                                                             id="company_location_err"></div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="form-label">Company Number <sup
                                                                class="text-danger">*</sup></label>
                                                        <input type="text" name="contact_number"
                                                               class="form-control form-control-sm required"
                                                               value="<?php echo e(@$siteSettings->contact_number ?? ''); ?>">
                                                        <div class="invalid-feedback"
                                                             id="contact_number_err"></div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-12">
                                                    <div class="form-group">
                                                        <label class="form-label">About Company</label>
                                                        <textarea name="about_company"
                                                                  class="form-control form-control-sm"
                                                                  rows="5"><?php echo e(@$siteSettings->about_company); ?></textarea>
                                                        <div class="invalid-feedback"
                                                             id="about_company_err"></div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-12">
                                                    <div class="form-group">
                                                        <label class="form-label">Map Iframe</label>
                                                        <textarea name="map_iframe"
                                                                  class="form-control form-control-sm required"
                                                                  rows="5"><?php echo e(@$siteSettings->map_iframe); ?></textarea>
                                                        <div class="invalid-feedback"
                                                             id="map_iframe_err"></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-6">
                                    <div class="card">
                                        <div class="card-header">
                                            <h5>Social Network</h5>
                                        </div>
                                        <div class="card-body">
                                            <div class="d-flex align-items-center mb-2">
                                                <div class="flex-grow-1 me-3">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0">
                                                            <div class="avtar avtar-xs btn-light-facebook">
                                                                <i class="fab fa-facebook-f f-16"></i>
                                                            </div>
                                                        </div>
                                                        <div class="flex-grow-1 ms-3">
                                                            <h6 class="mb-0">Facebook</h6>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="flex-shrink-0 col-sm-6">
                                                    <input type="text" name="facebook"
                                                           class="form-control form-control-sm"
                                                           value="<?php echo e(@$siteSettings->facebook ?? ''); ?>"
                                                           placeholder="Facebook url">
                                                </div>
                                            </div>
                                            <div class="d-flex align-items-center mb-2">
                                                <div class="flex-grow-1 me-3">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0">
                                                            <div class="avtar avtar-xs btn-light-instagram">
                                                                <i class="fab fa-instagram f-16"></i>
                                                            </div>
                                                        </div>
                                                        <div class="flex-grow-1 ms-3">
                                                            <h6 class="mb-0">Instagram</h6>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="flex-shrink-0 col-sm-6">
                                                    <input type="text" name="instagram"
                                                           class="form-control form-control-sm"
                                                           value="<?php echo e(@$siteSettings->instagram ?? ''); ?>"
                                                           placeholder="Instagram url">
                                                </div>
                                            </div>
                                            <div class="d-flex align-items-center mb-2">
                                                <div class="flex-grow-1 me-3">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0">
                                                            <div class="avtar avtar-xs btn-light-twitter">
                                                                <i class="fab fa-twitter f-16"></i>
                                                            </div>
                                                        </div>
                                                        <div class="flex-grow-1 ms-3">
                                                            <h6 class="mb-0">Twitter</h6>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="flex-shrink-0 col-sm-6">
                                                    <input type="text" name="twitter"
                                                           class="form-control form-control-sm"
                                                           value="<?php echo e(@$siteSettings->twitter ?? ''); ?>"
                                                           placeholder="Twitter url">
                                                </div>
                                            </div>
                                            <div class="d-flex align-items-center mb-2">
                                                <div class="flex-grow-1 me-3">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0">
                                                            <div class="avtar avtar-xs btn-light-youtube">
                                                                <i class="fab fa-youtube f-16"></i>
                                                            </div>
                                                        </div>
                                                        <div class="flex-grow-1 ms-3">
                                                            <h6 class="mb-0">Youtube</h6>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="flex-shrink-0 col-sm-6">
                                                    <input type="text" name="youtube"
                                                           class="form-control form-control-sm"
                                                           value="<?php echo e(@$siteSettings->youtube ?? ''); ?>"
                                                           placeholder="Youtube url">
                                                </div>
                                            </div>
                                            <div class="d-flex align-items-center mb-2">
                                                <div class="flex-grow-1 me-3">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0">
                                                            <div class="avtar avtar-xs btn-light-linkedin">
                                                                <i class="fab fa-linkedin-in f-16"></i>
                                                            </div>
                                                        </div>
                                                        <div class="flex-grow-1 ms-3">
                                                            <h6 class="mb-0">Linkedin</h6>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="flex-shrink-0 col-sm-6">
                                                    <input type="text" name="linkedin"
                                                           class="form-control form-control-sm"
                                                           value="<?php echo e(@$siteSettings->linkedin ?? ''); ?>"
                                                           placeholder="Linkedin url">
                                                </div>
                                            </div>
                                            <div class="d-flex align-items-center mb-2">
                                                <div class="flex-grow-1 me-3">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0">
                                                            <div class="avtar avtar-xs btn-light-tiktok">
                                                                <i class="ti ti-brand-tiktok f-16"></i>
                                                            </div>
                                                        </div>
                                                        <div class="flex-grow-1 ms-3">
                                                            <h6 class="mb-0">Tiktok</h6>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="flex-shrink-0 col-sm-6">
                                                    <input type="text" name="tiktok"
                                                           class="form-control form-control-sm"
                                                           value="<?php echo e(@$siteSettings->tiktok ?? ''); ?>"
                                                           placeholder="Tiktok url">
                                                </div>
                                            </div>
                                            <div class="d-flex align-items-center mb-2">
                                                <div class="flex-grow-1 me-3">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0">
                                                            <div class="avtar avtar-xs btn-light-whatsapp">
                                                                <i class="fab fa-whatsapp f-16"></i>
                                                            </div>
                                                        </div>
                                                        <div class="flex-grow-1 ms-3">
                                                            <h6 class="mb-0">Whatsapp</h6>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="flex-shrink-0 col-sm-6">
                                                    <input type="text" name="whatsapp"
                                                           class="form-control form-control-sm"
                                                           value="<?php echo e(@$siteSettings->whatsapp ?? ''); ?>"
                                                           placeholder="Whatsapp number">
                                                </div>
                                            </div>
                                            <div class="d-flex align-items-center mb-2">
                                                <div class="flex-grow-1 me-3">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0">
                                                            <div class="avtar avtar-xs btn-light-viber">
                                                                <i class="fab fa-viber f-16"></i>
                                                            </div>
                                                        </div>
                                                        <div class="flex-grow-1 ms-3">
                                                            <h6 class="mb-0">Viber</h6>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="flex-shrink-0 col-sm-6">
                                                    <input type="text" name="viber"
                                                           class="form-control form-control-sm"
                                                           value="<?php echo e(@$siteSettings->viber ?? ''); ?>"
                                                           placeholder="Viber number">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="card-footer text-end btn-page">
                        <button type="button" class="btn btn-outline-secondary">Cancel</button>
                        <button type="button" class="btn btn-primary add-btn">Save</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('additional-js'); ?>
    <script src="<?php echo e(asset('vendor/laravel-filemanager/js/stand-alone-button.js')); ?>"></script>
    <script>
        var route_prefix = "<?php echo e(url('/laravel-filemanager')); ?>";
        $('.lfm').filemanager('image', {prefix: route_prefix});
    </script>
    <script src="<?php echo e(asset('assets/admin/custom/js/setting/site-setting.js')); ?>"></script>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layout.admin.master-layout', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/html/gge/resources/views/admin/setting/site-setting/index.blade.php ENDPATH**/ ?>