@yield('meta')
{{ trans('panel.site_title') }} - @yield('title')
@yield('styles')
{{ trans('panel.site_title') }}
@auth {{-- XP Level badge – visible on mobile only; desktop uses the collapsible nav --}}
Lv {{ auth()->user()->xp_level }}
@endauth @guest
@endguest
@guest
{{ __('Login') }}
@if(Route::has('register'))
{{ __('Register') }}
@endif @else
Lv {{ auth()->user()->xp_level }}
{{ Auth::user()->name }}
{{ __('My profile') }}
@can('read_access')
{{ trans('cruds.read.title') }}
@endcan @can('borrow_access')
{{ trans('cruds.borrow.title') }}
@endcan @can('note_access')
{{ trans('cruds.note.title') }}
@endcan
{{ __('Logout') }}
@csrf
@endguest
@if(session('message'))
{{ session('message') }}
@endif @if($errors->count() > 0)
@foreach($errors->all() as $error)
{{ $error }}
@endforeach
@endif @yield('content')
{{-- Mobile bottom navigation bar (authenticated users only) --}} @auth
{{ __('Home') }}
{{ __('My Books') }}
{{ __('Profile') }}
{{-- Mobile profile modal --}}
×
{{ auth()->user()->name }}
{{ auth()->user()->email }}
{{ __('Level') }} {{ auth()->user()->xp_level }} · {{ auth()->user()->xp_points }} XP
@endauth
@yield('scripts')