@if (auth()->check()) @if (auth()->user()->hasRole('Super Admin')) {{ config('app.name') }}    {{ App\Models\SuperAdminSetting::where('key', '=', 'app_name')->first()->value ?? '' }} @else {{ config('app.name') }}    {{ App\Models\Setting::where('key', '=', 'app_name')->where('tenant_id', '=', auth()->user()->tenant_id)->first()->value ?? '' }} @endif @endif