
<?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" 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">
                                    <!-- Sidebar 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>

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

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

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

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

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

                                    <!-- Footer Bg Color -->
                                    <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>

                                    <!-- Footer Text Color -->
                                    <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>

                                    <!-- Social Links -->
                                    <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>

                                    <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>

                                    <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>

                                    <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>

                                    <div class="col-md-4 col-12">
                                        <div class="mb-3">
                                            <label for="youtube">YouTube:</label>
                                            <input class="form-control" type="text" name="youtube" id="youtube"
                                                value="<?php echo e(old('youtube', $siteSetting->youtube ?? '')); ?>">
                                        </div>
                                    </div>

                                    <!-- Site title -->
                                    <div class="col-md-4 col-12">
                                        <div class="mb-3">
                                            <label for="site_title">Site Title:</label>
                                            <input class="form-control" type="text" name="site_title" id="site_title"
                                                value="<?php echo e(old('site_title', $siteSetting->site_title ?? '')); ?>">
                                        </div>
                                    </div>

                                    <!-- 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-6 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>


                                    <!-- Meta Keywords -->
                                    <div class="col-md-12 col-12">
                                        <div class="mb-3">
                                            <label for="meta_keyword">Meta Keywords:</label>
                                            <textarea class="form-control" type="text" name="meta_keyword"
                                                id="meta_keyword"><?php echo e(old('meta_keyword', $siteSetting->meta_keyword ?? '')); ?></textarea>
                                        </div>
                                    </div>

                                    <!-- Meta Description -->
                                    <div class="col-md-12 col-12">
                                        <div class="mb-3">
                                            <label for="meta_description">Meta Description:</label>
                                            <textarea class="form-control" name="meta_description" id="meta_description">
                                                        <?php echo e(old('meta_description', $siteSetting->meta_description ?? '')); ?>

                                            </textarea>
                                        </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 D:\NEWXAMP\htdocs\androidwale.com\resources\views/admin/sitesetting/create.blade.php ENDPATH**/ ?>