{{ config('app.name') }}
    @guest
    @if (Route::has('login'))
  • {{ __('Login') }}
  • @endif @if (Route::has('register'))
  • {{ __('Register') }}
  • @endif @else
    Notifications
    @foreach (App\Models\PostNotification::orderBy('id', 'desc')->take(3)->get() as $notification) @if (auth()->check() && auth()->user()->id !== $notification->user_id)

    {{ $notification->name }} shared a post

    {{ $notification->created_at->diffForHumans() }}
    @endif @endforeach
    {{ Auth::user()->name }}
    {{ __('Logout') }}
    @csrf
    Profile
    @endguest