@php $notAvailable = auth()->check() ? auth()->user()->unreadNotifications()->count() > 0 : false; @endphp
{{-- Left column: brand + inline links --}}
hstream.moe Logo hstream.moe
@auth @endauth
{{-- Center column: live search --}}
@livewire('nav-live-search')
{{-- Right column: right cluster + hamburger --}}
{{-- Community dropdown --}} {{ __('nav.our-discord-server') }} Join our Matrix Contact {{-- Random --}} {{-- Theme toggle --}} @include('partials.themeswitcher') {{-- Account dropdown --}} @auth

Account

{{ __('nav.profile') }} @if ($notAvailable) Notifications @else Notifications @endif {{ __('nav.comments') }} {{ __('nav.likes') }} {{ __('nav.playlists') }} {{ __('nav.watched') }}

Preferences

{{ __('nav.settings') }} @if (Auth::user()->hasRole(\App\Enums\UserRole::ADMINISTRATOR)) Admin @endif @include('partials.blurswitcher')
@csrf {{ __('nav.logout') }}
@endauth @guest
{{ __('nav.login') }}
@endguest
{{-- Hamburger --}}
{{-- Drawer overlay --}}
{{-- Slide-in drawer --}}
{{-- Drawer header --}}
@auth {{ Auth::user()->name }} {{ Auth::user()->name }} @else Guest Guest @endauth
{{-- Primary links --}}

Menu

{{ __('nav.home') }} {{ __('nav.browse') }} {{ __('nav.public-playlists') }} @auth {{ __('nav.downloads') }} @endauth
{{-- Mobile search --}}
@include('partials.mobilesearch')
@auth {{-- Account --}}

Account

@if ($notAvailable) Notifications @else Notifications @endif {{ __('nav.profile') }} {{ __('nav.comments') }} {{ __('nav.likes') }} {{ __('nav.playlists') }} {{ __('nav.watched') }} {{ __('nav.settings') }} @if (Auth::user()->hasRole(\App\Enums\UserRole::ADMINISTRATOR)) Admin @endif
{{-- Logout --}}
@csrf {{ __('nav.logout') }}
@else {{-- Guest login CTA --}}
{{ __('nav.login') }}
@endauth {{-- Community --}}

{{ __('nav.community') }}

{{ __('nav.our-discord-server') }} Join our Matrix
{{-- Toggles --}}

{{ __('nav.theme') }}

@include('partials.themeswitcher')
@include('partials.blurswitcher')