laravel guest blade
snippet in php

laravel guest blade

user9378

//LARAVEL - BLADE:

@guest
    // The user is not authenticated...
@endguest
  
@auth
    // The user is authenticated...
@endauth

@endguest

user1223

<!-- /resources/views/alert.blade.php -->

<div class="alert alert-danger">
    {{ $slot }}
</div>