@php $config = [ 'appName' => config('app.name'), 'app_url' => config('app.url'), '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'), 'sentry_dsn' => config('services.sentry_vue_dsn'), 'crisp_website_id' => config('services.crisp_website_id'), 'ai_features_enabled' => !is_null(config('services.openai.api_key')), 's3_enabled' => config('filesystems.default') === 's3', 'paid_plans_enabled' => !is_null(config('cashier.key')), 'custom_domains_enabled' => config('custom-domains.enabled'), ]; @endphp @vite('resources/js/app.js') @if($meta) {{$meta['title']}} @endif
{{-- Global configuration object --}} @if($config['google_analytics_code']) @endif