@php $config = [ 'appName' => config('app.name'), 'locale' => $locale = app()->getLocale(), 'locales' => config('app.locales'), 'githubAuth' => config('services.github.client_id'), 'notion' => [ 'worker' => config('services.notion.worker'), ], 'links' => config('links'), 'production' => App::isProduction(), 'hCaptchaSiteKey' => config('services.h_captcha.site_key'), 'google_analytics_code' => config('services.google_analytics_code'), 'amplitude_code' => config('services.amplitude_code'), 'crisp_website_id' => config('services.crisp_website_id'), ]; @endphp {{ config('app.name') }}
{{-- Global configuration object --}} {{-- Load the application scripts --}} @if($config['google_analytics_code']) @endif