<?php if(Auth::user()): ?>
    <div class="easier-mode">
        <div class="easier-section-area">
            <?php endif; ?>

            <footer class="footer-wrapper footer-1">
                <div class="footer-widgets-wrapper">
                    <div class="container">
                        <?php if(Auth::user()): ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
                                <!-- hover effect for mobile devices  -->
                                <div class="click-icon d-md-none text-center">
                                    <button class="custom-btn text-white">
                                        <i class="fa fa-mobile-alt text-white"></i> <?php echo e(__('content.touch')); ?>

                                    </button>
                                </div>
                            <?php endif; ?>
                        <?php endif; ?>
                        <div class="row">
                            <div class="col-xl-3 col-lg-4 col-md-6 col-12">
                                <div class="single-footer-widget wow fadeInLeft">
                                    <div class="about-us-widget">
                                        <?php if(isset($footer_image_style1)): ?>
                                            <?php if(!empty($footer_image_style1->section_image)): ?>
                                                <a href="<?php echo e(url('/')); ?>" class="footer-logo d-block">
                                                    <img src="<?php echo e(asset('uploads/img/general/'.$footer_image_style1->section_image)); ?>" alt="logo image">
                                                </a>
                                            <?php endif; ?>
                                        <?php else: ?>
                                            <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                                <a href="#" class="footer-logo d-block">
                                                    <img src="<?php echo e(asset('uploads/img/dummy/your-logo.jpg')); ?>" alt="xmoze logo image">
                                                </a>
                                            <?php endif; ?>
                                        <?php endif; ?>
                                        <?php if(isset($site_info_section_style1)): ?>
                                            <p><?php echo html_entity_decode($site_info_section_style1->description); ?></p>
                                        <?php else: ?>
                                            <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                                <p>Xmoze helps millions of people get the best Wordpress theme design and offers software reviews, ratings, comprehensive services.</p>
                                            <?php endif; ?>
                                        <?php endif; ?>
                                    </div>
                                </div>
                            </div>
                            <?php if(is_countable($footer_categories) && count($footer_categories) > 0): ?>
                                <?php $__currentLoopData = $footer_categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $footer_category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="col-xl-2 col-lg-3 offset-xl-1 col-md-6 col-12">
                                        <div class="single-footer-widget wow fadeInLeft" data-wow-delay=".2s">
                                            <div class="widget-title">
                                                <h5><?php echo e($footer_category->category_name); ?></h5>
                                            </div>
                                            <ul>
                                                <?php $__currentLoopData = $footers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $footer): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <?php if($footer_category->category_name == $footer->category_name): ?>
                                                        <li><a href="<?php echo e($footer->url); ?>"><?php echo e($footer->title); ?></a></li>
                                                    <?php endif; ?>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            </ul>
                                        </div>
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            <?php else: ?>
                                <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                    <div class="col-xl-2 col-lg-3 offset-xl-1 col-md-6 col-12">
                                        <div class="single-footer-widget wow fadeInLeft" data-wow-delay=".2s">
                                            <div class="widget-title">
                                                <h5>Company</h5>
                                            </div>
                                            <ul>
                                                <li><a href="#">About xmoze</a></li>
                                                <li><a href="#">Contact & support</a></li>
                                                <li><a href="#">Setting & privacy</a></li>
                                                <li><a href="#">Setting & privacy</a></li>
                                            </ul>
                                        </div>
                                    </div>
                                    <div class="col-xl-2 col-lg-3 offset-xl-1 col-md-6 col-12">
                                        <div class="single-footer-widget wow fadeInLeft" data-wow-delay=".4s">
                                            <div class="widget-title">
                                                <h5>Services</h5>
                                            </div>
                                            <ul>
                                                <li><a href="#">Incident responder</a></li>
                                                <li><a href="#">Secure managed IT</a></li>
                                                <li><a href="#">Check website Url</a></li>
                                                <li><a href="#">Locker security</a></li>
                                            </ul>
                                        </div>
                                    </div>
                                    <div class="col-xl-2 col-lg-3 offset-xl-1 col-md-6 col-12">
                                        <div class="single-footer-widget wow fadeInLeft" data-wow-delay=".6s">
                                            <div class="widget-title">
                                                <h5>Resources</h5>
                                            </div>
                                            <ul>
                                                <li><a href="#">Payment plans</a></li>
                                                <li><a href="#">Blogs & guides</a></li>
                                                <li><a href="#">Premium support</a></li>
                                                <li><a href="#">Our products</a></li>
                                            </ul>
                                        </div>
                                    </div>
                                <?php endif; ?>
                            <?php endif; ?>
                        </div>
                    </div>
                </div>
                <div class="footer-bottom-wrapper">
                    <div class="container">
                        <div class="footer-bottom-content d-md-flex justify-content-between">
                            <div class="site-copyright wow fadeInUp" data-wow-delay=".2" data-wow-duration="1s">
                                <?php if(isset($site_info_section_style1)): ?>
                                    <?php if(!empty($site_info_section_style1->copyright)): ?>
                                        <p><?php echo html_entity_decode($site_info_section_style1->copyright); ?></p>
                                    <?php endif; ?>
                                <?php else: ?>
                                    <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                        <p>&copy; 2024 <a href="#">ElseColor</a> All Rights Reserved.</p>
                                    <?php endif; ?>
                                <?php endif; ?>
                            </div>
                            <?php if(is_countable($socials) && count($socials) > 0): ?>
                                <div class="social-links mt-4 mt-md-0 wow fadeInUp" data-wow-delay=".3" data-wow-duration="1s">
                                    <?php $__currentLoopData = $socials; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $social): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <a href="<?php echo e($social->url); ?>"><i class="<?php echo e($social->social_media); ?>"></i></a>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </div>
                            <?php else: ?>
                                <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                    <div class="social-links mt-4 mt-md-0 wow fadeInUp" data-wow-delay=".3" data-wow-duration="1s">
                                        <a href="#"><i class="fab fa-facebook-f"></i></a>
                                        <a href="#"><i class="fab fa-twitter"></i></a>
                                        <a href="#"><i class="fab fa-instagram"></i></a>
                                        <a href="#"><i class="fab fa-linkedin"></i></a>
                                    </div>
                                <?php endif; ?>
                            <?php endif; ?>
                        </div>
                    </div>
                </div>
            </footer>

            <?php if(Auth::user()): ?>
        </div>
        <div class="easier-middle">
            <?php
                $url = request()->path();
                $modified_url = str_replace('/', '-bracket-', $url);
            ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting check')): ?>
                <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                    <?php echo csrf_field(); ?>
                    <input type="hidden" name="route" value="footer-image.create">
                    <input type="hidden" name="style" value="style1">
                    <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                    <button type="submit" class="custom-btn text-white me-2 mb-2">
                        <i class="fa fa-edit text-white"></i> <?php echo e(__('content.edit_footer_image')); ?>

                    </button>
                </form>
                <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                    <?php echo csrf_field(); ?>
                    <input type="hidden" name="route" value="site-info.create">
                    <input type="hidden" name="style" value="">
                    <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                    <button type="submit" class="custom-btn text-white me-2 mb-2">
                        <i class="fa fa-edit text-white"></i> <?php echo e(__('content.edit_site_info')); ?>

                    </button>
                </form>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
                <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                    <?php echo csrf_field(); ?>
                    <input type="hidden" name="route" value="footer.create">
                    <input type="hidden" name="style" value="">
                    <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                    <button type="submit" class="custom-btn text-white me-2 mb-2">
                        <i class="fa fa-plus text-white"></i> <?php echo e(__('content.add_footer')); ?>

                    </button>
                </form>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting check')): ?>
                <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                    <?php echo csrf_field(); ?>
                    <input type="hidden" name="route" value="social.create">
                    <input type="hidden" name="style" value="">
                    <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                    <button type="submit" class="custom-btn text-white">
                        <i class="fa fa-plus text-white"></i> <?php echo e(__('content.add_social')); ?>

                    </button>
                </form>
            <?php endif; ?>
        </div>
    </div>
<?php endif; ?>
<?php /**PATH /home/beevgisw/grievances/resources/views/frontend/sections/footer/footer-style1.blade.php ENDPATH**/ ?>