@if(setting('meta_title') != '')
{{setting('meta_title')}}
@else
@yield('title',setting('system_name'))
@endif
@php
$icon = setting('favicon');
$iconStorage = is_array($icon) ? ($icon['storage'] ?? 'local') : 'local';
@endphp
@if ($icon)
@else
@endif
@if (setting('is_google_analytics_activated') && setting('tracking_code'))
{!! base64_decode(setting('tracking_code')) !!}
@endif
@if (setting('custom_header_script'))
{!! base64_decode(setting('custom_header_script')) !!}
@endif
@if (setting('is_facebook_pixel_activated') && setting('facebook_pixel_id'))
{!! base64_decode(setting('facebook_pixel_id')) !!}
@endif
@stack('css')
@include('website.themes.default.layouts.header')
@yield('content')
@include('website.themes.default.layouts.footer')
@if (setting('is_pusher_notification_active') && auth()->check())
@endif
@if (setting('custom_footer_script'))
{!! base64_decode(setting('custom_footer_script')) !!}
@endif
@stack('js')