
<?php $__env->startSection('title'); ?>
    <?php echo e(__('About Us')); ?>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <div class="main-content">
        <div class="page-title">
            <div class="container-fluid">
                <div class="row justify-content-center">
                    <div class="col-xl-12">
                        <div class="title-content">
                            <h2 class="title"><?php echo e(__('About Us Page')); ?></h2>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="site-tab-bars">
            <ul class="nav nav-pills" id="pills-tab" role="tablist">
                <?php $__currentLoopData = $languages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <li class="nav-item" role="presentation">
                        <a
                            href=""
                            class="nav-link  <?php echo e($loop->index == 0 ?'active' : ''); ?>"
                            id="pills-informations-tab"
                            data-bs-toggle="pill"
                            data-bs-target="#<?php echo e($language->locale); ?>"
                            type="button"
                            role="tab"
                            aria-controls="pills-informations"
                            aria-selected="true"
                        ><i icon-name="languages"></i><?php echo e($language->name); ?></a
                        >
                    </li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


            </ul>
        </div>

        <div class="tab-content" id="pills-tabContent">

            <?php $__currentLoopData = $groupData; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                <?php
                    $data = new Illuminate\Support\Fluent($value);
                ?>

                <div
                    class="tab-pane fade <?php echo e($loop->index == 0 ?'show active' : ''); ?>"
                    id="<?php echo e($key); ?>"
                    role="tabpanel"
                    aria-labelledby="pills-informations-tab"
                >

                    <div class="row">
                        <div class="col-xl-12">
                            <div class="site-card">
                                <div class="site-card-header">
                                    <h3 class="title"><?php echo e(__('Contents')); ?></h3>
                                </div>
                                <div class="site-card-body">
                                    <form action="<?php echo e(route('admin.page.update')); ?>" method="post" enctype="multipart/form-data">
                                        <?php echo csrf_field(); ?>
                                        <input type="hidden" name="page_code" value="about">
                                        <input type="hidden" name="page_locale" value="<?php echo e($key); ?>">
                                        <div class="site-input-groups row">
                                            <label for="" class="col-sm-3 col-label"><?php echo e(__('Page Title')); ?><i icon-name="info"
                                                                                                              data-bs-toggle="tooltip"
                                                                                                              title=""
                                                                                                              data-bs-original-title="Page Title will show on Breadcrumb"></i></label>
                                            <div class="col-sm-9">
                                                <input type="text" name="title" class="box-input" value="<?php echo e($data->title); ?>">
                                            </div>
                                        </div>


                                        <?php if($key == 'en'): ?>
                                            <div class="site-input-groups row">
                                                <div class="col-xl-3 col-lg-3 col-md-3 col-sm-12 col-label">
                                                    <?php echo e(__('About Us Left Image')); ?>

                                                </div>
                                                <div class="col-xl-9 col-lg-9 col-md-9 col-sm-12">
                                                    <div class="wrap-custom-file">
                                                        <input type="file" name="aboutusLeftImg" id="aboutusLeftImg"
                                                               accept=".gif, .jpg, .png"/>
                                                        <label for="aboutusLeftImg" class="file-ok"
                                                               style="background-image: url( <?php echo e(asset( $data->aboutusLeftImg )); ?> )">
                                                            <img class="upload-icon"
                                                                 src="<?php echo e(asset('global/materials/upload.svg')); ?>" alt=""/>
                                                            <span><?php echo e(__('Update Image')); ?></span>
                                                        </label>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php endif; ?>


                                        <div class="site-input-groups row">
                                            <label for="" class="col-sm-3 col-label"><?php echo e(__('About Us Left Image Badge')); ?><i
                                                    icon-name="info" data-bs-toggle="tooltip" title=""
                                                    data-bs-original-title="This will show on bottom left on the image"></i></label>
                                            <div class="col-sm-9">
                                                <input type="text" name="left_img_badge" class="box-input"
                                                       value="<?php echo e($data->left_img_badge); ?>">
                                            </div>
                                        </div>
                                        <div class="site-input-groups row">
                                            <label for="" class="col-sm-3 col-label"><?php echo e(__('About Us Title Small')); ?><i
                                                    icon-name="info" data-bs-toggle="tooltip" title=""
                                                    data-bs-original-title="Don't need this title? Leave it blank"></i></label>
                                            <div class="col-sm-9">
                                                <input type="text" name="title_small" class="box-input"
                                                       value="<?php echo e($data->title_small); ?>">
                                            </div>
                                        </div>
                                        <div class="site-input-groups row">
                                            <label for="" class="col-sm-3 col-label"><?php echo e(__('About Us Title Big')); ?></label>
                                            <div class="col-sm-9">
                                                <input type="text" name="title_big" class="box-input"
                                                       value="<?php echo e($data->title_big); ?>">
                                            </div>
                                        </div>
                                        <div class="site-input-groups row">
                                            <label for="" class="col-sm-3 col-label"><?php echo e(__('About Us Side Content')); ?></label>
                                            <div class="col-sm-9">
                                        <textarea name="side_content" class="form-textarea"
                                                  placeholder="Content"><?php echo e($data->side_content); ?></textarea>
                                            </div>
                                        </div>

                                        <div class="site-input-groups row">
                                            <label for="" class="col-sm-3 col-label"><?php echo e(__('About Us Content')); ?></label>
                                            <div class="col-sm-9">
                                        <textarea name="content" class="form-textarea summernote"
                                                  placeholder="Content"><?php echo $data->content; ?></textarea>
                                            </div>
                                        </div>

                                        <div class="row mb-4">
                                            <label for="" class="col-sm-3 col-label"></label>
                                            <div class="col-sm-9">
                                                <hr>
                                            </div>
                                        </div>


                                        <div class="site-input-groups row">
                                            <label for="" class="col-sm-3 col-label"><?php echo e(__('Seo Keywords')); ?><i icon-name="info"
                                                                                                                data-bs-toggle="tooltip"
                                                                                                                title=""
                                                                                                                data-bs-original-title="Page Seo Keywords"></i></label>
                                            <div class="col-sm-9">
                                                <input type="text" name="meta_keywords" class="box-input"
                                                       value="<?php echo e($data->meta_keywords); ?>">
                                            </div>
                                        </div>

                                        <div class="site-input-groups row">
                                            <label for="" class="col-sm-3 col-label"><?php echo e(__('Seo Description')); ?><i
                                                    icon-name="info" data-bs-toggle="tooltip" title=""
                                                    data-bs-original-title="Page Seo Description"></i></label>
                                            <div class="col-sm-9">
                                                <input type="text" name="meta_description" class="box-input"
                                                       value="<?php echo e($data->meta_description); ?>">
                                            </div>
                                        </div>
                                        <?php if($key == 'en'): ?>
                                        <div class="site-input-groups row">
                                            <label for="" class="col-sm-3 col-label pt-0"><?php echo e(__('Page Status')); ?><i
                                                    icon-name="info" data-bs-toggle="tooltip" title=""
                                                    data-bs-original-title="Manage Page Visibility"></i></label>
                                            <div class="col-sm-3">
                                                <div class="site-input-groups">
                                                    <div class="switch-field">
                                                        <input type="radio" id="active" name="status" <?php if($status): ?> checked
                                                               <?php endif; ?> value="1"/>
                                                        <label for="active"><?php echo e(__('Show')); ?></label>
                                                        <input type="radio" id="deactivate" name="status" <?php if(!$status): ?> checked
                                                               <?php endif; ?> value="0"/>
                                                        <label for="deactivate"><?php echo e(__('Hide')); ?></label>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <?php endif; ?>
                                        <div class="row">
                                            <div class="offset-sm-3 col-sm-9">
                                                <button type="submit"
                                                        class="site-btn-sm primary-btn w-100"><?php echo e(__('Save Changes')); ?></button>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('backend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/charslib/aogelon.com/resources/views/backend/page/about.blade.php ENDPATH**/ ?>