@yield('title') @yield('style') @php $phone = \App\Models\Setting::where('slug','phone')->get('value')->first()->value ?? ''; $email = \App\Models\Setting::where('slug','email')->get('value')->first()->value ?? ''; $facebook = \App\Models\Setting::where('slug','facebook')->get('value')->first()->value ?? ''; $instagram = \App\Models\Setting::where('slug','instagram')->get('value')->first()->value ?? ''; $linkedin = \App\Models\Setting::where('slug','linkedin')->get('value')->first()->value ?? ''; $logo = \App\Models\Setting::where('slug','logo')->get('value')->first()->value ?? ''; $white_logo = \App\Models\Setting::where('slug','white-logo')->get('value')->first()->value ?? ''; @endphp
@if($email != '')
{{$email}}
@endif @if($phone != '')
{{$phone}}
@endif
@yield('content') @yield('script')