<div>
    <?php if(session()->has('message')): ?>
    <?php echo e($slot); ?>

    <div class="bg-green-100 border border-green-400 text-green-700 px-4 py-3 rounded relative m-4 alert alert-success" role="alert">
        <span class="block sm:inline"><small><?php echo e(session()->get('message')); ?></small></span>
    </div>


    <?php elseif(session()->has('error')): ?>
    <?php echo e($slot); ?>

    <div class="bg-red-100 border border-red-400 text-red-700 px-4 py-3 alert alert-danger rounded relative" role="alert">
        <span class="block sm:inline"><?php echo e(session()->get('error')); ?></span>
    </div>
    <?php endif; ?>

</div><?php /**PATH C:\wamp64\www\jango\resources\views/components/alert.blade.php ENDPATH**/ ?>