{{-- The one top app bar on every page: the site's logo and title, then the account menu for a signed-in user, or the theme toggle and a way to sign in for everyone else. --}} @php $siteTitle = \App\Models\Setting::get('site_title') ?: config('app.name', 'SealShare'); $siteLogo = \App\Models\Setting::get('site_logo'); @endphp @if ($siteLogo) @else @endif {{ $siteTitle }} @auth @if (auth()->user()->is_admin) @endif
@csrf
@else @if (Route::has('login') && ! request()->routeIs('login')) @endif @endauth