@stack('scripts')
{{ config('app.name', 'Laravel') }}
{{-- Font (opcjonalnie) --}}
{{-- Bootstrap 5 CDN --}}
{{-- Jeśli masz własne skrypty, zostaw: --}} @vite(['resources/js/app.js']) @stack('styles') {{-- ... head jak wcześniej ... --}}
{{ config('app.name', 'App') }}
{{-- Tylko na mobile --}}
{{-- Desktop nav: tylko ≥ lg --}}
{{ __('Dashboard') }}
@auth
{{ __('Faktury') }}
{{ __('Kontrahent') }}
{{ __('Nowa faktura') }}
@endauth
@auth
{{ strtoupper(mb_substr(Auth::user()?->name ?? 'U', 0, 1)) }}
{{ Auth::user()?->name }}
{{ __('Profile') }}
{{ __('Ksef Config') }}
@csrf
{{ __('Log Out') }}
@else @if (Route::has('login'))
{{ __('Log in') }}
@endif @if (Route::has('register'))
{{ __('Register') }}
@endif @endauth
{{-- Offcanvas: tylko < lg (ukryty na desktopie) --}}
{{ config('app.name', 'App') }}
{{ __('Dashboard') }}
@auth
{{ __('Faktury') }}
{{ __('Kontrahent') }}
{{ __('Nowa faktura') }}
@endauth
@auth
{{ Auth::user()?->name }}
{{ Auth::user()?->email }}
{{ __('Profile') }}
@csrf
{{ __('Log Out') }}
@else
@if (Route::has('login'))
{{ __('Log in') }}
@endif @if (Route::has('register'))
{{ __('Register') }}
@endif
@endauth
{{-- Header + main bez zmian --}} @isset($header)
{{ $header }}
@endisset
@isset($slot) {{ $slot }} @else @yield('content') @endisset