@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 @yield('title') : : {{$site->title ?? 'BMF Competitions'}} @include('layouts.simple.css') @yield('css') @yield('style') getName() == 'index') onload="startTime()" @elseif (Route::current()->getName() == 'button-builder') class="button-builder" @endif>
{{-- @include('layouts.alerts') --}} @include('layouts.simple.header', ['logo' => $logo])
@include('layouts.simple.sidebar-new', ['logo' => $logo])
@yield('breadcrumb-title')
@yield('content')
@include('layouts.simple.footer')
@include('layouts.simple.script') @yield('scripts')