{{-- Dashboard --}} {{-- If you use user icon and menu add margin mr-3 to search --}} {{--
--}} @livewire('global-search')
  • @if($new_alert_count = auth()->user()->alerts()->wherePivot('seen_at', null)->count()) {{ $new_alert_count }} @endif
    @forelse(auth()->user()->alerts()->latest()->take(10)->get() as $alert) @if($alert->link) {{ $alert->message }} @else {{ $alert->message }} @endif @empty {{ __('global.no_alerts') }} @endforelse
@if(file_exists(app_path('Http/Livewire/LanguageSwitcher.php')))
@endif {{-- User icon and menu --}} {{--
    ...
    ActionAnother actionSomething else here
    Seprated link
--}}