<?php $__env->startSection('title', 'Juzs'); ?>

<?php $__env->startSection('content'); ?>
<div class="page-content">
    <div class="container-fluid">
        <!-- Page Title -->
        <div class="row">
            <div class="col-12">
                <div class="page-title-box d-sm-flex align-items-center justify-content-between">
                    <h4 class="mb-sm-0">Juzs (Parts)</h4>
                    <div class="page-title-right">
                        <ol class="breadcrumb m-0">
                            <li class="breadcrumb-item"><a href="<?php echo e(route('home')); ?>">Home</a></li>
                            <li class="breadcrumb-item"><a href="<?php echo e(route('quran.index')); ?>">Quran</a></li>
                            <li class="breadcrumb-item active">Juzs</li>
                        </ol>
                    </div>
                </div>
            </div>
        </div>

        <div class="row">
            <?php $__currentLoopData = $juzs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $juz): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="col-xl-3 col-md-6">
                <div class="card card-animate">
                    <div class="card-body">
                        <div class="d-flex align-items-center">
                            <div class="flex-grow-1 overflow-hidden">
                                <p class="text-uppercase fw-medium text-muted text-truncate mb-0">Juz</p>
                            </div>
                            <div class="flex-shrink-0">
                                <i class="ri-bookmark-line text-primary fs-2"></i>
                            </div>
                        </div>
                        <div class="d-flex align-items-end justify-content-between mt-4">
                            <div>
                                <h4 class="fs-22 fw-semibold ff-secondary mb-4"><?php echo e($juz->juz_number); ?></h4>
                                <?php if($juz->ayahs_data && isset($juz->ayahs_data['ayahs'])): ?>
                                <p class="text-muted mb-0"><?php echo e(count($juz->ayahs_data['ayahs'])); ?> Ayats</p>
                                <?php endif; ?>
                                <a href="<?php echo e(route('quran.juz.show', $juz->juz_number)); ?>" class="btn btn-sm btn-primary mt-2">
                                    <i class="ri-eye-line"></i> View Details
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/macbookpro/Downloads/mulikat/resources/views/dashboard/quran/juzs.blade.php ENDPATH**/ ?>