<?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="core-features-wrapper section-padding mtm-30">
                    <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">
                            <?php if(is_countable($features_style2) && count($features_style2) > 0): ?>
                                <?php $__currentLoopData = $features_style2; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="col-md-6 col-xl-3 col-12">
                                        <?php if(Auth::user()): ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
                                                <?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="feature.edit">
                                                    <input type="hidden" name="single_id" value="<?php echo e($item->id); ?>">
                                                    <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                                                    <button type="submit" class="me-2 custom-pure-button">
                                                        <i class="fa fa-edit text-info easier-custom-font-size-24"></i>
                                                    </button>
                                                </form>
                                            <?php endif; ?>
                                        <?php endif; ?>
                                        <div class="single-core-feature">
                                            <?php if($item->type == 'image'): ?>
                                                <?php if(!empty($item->section_image)): ?>
                                                    <div class="icon">
                                                        <img src="<?php echo e(asset('uploads/img/feature/'.$item->section_image)); ?>" alt="feature image">
                                                    </div>
                                                <?php endif; ?>
                                            <?php else: ?>
                                                <div class="icon">
                                                    <i class="<?php echo e($item->icon); ?> custom-font-size-64"></i>
                                                </div>
                                            <?php endif; ?>
                                            <div class="content">
                                                <h3><?php echo html_entity_decode($item->title); ?></h3>
                                                <p><?php echo html_entity_decode($item->description); ?></p>
                                            </div>
                                        </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-md-6 col-xl-3 col-12">
                                    <div class="single-core-feature">
                                        <div class="icon">
                                            <img src="<?php echo e(asset('uploads/img/dummy/icons/love.svg')); ?>" alt="icon image">
                                        </div>
                                        <div class="content">
                                            <h3>Lifetime Access</h3>
                                            <p>With this software you will get lifetime access very easily</p>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-6 col-xl-3 col-12">
                                    <div class="single-core-feature">
                                        <div class="icon">
                                            <img src="<?php echo e(asset('uploads/img/dummy/icons/grid.svg')); ?>" alt="icon image">
                                        </div>
                                        <div class="content">
                                            <h3>Simple Layout</h3>
                                            <p>Software with easy layout for easy understanding & working</p>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-6 col-xl-3 col-12">
                                    <div class="single-core-feature">
                                        <div class="icon">
                                            <img src="<?php echo e(asset('uploads/img/dummy/icons/manibag.svg')); ?>" alt="icon image">
                                        </div>
                                        <div class="content">
                                            <h3>Quick Customizable</h3>
                                            <p>With this software you can sort everything as you like</p>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-6 col-xl-3 col-12">
                                    <div class="single-core-feature">
                                        <div class="icon">
                                            <img src="<?php echo e(asset('uploads/img/dummy/icons/notifications.svg')); ?>" alt="icon image">
                                        </div>
                                        <div class="content">
                                            <h3>Reduce Expenses</h3>
                                            <p>You can reduce expenses by managing your business well</p>
                                        </div>
                                    </div>
                                </div>
                                <?php endif; ?>
                            <?php endif; ?>
                        </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="feature.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-plus text-white"></i> <?php echo e(__('content.add_feature')); ?>

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