<?php if (isset($component)) { $__componentOriginale9b1828e76ebe0c7e000efe9977b8aa6 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginale9b1828e76ebe0c7e000efe9977b8aa6 = $attributes; } ?>
<?php $component = App\View\Components\Layouts\AuthLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('layouts.auth-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Layouts\AuthLayout::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
    <div class="flex flex-col">
        <h2 class="text-size-subtitle font-semibold mb-8">
            Bienvenido <span class="bg-secondary"><?php echo e(auth()->user()->name); ?></span>
        </h2>
        <h3 class="text-size-heading">Aquí puedes editar las secciones de los contratos.</h3>

        <div class="max-w-[920px] mt-8">
            <?php if($contracts->isNotEmpty()): ?>
                <div class="grid grid-cols-2 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6">
                    <?php $__currentLoopData = $contracts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $contract): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if (isset($component)) { $__componentOriginal3a99103579500a69e352998e5cb008d7 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal3a99103579500a69e352998e5cb008d7 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.cards.contract-card','data' => ['contract' => $contract]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('cards.contract-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['contract' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($contract)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal3a99103579500a69e352998e5cb008d7)): ?>
<?php $attributes = $__attributesOriginal3a99103579500a69e352998e5cb008d7; ?>
<?php unset($__attributesOriginal3a99103579500a69e352998e5cb008d7); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal3a99103579500a69e352998e5cb008d7)): ?>
<?php $component = $__componentOriginal3a99103579500a69e352998e5cb008d7; ?>
<?php unset($__componentOriginal3a99103579500a69e352998e5cb008d7); ?>
<?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            <?php else: ?>
                <h3 class="text-size-heading">
                    <span class="bg-primary100 text-white">
                        Lo sentimos no hay contratos disponibles.
                    </span>
                </h3>
            <?php endif; ?>
        </div>
    </div>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginale9b1828e76ebe0c7e000efe9977b8aa6)): ?>
<?php $attributes = $__attributesOriginale9b1828e76ebe0c7e000efe9977b8aa6; ?>
<?php unset($__attributesOriginale9b1828e76ebe0c7e000efe9977b8aa6); ?>
<?php endif; ?>
<?php if (isset($__componentOriginale9b1828e76ebe0c7e000efe9977b8aa6)): ?>
<?php $component = $__componentOriginale9b1828e76ebe0c7e000efe9977b8aa6; ?>
<?php unset($__componentOriginale9b1828e76ebe0c7e000efe9977b8aa6); ?>
<?php endif; ?><?php /**PATH C:\laragon\www\housecontract\resources\views/home.blade.php ENDPATH**/ ?>