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

                <?php if(isset($cta_section_style2)): ?>
                    <section class="cta-banner-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="cta-banner style-2 text-white">
                                <div class="row">
                                    <div class="col-lg-10 offset-lg-1 text-center col-xl-8 offset-xl-2">
                                        <div class="cta-contents">
                                            <h2 class="wow fadeInUp"><?php echo html_entity_decode($cta_section_style2->title); ?></h2>
                                            <?php if(!empty($cta_section_style2->button_image)): ?>
                                                <a href="<?php echo e($cta_section_style2->button_image_url); ?>" class="app-download-btn wow fadeInUp" data-wow-delay=".3s"><img src="<?php echo e(asset('uploads/img/call_to_action/'.$cta_section_style2->button_image)); ?>" alt="button image"></a>
                                            <?php endif; ?>
                                            <?php if(!empty($cta_section_style2->button_image_2)): ?>
                                                <a href="<?php echo e($cta_section_style2->button_image_url_2); ?>" class="app-download-btn wow fadeInUp" data-wow-delay=".6s"><img src="<?php echo e(asset('uploads/img/call_to_action/'.$cta_section_style2->button_image_2)); ?>" alt="button image"></a>
                                            <?php endif; ?>
                                            <?php if(!empty($cta_section_style2->button_image_3)): ?>
                                                <a href="<?php echo e($cta_section_style2->button_image_url_3); ?>" class="app-download-btn wow fadeInUp" data-wow-delay=".9s"><img src="<?php echo e(asset('uploads/img/call_to_action/'.$cta_section_style2->button_image_3)); ?>" alt="button image"></a>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                </div>

                                <div class="white-arrow-icon d-none d-md-block  wow fadeInDown" data-wow-delay=".8s">
                                    <img src="<?php echo e(asset('uploads/img/dummy/icons/white-arrow-icon.svg')); ?>" alt="arrow icon">
                                </div>
                            </div>
                        </div>
                    </section>
                <?php else: ?>
                    <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                    <section class="cta-banner-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="cta-banner style-2 text-white">
                                <div class="row">
                                    <div class="col-lg-10 offset-lg-1 text-center col-xl-8 offset-xl-2">
                                        <div class="cta-contents">
                                            <h2 class="wow fadeInUp">Sign up and improve your business easily</h2>
                                            <a href="#" class="app-download-btn wow fadeInUp" data-wow-delay=".3s"><img src="<?php echo e(asset('uploads/img/dummy/apple.png')); ?>" alt="button image"></a>
                                            <a href="#" class="app-download-btn wow fadeInUp" data-wow-delay=".6s"><img src="<?php echo e(asset('uploads/img/dummy/android.png')); ?>" alt="button image"></a>
                                        </div>
                                    </div>
                                </div>

                                <div class="white-arrow-icon d-none d-md-block  wow fadeInDown" data-wow-delay=".8s">
                                    <img src="<?php echo e(asset('uploads/img/dummy/icons/white-arrow-icon.svg')); ?>" alt="">
                                </div>
                            </div>
                        </div>
                    </section>
                    <?php endif; ?>
                <?php endif; ?>

                <?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="call-to-action.create">
                    <input type="hidden" name="style" value="style2">
                    <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_call_to_action')); ?>

                    </button>
                </form>
            </div>
        </div>
    <?php endif; ?>
<?php endif; ?>
<?php /**PATH /home/lltrusti/casinonexus.online/ajay/resources/views/frontend/sections/call_to_action/call-to-action-style2.blade.php ENDPATH**/ ?>