@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('frontend/assets/images/favicon.png');
$favIcon =
!empty($site->fav_icon) && Storage::exists($site->fav_icon)
? asset(Storage::url($site->fav_icon))
: asset('frontend/assets/images/favicon.png');
@endphp
@yield('title') : : {{ $site->title ?? 'BMF Competitions' }}
@include('layouts.frontend.css')
@yield('css')
@yield('style')
@include('layouts.frontend.loader')
@include('layouts.frontend.nav_bar', ['logo' => $logo])
@yield('content')
@include('layouts.frontend.footer')
{{-- Models PopUps --}}
@include('application.components.login')
@include('application.components.register')
@include('application.components.questions-popup')
@include('layouts.frontend.script')
@yield('script')