@php $site = \App\Models\SiteSettings::where('type', 'site_details')->first(); $siteSocialMedia = \App\Models\SiteSettings::where('type', 'social_media')->get(); $logo = !empty($site->logo) && Storage::exists($site->logo) ? asset(Storage::url($site->logo)) : asset('assets/images/logo/logo-white.png'); $favIcon = !empty($site->fav_icon) && Storage::exists($site->fav_icon) ? asset(Storage::url($site->fav_icon)) : asset('frontend/assets/images/favicon.png'); @endphp