{{-- 手機版漢堡選單 --}}

@yield('title')

{{-- 回前台 --}} {{-- 深色模式切換 --}} {{-- 帳號下拉選單 --}}
{{-- 下拉選單 --}}

{{ auth()->user()->name }}

{{ auth()->user()->role->name ?? '未設定' }}

@csrf
@if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(session('success'))
{{ session('success') }}
@endif @if(session('password_warning'))
{{ session('password_warning') }}
@endif
@yield('content')