@langrtl @else @endlangrtl
@if(config('favicon_image') != "")
@endif
@yield('title', app_name())
{{-- See https://laravel.com/docs/5.5/blade#stacks for usage --}} @stack('before-styles')
{{--
--}}
{{--
--}}
@yield('css') @stack('after-styles') @if(config('onesignal_status') == 1) {!! config('onesignal_data') !!} @endif @if(config('google_analytics_id') != "") @endif
{{--
--}} @include('frontend.layouts.modals.loginModal')
{{--
--}}
@if(auth()->check() && Cart::session(auth()->user()->id)->getTotalQuantity() != 0)
{{Cart::session(auth()->user()->id)->getTotalQuantity()}}
@endif
@if(count($custom_menus) > 0 ) @foreach($custom_menus as $menu) @if($menu['id'] == $menu['parent']) @if(count($menu->subs) == 0)
{{trans('custom-menu.'.$menu_name.'.'.str_slug($menu->label))}}
@else
{{trans('custom-menu.'.$menu_name.'.'.str_slug($menu->label))}}
@foreach($menu->subs as $item) @include('frontend.layouts.partials.dropdown', $item) @endforeach
@endif @endif @endforeach @endif @if(auth()->check())
{{ $logged_in_user->name }}
@can('view backend')
@lang('navs.frontend.dashboard')
@endcan
@lang('navs.general.logout')
@else
@lang('navs.general.login')
{{--@include('frontend.layouts.modals.loginModal')--}}
@endif @if(count($locales) > 1)
@lang('menus.language-picker.language') ({{ strtoupper(app()->getLocale()) }})
@foreach($locales as $lang) @if($lang != app()->getLocale())
@lang('menus.language-picker.langs.'.$lang)
@endif @endforeach
@endif
@if(count($custom_menus) > 0 ) @foreach($custom_menus as $menu) @if($menu['id'] == $menu['parent']) @if(count($menu->subs) == 0)
{{trans('custom-menu.'.$menu_name.'.'.str_slug($menu->label))}}
@else
{{trans('custom-menu.'.$menu_name.'.'.str_slug($menu->label))}}
@foreach($menu->subs as $item) @include('frontend.layouts.partials.dropdown', $item) @endforeach
@endif @endif @endforeach @endif @if(auth()->check())
{{ $logged_in_user->name}}
@can('view backend')
@lang('navs.frontend.dashboard')
@endcan
@lang('navs.general.logout')
@else
@lang('navs.general.login')
@endif @if(count($locales) > 1)
@lang('menus.language-picker.language') ({{ strtoupper(app()->getLocale()) }})
@foreach($locales as $lang) @if($lang != app()->getLocale())
@lang('menus.language-picker.langs.'.$lang)
@endif @endforeach
@endif
@yield('content') @include('frontend.layouts.partials.footer')
@stack('before-scripts') @yield('js') @stack('after-scripts') @include('includes.partials.ga')