@php $proj = config('sys.config'); $client_name = config('sys.client_name'); $campaign_name = config('sys.campaign_name'); //$campaign_title = config('sys.campaign_title'); $description = config('sys.campaign_description'); $keywords = config('sys.campaign_keywords'); $client_color = config('sys.theme_color'); $facebook_pixel_id = config('sys.facebook_pixel_id'); $gtm_container_id = config('sys.gtm_container_id'); $skale_pixel_id = config('sys.skale_pixel_id'); $tiktok_pixel_id = config('sys.tiktok_pixel_id'); $domain = config('app.url'); $social_share = getActiveTheme('social_share'); $user_uid = ''; $acc_country = $account['country']; $account_updated_at = strtotime($account['updated_at']); $custom_css_file = file_exists(App\Skale\Facades\UserResourceAccess::getPath($file = 'css/frontend-custom.css') ) ? route('user_resource.get', $file) : false; $custom_js_file = file_exists(App\Skale\Facades\UserResourceAccess::getPath($file = 'js/frontend-custom.js') ) ? route('user_resource.get', $file) : false; if(Auth::check()) { $user = Auth::user(); $user_uid = $user->getDetail('app_user_uid'); } // labels $config_registration = [ 'regtext' => __('label.registration_text'), 'login_link_processing' => __('label.login_link_processing'), 'login_link_sent' => __('label.login_link_sent'), ]; $config_error = [ 'default' => __('enterprise.labelDefaultError'), ]; // $is_campaign_ended = ($end_date = trim(config('plant.campaign_end_date'))) !== '' && date('Y-m-d') > $end_date @endphp {{ $campaign_name ?? config('app.name') }} @if(!app()->isProduction()) @endif {{-- todo get main game endpoint before on load event --}} {{-- --}} @yield('style') @stack('style') @if($skale_pixel_id) @endif @if($skale_pixel_id)
@endif {{-- page preloader --}}
{{ __('label.loading') }}...
{{ __('label.loading') }}...
{{-- default loader to clone --}} {{-- page background + color --}}
@yield('content')
@yield('script') @stack('script') @if($facebook_pixel_id) @endif @if($tiktok_pixel_id) @endif @if($gtm_container_id) @endif {{-- @todo allow admin to edit the js and css thru admin dashboard, and domain specfic script--}} @if($custom_css_file) @endif @if($custom_js_file) @endif