<?php $__env->startSection('title', 'Detalles de Hardware'); ?>

<?php $__env->startSection('content'); ?>
<div class="row justify-content-center">
    <div class="col-md-8">
        <div class="card shadow-sm">
            <div class="card-header bg-info text-white">
                <h5><i class="bi bi-cpu"></i> Detalles del Hardware #<?php echo e($hardware->id_hardware); ?></h5>
            </div>
            <div class="card-body">
                <table class="table table-bordered">
                    <tr>
                        <th>Procesador</th>
                        <td><?php echo e($hardware->procesador ?? 'No especificado'); ?></td>
                    </tr>
                    <tr>
                        <th>RAM</th>
                        <td><?php echo e($hardware->ram_gb); ?> GB</td>
                    </tr>
                    <tr>
                        <th>Almacenamiento</th>
                        <td><?php echo e($hardware->almacenamiento_gb); ?> GB</td>
                    </tr>
                    <tr>
                        <th>Tipo de Almacenamiento</th>
                        <td>
                            <span class="badge bg-<?php echo e($hardware->tipo_almacenamiento == 'SSD' ? 'success' : ($hardware->tipo_almacenamiento == 'NVMe' ? 'primary' : 'secondary')); ?>">
                                <?php echo e($hardware->tipo_almacenamiento); ?>

                            </span>
                        </td>
                    </tr>
                </table>

                <div class="d-flex justify-content-end">
                    <a href="<?php echo e(route('hardwares.edit', $hardware)); ?>" class="btn btn-warning me-2">Editar</a>
                    <a href="<?php echo e(route('hardwares.index')); ?>" class="btn btn-secondary">Volver</a>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\Andespc\resources\views/admin/hardwares/show.blade.php ENDPATH**/ ?>