get('landing_site_direction') ){ $site_direction = session()->get('landing_site_direction'); } else{ $site_direction = session()->get('site_direction'); } // if (env('APP_MODE') == 'demo') { // $site_direction = session()->get('site_direction'); // }else{ // $site_direction = \App\Models\BusinessSetting::where('key', 'site_direction')->first(); // $site_direction = $site_direction->value ?? 'ltr'; // } ?> @php( $direction= ( $site_direction === 'rtl') ? "true" : "false") @yield('title','Landing Page | ') @php($icon = \App\CentralLogics\Helpers::get_settings('icon')) @php($background_Change = \App\Models\BusinessSetting::where(['key' => 'backgroundChange'])->first()) @php($background_Change = isset($background_Change->value) ? json_decode($background_Change->value, true) : null) @php($landing_page_text = \App\Models\BusinessSetting::where(['key' => 'landing_page_text'])->first()) @php($landing_page_text = isset($landing_page_text->value) ? json_decode($landing_page_text->value, true) : null) @php($landing_page_links = \App\Models\BusinessSetting::where(['key' => 'landing_page_links'])->first()) @php($landing_page_links = isset($landing_page_links->value) ? json_decode($landing_page_links->value, true) : null) @php($backgroundChange = \App\Models\BusinessSetting::where(['key' => 'backgroundChange'])->first()) @php($backgroundChange = isset($backgroundChange) && \App\Models\BusinessSetting::where(['key' => 'backgroundChange'])->first()->value ? json_decode(\App\Models\BusinessSetting::where(['key' => 'backgroundChange'])->first()->value,true):'') @if (isset($backgroundChange['primary_1_hex']) && isset($backgroundChange['primary_2_hex'])) @endif @stack('css_or_js')
@php($logo = \App\CentralLogics\Helpers::get_settings('logo')) @php( $local = session()->has('landing_local')?session('landing_local'):'en') @php($lang = \App\Models\BusinessSetting::where('key', 'system_language')->first()) @if ($lang) @endif @if ($toggle_dm_registration || $toggle_restaurant_registration)
{{ translate('Join us') }}
@endif
@yield('content') {!! Toastr::message() !!} @stack('script_2')