<?php $__env->startSection('body'); ?>
<div class="card rounded-3">
    <div class="card-body text-center">
        <?php if($voting): ?>
            <h5 class="card-title fw-semibold mb-4 text-uppercase fs-6"><?php echo e($voting->title); ?></h5>
            <p class="card-text"><?php echo $voting->description; ?></p>
            <p class="card-text">Voting Start Date<br><strong><?php echo e($voting->start_date); ?></strong></p>
            <p class="card-text">Voting End Date<br><strong><?php echo e($voting->end_date); ?></strong></p>
        <?php endif; ?>
    </div>
</div>
<?php
    $categories->load('nominees');
?>
<?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <div class="card rounded-3 text-center">
        <div class="card-header fx-bold text-uppercase fs-6"><?php echo e($category->name); ?></div>
        <div class="card-body text-center">
            <div class="flex flex-row justify-content-center align-item-center flex-wrap">
                <?php $__currentLoopData = $category->nominees; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $nominee): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="d-inline-block" style="width: 320px;">
                        <div class="mx-auto mb-3 border border-light rounded-circle bg-light" style="width: 150px; height: 150px;">
                            <img src="<?php echo e(Storage::url($nominee->image)); ?>" class="nominee-img img-fluid rounded-circle w-100 h-100" alt="<?php echo e($nominee->name); ?>" />
                        </div>
                        <h3 class="card-title fw-bold mb-2 fs-5 text-uppercase"><?php echo e($nominee->name); ?></h3>
                        <blockquote class="blockquote">
                            <p class="mb-4"><em><?php echo e($nominee->tagline); ?></em></p>
                        </blockquote>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
            
            
        </div>
    </div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/delrzrzk/jda.mygma.xyz/resources/views/pages/home.blade.php ENDPATH**/ ?>