-

<?php $__env->startSection('content'); ?>
<div class="container-fluid">
    <div class="row justify-content-center">
        <div class="col-md-8">

            <div class="card shadow-sm">
                <!-- Card Header -->
                <div class="card-header bg-primary text-white d-flex justify-content-center">
                    <h3 class="card-title mb-0">Slider Details</h3>
                </div>

                <div class="card-body">

                    <table class="table table-bordered">
                        <!-- Image Row -->
                        <tr>
                            <th width="30%">Image</th>
                            <td>
                                <?php if($slider->image): ?>
                                    <img src="<?php echo e(asset($slider->image)); ?>" width="100" alt="slider Image">
                                <?php else: ?>
                                    <span class="text-muted">No Image</span>
                                <?php endif; ?>
                            </td>
                        </tr>

                        <!-- Name -->
                        <tr>
                            <th width="30%">Alt Text</th>
                            <td><?php echo e($slider->alt_text ?? '—'); ?></td>
                        </tr>

                        <!-- Description -->
                        <tr>
                            <th>Title</th>
                            <td><?php echo e($slider->title ?? '—'); ?></td>
                        </tr>
                        <tr>
                            <th>Author</th>
                            <td><?php echo e($slider->author ?? '—'); ?></td>
                        </tr>

                          <tr>
                            <th>Book Link</th>
                            <td><?php echo e($slider->amazon_link ?? '—'); ?></td>
                        </tr>


                        <tr>
                            <th>Description</th>
                            <td><?php echo e($slider->description ?? '—'); ?></td>
                        </tr>



                        <!-- Status -->
                        <tr>
                            <th>Status</th>
                            <td>
                                <?php if($slider->status == 1): ?>
                                    <span class="badge bg-primary">Active</span>
                                <?php else: ?>
                                    <span class="badge bg-danger">De-Active</span>
                                <?php endif; ?>
                            </td>
                        </tr>

                        <!-- Priority -->
                        <tr>
                            <th>Priority</th>
                            <td><?php echo e($slider->priority ?? '—'); ?></td>
                        </tr>
                    </table>

                </div>

                <!-- Card Footer -->
                <div class="card-footer text-end">
                    <a href="<?php echo e(route('sliders.index')); ?>" class="btn btn-primary">
                        <i class="fa fa-arrow-left"></i> Back
                    </a>
                </div>
            </div>

        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('backend.dashboard', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/ipsitaltd/public_html/books.ipsitacomputersltd.com/resources/views/backend/pages/sliders/show.blade.php ENDPATH**/ ?>