@php $seoMeta = $seoMeta ?? \App\Support\Seo::resolve(null, $title ?? null, $description ?? null); $dir = $currentLocale === 'ar' ? 'rtl' : 'ltr'; @endphp {{ $seoMeta['title'] }} @if ($seoMeta['description']) @endif @if ($seoMeta['noindex'] || $seoMeta['nofollow']) @endif @if ($seoMeta['canonical']) @endif {{-- hreflang alternates for the current route in every supported locale --}} @if ($currentRoute = \Illuminate\Support\Facades\Route::current()) @foreach (\App\Http\Middleware\SetLocale::SUPPORTED_LOCALES as $altLocale) @php $altParams = $currentRoute->parameters(); $altParams['locale'] = $altLocale; try { $altUrl = route($currentRoute->getName(), $altParams); } catch (\Throwable) { $altUrl = null; } @endphp @if ($altUrl) @endif @endforeach @endif {{-- Open Graph --}} @if ($seoMeta['ogDescription']) @endif @if ($seoMeta['image']) @endif @if ($siteSettings->gsc_verification) @endif @if ($siteSettings->favicon) @else @endif @if ($siteSettings->gtm_id) @endif @if ($dir === 'rtl') @else @endif @if ($dir === 'rtl') @endif @if ($siteSettings->custom_css) @endif @if ($siteSettings->custom_head_code) {!! $siteSettings->custom_head_code !!} @endif @stack('head') @if ($siteSettings->gtm_id) @endif
logo

Loading

@include('partials.header') {{ $slot ?? '' }} @yield('content') @include('partials.footer') @if ($siteSettings->whatsapp_enabled && $siteSettings->whatsapp_number) @php $waNumber = preg_replace('/[^0-9]/', '', $siteSettings->whatsapp_number); $waMessage = $siteSettings->whatsapp_message ? '?text='.urlencode($siteSettings->whatsapp_message) : ''; @endphp @endif @if ($dir === 'rtl') @endif @if ($siteSettings->custom_body_code) {!! $siteSettings->custom_body_code !!} @endif