@php $apple_download = (config('resto.apple_download_directory') && config('resto.apple_download_directory') != '' ) ? config('resto.apple_download_directory') : ($_restaurant->app_config ? $_restaurant->app_config->apple_download : false); $dataDevice = ($device->isMobile())?'Mobile':(($device->isTablet())?'Tablet':'Desktop'); $dataSystem = $dataDevice . ($device->device() ? ' ' . $device->device() . ': ': ': ') . 'System ' . $device->platform() . ' / Browser ' . $device->browser(); // $dataSystem = ($device->isiOS())?'ios':(($device->isAndroidOS())?'android':'otro'); $body_class = $restaurant_template->box_shadow ? 'boxed':'smoothscroll'; $route_name = (\Request::route() ? \Request::route()->getName():'welcome'); $routes_object = [ 'checkout' => setRoute('checkout'), 'voucher_finish' => setRoute('voucher-finish', [ 'order_id' => 'orderid', 'slug' => 'slug', 'id' => 'id' ] ), 'customer_addresses' => route('addresses.index'), 'order_online' => setRoute(($template_name != 'template5') ? 'order-online' : 'home'), 'order_online_slug' => setRoute(($template_name != 'template5') ? 'order-online' : 'home', [ 'slug' => 'slug_r', 'id' => 'id_b' ] ), 'set_checkout' => setRoute('set-checkout'), 'set_checkout_slug' => setRoute('set-checkout', [ 'slug' => 'slug_r', 'id' => 'id_b' ] ), 'view_details' => setRoute('order-online.view-details'), 'verify_address' => url('verify-delivery-area'), ]; @endphp
{{-- CSRF Token --}} {{-- If exists seo metatags and title page --}} @include('shared.commons.title-keywords-page') {{-- Favicon Section --}} {!! Html::favicon( (isset($logo_config->icon) ? (asset_remote('logos/icon').'/'.$logo_config->icon) : asset('img/logo/tastyboom_icon.png')), ['rel' => 'icon', 'type' => 'image/png'], request()->secure()) !!} {!! Html::favicon( (isset($logo_config->icon) ? (asset_remote('logos/icon').'/'.$logo_config->icon) : asset('img/logo/tastyboom_icon.png')), ['rel' => 'apple-touch-icon', 'type' => 'image/png'], request()->secure() ) !!} {!! Html::favicon( (isset($logo_config->icon) ? (asset_remote('logos/icon').'/'.$logo_config->icon) : asset('img/logo/tastyboom_icon.png')), ['rel' => 'apple-touch-icon', 'type' => 'image/png', 'sizes' => '152x152'], request()->secure() ) !!} {!! Html::favicon( (isset($logo_config->icon) ? (asset_remote('logos/icon').'/'.$logo_config->icon) : asset('img/logo/tastyboom_icon.png')), ['rel' => 'apple-touch-icon', 'type' => 'image/png', 'sizes' => '167x167'], request()->secure() ) !!} {!! Html::favicon( (isset($logo_config->icon) ? (asset_remote('logos/icon').'/'.$logo_config->icon) : asset('img/logo/tastyboom_icon.png')), ['rel' => 'apple-touch-icon', 'type' => 'image/png', 'sizes' => '180x180'], request()->secure() ) !!} @section('extra-head') {{-- Styles --}} @show {!! $template_config->template->extra_styles ?? '' !!} {!! $page_config->extra_styles ?? '' !!} @yield('extra-head-script') {!! $page_config->json_ld ?? '' !!} {!! $page_config->script_head ?? '' !!} {!! $template_config->template->extra_scripts ?? '' !!} {!! $page_config->script_body ?? '' !!} {!! $template_config->template->extra_scripts_body ?? '' !!}