
<?php $__env->startSection('section'); ?>
<!-- Page sidebar end-->
<div class="page-body">
    <div class="container-fluid">
        <div class="row page-title">
            <div class="col-sm-6">
                <h3><?php echo e($title); ?></h3>
            </div>
            <div class="col-sm-6">
                <nav>
                    <ol class="breadcrumb justify-content-sm-end align-items-center">
                        <li class="breadcrumb-item"> <a href="<?php echo e(route('dashboard')); ?>">
                                <svg class="svg-color">
                                    <use href="<?php echo e(asset('assets/svg/iconly-sprite.svg#Home')); ?>"></use>
                                </svg></a></li>
                        <li class="breadcrumb-item">Site Setting</li>
                        <li class="breadcrumb-item ">Site Setting</li>
                        <li class="breadcrumb-item active"><?php echo e($title); ?></li>
                    </ol>
                </nav>
            </div>
        </div>
    </div>
    <!-- Container-fluid starts-->
    <div class="container-fluid">
        <div class="row">
            <div class="col-sm-12">
                <div class="card">
                    <div class="card-body">
                        <!-- Display Validation Errors -->
                        <?php if($errors->any()): ?>
                        <div class="alert alert-danger">
                            <ul>
                                <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <li><?php echo e($error); ?></li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ul>
                        </div>
                        <?php endif; ?>
                        <form class="form theme-form" action="<?php echo e($url); ?>" method="POST" enctype="multipart/form-data">
                            <?php echo csrf_field(); ?>
                            <?php if(isset($siteSetting)): ?>
                            <input type="hidden" name="_method" value="PUT">
                            <?php endif; ?>

                            <div class="row">
                                <!-- container bg Color -->
                                <div class="col-md-3 col-12">
                                    <div class="mb-3">
                                        <label for="sidebar_bg_color">Sidebar Bg Color:</label>
                                        <input class="form-control" type="color" name="sidebar_bg_color" id="sidebar_bg_color" value="<?php echo e(old('sidebar_bg_color', $siteSetting->sidebar_bg_color ?? '')); ?>">
                                    </div>
                                </div>
                                <div class="col-md-3 col-12">
                                    <div class="mb-3">
                                        <label for="main_contbg_color">Main Container Bg Color:</label>
                                        <input class="form-control" type="color" name="main_contbg_color" id="main_contbg_color" value="<?php echo e(old('main_contbg_color', $siteSetting->main_contbg_color ?? '')); ?>">
                                    </div>
                                </div>
                                <!-- end container bg color -->

                                <!-- Card Bg Color -->
                                <div class="col-md-3 col-12">
                                    <div class="mb-3">
                                        <label for="card_bg_color">Card Bg Color:</label>
                                        <input class="form-control" type="color" name="card_bg_color" id="card_bg_color" value="<?php echo e(old('card_bg_color', $siteSetting->card_bg_color ?? '')); ?>">
                                    </div>
                                </div>

                                <div class="col-md-3 col-12">
                                    <div class="mb-3">
                                        <label for="card_text_color">Card Text Color:</label>
                                        <input class="form-control" type="color" name="card_text_color" id="card_text_color" value="<?php echo e(old('card_text_color', $siteSetting->card_text_color ?? '')); ?>">
                                    </div>
                                </div>
                                <!-- end Card Bg Color -->

                                <div class="col-md-3 col-12">
                                    <div class="mb-3">
                                        <label for="header_bg_color">Header Bg Color:</label>
                                        <input class="form-control" type="color" name="header_bg_color" id="header_bg_color" value="<?php echo e(old('header_bg_color', $siteSetting->header_bg_color ?? '')); ?>">
                                    </div>
                                </div>
                                <div class="col-md-3 col-12">
                                    <div class="mb-3">
                                        <label for="header_text_color">Header Text Color:</label>
                                        <input class="form-control" type="color" name="header_text_color" id="header_text_color" value="<?php echo e(old('header_text_color', $siteSetting->header_text_color ?? '')); ?>">
                                    </div>
                                </div>
                                <div class="col-md-3 col-12">
                                    <div class="mb-3">
                                        <label for="footer_bg_color">Footer Bg Color:</label>
                                        <input class="form-control" type="color" name="footer_bg_color" id="footer_bg_color" value="<?php echo e(old('footer_bg_color', $siteSetting->footer_bg_color ?? '')); ?>">
                                    </div>
                                </div>
                                <div class="col-md-3 col-12">
                                    <div class="mb-3">
                                        <label for="footer_text_color">Footer Text Color:</label>
                                        <input class="form-control" type="color" name="footer_text_color" id="footer_text_color" value="<?php echo e(old('footer_text_color', $siteSetting->footer_text_color ?? '')); ?>">
                                    </div>
                                </div>
                                <div class="col-md-3 col-12">
                                    <div class="mb-3">
                                        <label for="body_bg_color">Body Bg Color:</label>
                                        <input class="form-control" type="color" name="body_bg_color" id="body_bg_color" value="<?php echo e(old('body_bg_color', $siteSetting->body_bg_color ?? '')); ?>">
                                    </div>
                                </div>
                                <div class="col-md-3 col-12">
                                    <div class="mb-3">
                                        <label for="body_text_color">Body Text Color:</label>
                                        <input class="form-control" type="color" name="body_text_color" id="body_text_color" value="<?php echo e(old('body_text_color', $siteSetting->body_text_color ?? '')); ?>">
                                    </div>
                                </div>
                                <!-- Site Title -->
                                <!-- Email -->
                                <div class="col-md-3 col-12">
                                    <div class="mb-3">
                                        <label for="email">Email:</label>
                                        <input class="form-control" type="email" name="email" id="email" value="<?php echo e(old('email', $siteSetting->email ?? '')); ?>">
                                    </div>
                                </div>
                                <!-- Phone -->
                                <div class="col-md-3 col-12">
                                    <div class="mb-3">
                                        <label for="phone">Phone:</label>
                                        <input class="form-control" type="text" name="phone" id="phone" value="<?php echo e(old('phone', $siteSetting->phone ?? '')); ?>">
                                    </div>
                                </div>
                                <!-- Address -->
                                <div class="col-md-4 col-12">
                                    <div class="mb-3">
                                        <label for="address">Address:</label>
                                        <input class="form-control" type="text" name="address" id="address" value="<?php echo e(old('address', $siteSetting->address ?? '')); ?>">
                                    </div>
                                </div>
                                <!-- Facebook -->
                                <div class="col-md-4 col-12">
                                    <div class="mb-3">
                                        <label for="facebook">Facebook:</label>
                                        <input class="form-control" type="text" name="facebook" id="facebook" value="<?php echo e(old('facebook', $siteSetting->facebook ?? '')); ?>">
                                    </div>
                                </div>
                                <!-- LinkedIn -->
                                <div class="col-md-4 col-12">
                                    <div class="mb-3">
                                        <label for="linkedin">LinkedIn:</label>
                                        <input class="form-control" type="text" name="linkedin" id="linkedin" value="<?php echo e(old('linkedin', $siteSetting->linkedin ?? '')); ?>">
                                    </div>
                                </div>
                                <!-- Twitter -->
                                <div class="col-md-4 col-12">
                                    <div class="mb-3">
                                        <label for="twitter">Twitter:</label>
                                        <input class="form-control" type="text" name="twitter" id="twitter" value="<?php echo e(old('twitter', $siteSetting->twitter ?? '')); ?>">
                                    </div>
                                </div>
                                <!-- Instagram -->
                                <div class="col-md-4 col-12">
                                    <div class="mb-3">
                                        <label for="instagram">Instagram:</label>
                                        <input class="form-control" type="text" name="instagram" id="instagram" value="<?php echo e(old('instagram', $siteSetting->instagram ?? '')); ?>">
                                    </div>
                                </div>
                                <!-- Status -->
                                <div class="col-md-4 col-12">
                                    <div class="mb-3">
                                        <label for="status">Status:</label>
                                        <select class="form-control" name="status" id="status">
                                            <option value="1" <?php echo e(old('status', $siteSetting->status ?? 0) == 1 ? 'selected' : ''); ?>>Active</option>
                                            <option value="0" <?php echo e(old('status', $siteSetting->status ?? 0) == 0 ? 'selected' : ''); ?>>Inactive</option>
                                        </select>
                                    </div>
                                </div>
                                <!-- site logo  -->
                                <div class="col-md-4 col-12">
                                    <div class="mb-3">
                                        <label for="site_logo">Site Logo:</label>
                                        <input class="form-control" type="file" name="site_logo" id="site_logo">
                                        <?php if(isset($siteSetting) && $siteSetting->site_logo): ?>
                                        <img src="<?php echo e(asset($siteSetting->site_logo)); ?>" alt="Site Logo" class="img-thumbnail mt-2" style="max-width: 150px;">
                                        <?php endif; ?>
                                    </div>
                                </div>

                                <div class="text-end">
                                    <button type="submit" class="btn btn-success">Save Settings</button>
                                </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.main', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/ewx7upyjsani/public_html/androidwale.com/resources/views/admin/sitesetting/create.blade.php ENDPATH**/ ?>