@inject ('setting', 'App\Models\Cms\Setting')
{{ $setting::getValue('app', 'name', 'Laravel') }}
@php $public = url('/'); @endphp
{{ $setting::getValue('app', 'name', 'Laravel') }}
@guest
{{ __('Login') }}
@if (Route::has('register') && $setting::getValue('website', 'allow_registering', 0))
{{ __('Register') }}
@endif @else
{{ Auth::user()->name }}
{{ __('Logout') }}
@csrf
@accessadmin ()
{{ __('Admin') }}
@endaccessadmin
{{ __('New token') }}
@endguest
@yield('content')