

<?php $__env->startSection('content'); ?>
    <div class="container">
        <h1>General Settings</h1>
        
        <!-- Form to update general settings -->
        <form method="POST" action="<?php echo e(route('admin.settings.update')); ?>" enctype="multipart/form-data">
            <?php echo csrf_field(); ?>

            <!-- Site Name -->
            <div class="mb-3">
                <label for="site_name" class="form-label">Site Name</label>
                <input type="text" class="form-control" id="site_name" name="site_name" value="<?php echo e($generalSettings['site_name'] ?? ''); ?>">
            </div>

            <!-- Site Description -->
            <div class="mb-3">
                <label for="site_description" class="form-label">Site Description</label>
                <textarea class="form-control" id="site_description" name="site_description"><?php echo e($generalSettings['site_description'] ?? ''); ?></textarea>
            </div>

            <!-- Logo Upload -->
            <div class="mb-3">
                <label for="logo" class="form-label">Logo</label>
                <input type="file" class="form-control" id="logo" name="logo">
                <?php if(isset($generalSettings['logo'])): ?>
                <img src="<?php echo e(asset($generalSettings['logo'])); ?>" alt="Site Logo" style="width: 100px; height: 100px;">              <?php endif; ?>
            </div>


            <!-- Privacy Policy -->
<div class="mb-3">
    <label for="privacy_policy" class="form-label">Privacy Policy</label>
    <textarea class="form-control" id="privacy_policy" name="privacy_policy"><?php echo e($generalSettings['privacy_policy'] ?? ''); ?></textarea>
</div>

<!-- Terms and Conditions -->
<div class="mb-3">
    <label for="terms_and_conditions" class="form-label">Terms and Conditions</label>
    <textarea class="form-control" id="terms_and_conditions" name="terms_and_conditions"><?php echo e($generalSettings['terms_and_conditions'] ?? ''); ?></textarea>
</div>

<!-- About Us -->
<div class="mb-3">
    <label for="about_us" class="form-label">About Us</label>
    <textarea class="form-control" id="about_us" name="about_us"><?php echo e($generalSettings['about_us'] ?? ''); ?></textarea>
</div>

            <!-- Submit Button -->
            <button type="submit" class="btn btn-primary">Save Settings</button>
        </form>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\91638\VB150\VB150\resources\views/admin/settings.blade.php ENDPATH**/ ?>