<?php $__env->startSection('title', 'General Settings'); ?>

<?php $__env->startSection('content'); ?>
<div>
    <div class="card">
        <div class="card-header h4">Website Information </div>
        <div class="card-body">
            <form action="<?php echo e(route('admin.setting.update')); ?>" method="post" class="row">
                <?php echo csrf_field(); ?>
                <div class="col-lg-6">
                    <div class="form-group row">
                        <label class="col-sm-3 form-label"><?php echo app('translator')->get('Website Name'); ?></label>
                        <div class="col-sm-9">
                            <input type="text" name="title" class="form-control" value="<?php echo e(get_setting('title')); ?>">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-3 form-label"><?php echo app('translator')->get('Website Email'); ?></label>
                        <div class="col-sm-9">
                            <input type="text" name="email" class="form-control" value="<?php echo e(get_setting('email')); ?>">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-3 form-label"><?php echo app('translator')->get('Website Address'); ?></label>
                        <div class="col-sm-9">
                            <input type="text" name="address" class="form-control" value="<?php echo e(get_setting('address')); ?>">
                        </div>
                    </div>
                </div>
                <div class="col-lg-6">
                    <div class="form-group row">
                        <label class="col-sm-3 form-label"><?php echo app('translator')->get('Website Phone'); ?></label>
                        <div class="col-sm-9">
                            <input type="tel" name="phone" class="form-control" value="<?php echo e(get_setting('phone')); ?>">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-3 form-label"><?php echo app('translator')->get('Website About'); ?></label>
                        <div class="col-sm-9">
                            <textarea name="description" rows="3" class="form-control"><?php echo e(get_setting('description')); ?></textarea>
                        </div>
                    </div>
                </div>
                <div class="form-group mb-0 text-end">
                    <button class="btn-success btn w-100" type="submit">Save Settings</button>
                </div>
            </form>
        </div>
    </div>
    <div class="card">
        <div class="card-header h4">Social Links </div>
        <div class="card-body">
            <form action="<?php echo e(route('admin.setting.update')); ?>" method="post" class="row">
                <?php echo csrf_field(); ?>
                <div class="col-lg-6">
                    <div class="form-group row">
                        <label class="col-sm-3 form-label"><?php echo app('translator')->get('Facebook'); ?></label>
                        <div class="col-sm-9">
                            <input name="facebook" type="text" class="form-control" value="<?php echo e(get_setting('facebook')); ?>" >
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-3 form-label"><?php echo app('translator')->get('Twitter'); ?></label>
                        <div class="col-sm-9">
                            <input name="twitter" type="text" class="form-control" value="<?php echo e(get_setting('twitter')); ?>" >
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-3 form-label"><?php echo app('translator')->get('Telegram'); ?></label>
                        <div class="col-sm-9">
                            <input name="telegram" type="text" class="form-control" value="<?php echo e(get_setting('telegram')); ?>" >
                        </div>
                    </div>
                </div>
                <div class="col-lg-6">
                    <div class="form-group row">
                        <label class="col-sm-3 form-label"><?php echo app('translator')->get('Instagram'); ?></label>
                        <div class="col-sm-9">
                            <input name="instagram" type="text" class="form-control" value="<?php echo e(get_setting('instagram')); ?>" >
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-3 form-label"><?php echo app('translator')->get('Whatsapp'); ?></label>
                        <div class="col-sm-9">
                            <input name="whatsapp" type="text" class="form-control" value="<?php echo e(get_setting('whatsapp')); ?>" >
                        </div>
                    </div>
                </div>
                <div class="form-group mb-0 text-end">
                    <button class="btn-success btn w-100" type="submit">Save Settings</button>
                </div>
            </form>
        </div>
    </div>
    <div class="card">
        <h4 class="card-header">Logo/Image Settings</h4>
        <div class="card-body">
            <form class="row" action="<?php echo e(route('admin.setting.update')); ?>" method="post" enctype="multipart/form-data">
                <?php echo csrf_field(); ?>
                <div class="form-group col-lg-6">
                    <label class="form-label"><?php echo app('translator')->get('Site Logo'); ?></label>
                    <div class="col-sm-12 row">
                        <input type="file" class="form-control" name="logo" accept="image/*"/>
                        <img class="primage mt-2" src="<?php echo e(my_asset(get_setting('logo'))); ?>" alt="Site Logo" >
                    </div>
                </div>
                <div class="form-group col-lg-6">
                    <label class="form-label"><?php echo app('translator')->get('Favicon'); ?></label>
                    <div class="col-sm-12">
                        <input type="file" class="form-control" name="favicon" accept="image/*"/>
                        <img class="primage mt-2" src="<?php echo e(my_asset(get_setting('favicon'))); ?>" alt="Favicon" >
                    </div>
                </div>
                
                <div class="text-end">
                    <button class="btn btn-success w-100" type="submit"><?php echo app('translator')->get('Update Setting'); ?></button>
                </div>
            </form>
        </div>
    </div>

    <div class="card">
        <h4 class="card-header">Slider Images</h4>
        <div class="card-body">
            <form class="row" action="<?php echo e(route('admin.setting.update')); ?>" method="post" enctype="multipart/form-data">
                <?php echo csrf_field(); ?>
                <div class="form-group col-lg-6">
                    <label class="form-label"><?php echo app('translator')->get('Slider 1'); ?></label>
                    <div class="col-sm-12 row">
                        <input type="file" class="form-control" name="slider1" accept="image/*"/>
                        <img class="primage mt-2" src="<?php echo e(my_asset(get_setting('slider1'))); ?>" alt="Site Logo" >
                    </div>
                </div>
                <div class="form-group col-lg-6">
                    <label class="form-label"><?php echo app('translator')->get('Slider 2'); ?></label>
                    <div class="col-sm-12 row">
                        <input type="file" class="form-control" name="slider2" accept="image/*"/>
                        <img class="primage mt-2" src="<?php echo e(my_asset(get_setting('slider2'))); ?>" alt="Site Logo" >
                    </div>
                </div>
                <div class="form-group col-lg-6">
                    <label class="form-label"><?php echo app('translator')->get('Slider 3'); ?></label>
                    <div class="col-sm-12 row">
                        <input type="file" class="form-control" name="slider3" accept="image/*"/>
                        <img class="primage mt-2" src="<?php echo e(my_asset(get_setting('slider3'))); ?>" alt="Site Logo" >
                    </div>
                </div>
                <div class="form-group col-lg-6">
                    <label class="form-label"><?php echo app('translator')->get('Slider 4'); ?></label>
                    <div class="col-sm-12 row">
                        <input type="file" class="form-control" name="slider4" accept="image/*"/>
                        <img class="primage mt-2" src="<?php echo e(my_asset(get_setting('slider4'))); ?>" alt="Site Logo" >
                    </div>
                </div>
                <div class="form-group col-lg-6">
                    <label class="form-label"><?php echo app('translator')->get('Slider 5'); ?></label>
                    <div class="col-sm-12 row">
                        <input type="file" class="form-control" name="slider5" accept="image/*"/>
                        <img class="primage mt-2" src="<?php echo e(my_asset(get_setting('slider5'))); ?>" alt="Site Logo" >
                    </div>
                </div>
                <div class="form-group col-lg-6">
                    <label class="form-label"><?php echo app('translator')->get('Slider 6'); ?></label>
                    <div class="col-sm-12 row">
                        <input type="file" class="form-control" name="slider6" accept="image/*"/>
                        <img class="primage mt-2" src="<?php echo e(my_asset(get_setting('slider6'))); ?>" alt="Site Logo" >
                    </div>
                </div>
                <div class="text-end">
                    <button class="btn btn-success w-100" type="submit"><?php echo app('translator')->get('Update Setting'); ?></button>
                </div>
            </form>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('breadcrumb'); ?>
<!-- start page title -->
<div class="row">
    <div class="col-12">
        <div class="page-title-box d-sm-flex align-items-center justify-content-between">
            <h4 class="mb-sm-0"><?php echo $__env->yieldContent('title'); ?></h4>

            <div class="page-title-right">
                <ol class="breadcrumb m-0">
                    <li class="breadcrumb-item"><a href="javascript: void(0);">Admin</a></li>
                    <li class="breadcrumb-item active"><?php echo $__env->yieldContent('title'); ?></li>
                </ol>
            </div>

        </div>
    </div>
</div>
<!-- end page title -->
<?php $__env->stopSection(); ?>

<?php $__env->startSection('styles'); ?>
<style>
    .primage {
        max-height: 50px !important;
        max-width: 150px !important;
        margin: 0;
    }
    /* .card-header{border-top:1px solid #1d1f1d } */
    .form-group{
        margin-bottom: 15px;
    }
</style>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/golinkgl/directexpress.couriers-co.com/resources/views/admin/setup/index.blade.php ENDPATH**/ ?>