
<?php $__env->startSection('theme-title'); ?>
    <?php echo e(__('Site Themes')); ?>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('theme-content'); ?>

    <?php $__currentLoopData = $themes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $theme): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="col-xl-4 col-lg-4 col-md-4 col-12">
            <div class="site-card">
                <div class="site-card-header">
                    <h3 class="title"><?php echo e(ucwords( str_replace('_', ' ',$theme->name) )); ?> Theme</h3>
                </div>
                <div class="site-card-body">
                    <div class="theme-img">
                        <?php if($theme->status): ?>
                            <div class="activated"><?php echo e(__('Activated')); ?></div>
                        <?php endif; ?>
                        <img class="w-100" src="<?php echo e(asset('backend/materials/theme/'.$theme->name . '.jpg')); ?>" alt="">
                    </div>
                    <?php if($theme->status): ?>
                        <a href="#" class="site-btn w-100 centered mt-4 disabled"><i icon-name="circle-slash-2"></i><?php echo e(__('Activated Theme')); ?></a>
                    <?php else: ?>
                        <a href="<?php echo e(route('admin.theme.status-update',['id' => $theme->id])); ?>" class="site-btn black-btn w-100 centered mt-4"><i icon-name="check"></i><?php echo e(__('Active Now')); ?></a>
                    <?php endif; ?>

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

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