@php use function Modules\Core\Settings\Helpers\setting; $currentFullUrl = request()->fullUrl(); $landingSeo = optional( \App\Models\Landing::query()->first() )->seo ?? []; @endphp @if(!empty($landingSeo['canonical_url'])) @endif {{-- Open Graph --}} @if(!empty($landingSeo['og_image'])) @endif {{-- Twitter --}} {{-- Extra meta --}} @if(!empty($landingSeo['meta_tags'])) {!! $landingSeo['meta_tags'] !!} @endif {{-- Structured data --}} @if(!empty($landingSeo['structured_data'])) @endif {{-- Rich snippet fallback --}} @if (setting('site.rich_snippet')) {!! setting('site.rich_snippet') !!} @endif {{-- Custom head --}} @if(!empty($landingSeo['custom_head_code'])) {!! $landingSeo['custom_head_code'] !!} @endif {{ $landingSeo['meta_title'] ?? setting('site.title') }} {!! setting('site.header') !!} @yield('head') @stack('before-css') {{-- CRITICAL --}} {{-- PRELOAD --}} @stack('after-css') @livewireStyles @if(!empty($landingSeo['custom_body_code'])) {!! $landingSeo['custom_body_code'] !!} @endif
!in_array(Route::currentRouteName(), ['home']), ])> {{--
@include('layout.header.index')
--}}
@yield('content') @isset($slot) {{ $slot }} @endisset
{{-- @php $whatsapps = setting('social.whatsapps'); $whatsapp = $whatsapps ? current($whatsapps) : null; @endphp @if ($whatsapp) @endif @if (setting('site.cookies_consent_enable')) @livewire('cookies-consent::cookies-consent') @endif @include('layout.footer.index') --}}
{{-- scripts --}} @routes @livewireScripts @stack('scripts')