<?php if(Auth::user()): ?>
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
        <div class="easier-mode">
            <div class="easier-section-area">
                <?php endif; ?>
                <?php endif; ?>

                <section class="hero-welcome-wrapper hero-3 fw500">
                    <div class="single-slide">
                        <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 align-items-center">
                                <?php if(isset($banner_style3)): ?>
                                    <?php if(!empty($banner_style3->section_image)): ?>
                                        <div class="col-xl-5 col-12 text-xl-start mt-5 mt-xl-0 text-center order-2 order-xl-1">
                                            <div class="hero-mobile">
                                                <img src="<?php echo e(asset('uploads/img/banner/'.$banner_style3->section_image)); ?>" alt="image">
                                            </div>
                                        </div>
                                    <?php endif; ?>
                                <?php else: ?>
                                    <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                        <div class="col-xl-5 col-12 text-xl-start mt-5 mt-xl-0 text-center order-2 order-xl-1">
                                            <div class="hero-mobile">
                                                <img src="<?php echo e(asset('uploads/img/dummy/330x665.webp')); ?>" alt="image">
                                            </div>
                                        </div>
                                    <?php endif; ?>
                                <?php endif; ?>
                                <div class="col-xl-7 ps-xl-5 text-center text-xl-start col-12 order-1 order-xl-2">
                                    <div class="hero-contents">
                                        <?php if(isset($banner_style3)): ?>
                                            <h1><?php echo html_entity_decode($banner_style3->title); ?></h1>
                                            <p><?php echo html_entity_decode($banner_style3->description); ?></p>
                                            <?php if(!empty($banner_style3->button_image)): ?>
                                                <a href="<?php echo e($banner_style3->button_image_url); ?>" class="app-download-btn"><img src="<?php echo e(asset('uploads/img/banner/'.$banner_style3->button_image)); ?>" alt="button image"></a>
                                            <?php endif; ?>
                                            <?php if(!empty($banner_style3->button_image_2)): ?>
                                                <a href="<?php echo e($banner_style3->button_image_url_2); ?>" class="app-download-btn"><img src="<?php echo e(asset('uploads/img/banner/'.$banner_style3->button_image_2)); ?>" alt="button image"></a>
                                            <?php endif; ?>
                                            <?php if(!empty($banner_style3->button_image_3)): ?>
                                                <a href="<?php echo e($banner_style3->button_image_url_3); ?>" class="app-download-btn"><img src="<?php echo e(asset('uploads/img/banner/'.$banner_style3->button_image_3)); ?>" alt="button image"></a>
                                            <?php endif; ?>
                                        <?php else: ?>
                                            <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                                <h1>Online banking solution for the next generation</h1>
                                                <p>Nowadays the simplest and most popular online banking solution for that saves time by speeding up your banking work apart from and also this you can do banking anytime, anywhere.</p>
                                                <a href="#" class="app-download-btn"><img src="<?php echo e(asset('uploads/img/dummy/apple.png')); ?>" alt="button image"></a>
                                                <a href="#" class="app-download-btn"><img src="<?php echo e(asset('uploads/img/dummy/android.png')); ?>" alt="button image"></a>
                                            <?php endif; ?>
                                        <?php endif; ?>
                                        <div class="client-feedback-wrapper">
                                            <?php if(is_countable($banner_clients_style3) && count($banner_clients_style3)): ?>
                                                <div class="client-faces">
                                                    <?php $__currentLoopData = $banner_clients_style3; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $banner_client): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                        <?php if(!empty($banner_client->section_image)): ?>
                                                            <div class="single-face bg-cover" style="background-image: url('<?php echo e(asset('uploads/img/banner/'.$banner_client->section_image)); ?>')"></div>
                                                        <?php endif; ?>
                                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                    <?php unset($banner_client); ?>
                                                </div>
                                            <?php else: ?>
                                                <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                                    <div class="client-faces">
                                                        <div class="single-face bg-cover" style="background-image: url('<?php echo e(asset('uploads/img/dummy/35x35.png')); ?>')"></div>
                                                        <div class="single-face bg-cover" style="background-image: url('<?php echo e(asset('uploads/img/dummy/35x35.png')); ?>')"></div>
                                                        <div class="single-face bg-cover" style="background-image: url('<?php echo e(asset('uploads/img/dummy/35x35.png')); ?>')"></div>
                                                        <div class="single-face bg-cover" style="background-image: url('<?php echo e(asset('uploads/img/dummy/35x35.png')); ?>')"></div>
                                                        <div class="single-face bg-cover" style="background-image: url('<?php echo e(asset('uploads/img/dummy/35x35.png')); ?>')"></div>
                                                    </div>
                                                <?php endif; ?>
                                            <?php endif; ?>
                                            <?php if(isset($banner_client_section_style3)): ?>
                                                <h6><?php echo html_entity_decode($banner_client_section_style3->title); ?></h6>
                                                <div class="rating">
                                                    <span class="icon-star"></span> <?php echo html_entity_decode($banner_client_section_style3->description); ?>
                                                </div>
                                            <?php else: ?>
                                                <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                                    <h6>Satisfied global clients</h6>
                                                    <div class="rating">
                                                        <span class="icon-star"></span> 4.5 Global rating
                                                    </div>
                                                <?php endif; ?>
                                            <?php endif; ?>
                                            <div class="hero-arrow">
                                                <img src="<?php echo e(asset('uploads/img/dummy/icons/hero-arrow.png')); ?>" alt="icon image">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>

                <?php if(Auth::user()): ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
            </div>
            <div class="easier-middle">
                <?php
                    $url = request()->path();
                    $modified_url = str_replace('/', '-bracket-', $url);
                ?>
                <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="banner.create">
                    <input type="hidden" name="style" value="style3">
                    <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                    <button type="submit" class="custom-btn text-white">
                        <i class="fa fa-edit text-white"></i> <?php echo e(__('content.edit_banner')); ?>

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