<?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">Catagory Details</h3>
                </div>

                <div class="card-body">

                    <table class="table table-bordered">
                        <!-- Image Row -->
                        <tr>
                            <th width="30%">Image</th>
                            <td>
                                <?php if($catagory->image): ?>
                                    <img src="<?php echo e(asset($catagory->image)); ?>" width="100" alt="Catagory 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($catagory->alt_text ?? '—'); ?></td>
                        </tr>

                        <!-- Description -->
                        <tr>
                            <th>Title</th>
                            <td><?php echo e($catagory->title ?? '—'); ?></td>
                        </tr>
                         <tr>
                            <th>Amazon Link</th>
                            <td><?php echo e($catagory->amazon_link ?? '—'); ?></td>
                        </tr>




                        <!-- Status -->
                        <tr>
                            <th>Status</th>
                            <td>
                                <?php if($catagory->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($catagory->priority ?? '—'); ?></td>
                        </tr>
                    </table>

                </div>

                <!-- Card Footer -->
                <div class="card-footer text-end">
                    <a href="<?php echo e(route('catagory.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 D:\laragon\www\bookFire\resources\views/backend/pages/catagory/show.blade.php ENDPATH**/ ?>