@php $__site = $site ?? \App\Support\Content::site(); $__seo = $seo ?? \App\Support\Content::seo(); $__route = request()->route()?->getName(); $__pageSeo = is_array($__seo['pages'][$__route] ?? null) ? $__seo['pages'][$__route] : []; $__secTitle = trim($__env->yieldContent('title')); $__secDesc = trim($__env->yieldContent('description')); $__canonical = trim($__env->yieldContent('canonical')); $__pageTitle = trim((string) ($__pageSeo['title'] ?? '')); $__pageDesc = trim((string) ($__pageSeo['description'] ?? '')); $__suffix = trim((string) ($__seo['title_suffix'] ?? '')); $__title = $__pageTitle !== '' ? $__pageTitle : $__secTitle; $__fullTitle = $__title !== '' ? ($__suffix !== '' ? $__title . ' | ' . $__suffix : $__title) : (string) ($__seo['meta_title'] ?? ($__site['name'] ?? 'IT Career Solution')); $__desc = $__pageDesc !== '' ? $__pageDesc : $__secDesc; if ($__desc === '') { $__desc = (string) ($__seo['meta_description'] ?? ''); } $__noindex = ! empty($__seo['site_noindex']) || ! empty($__pageSeo['noindex']); $__robots = trim($__env->yieldContent('robots')); if ($__robots === '' && $__noindex) { $__robots = 'noindex, nofollow'; } $__base = rtrim((string) ($__site['website'] ?? 'https://itcareersolution.com'), '/'); $__ogImage = trim($__env->yieldContent('ogImage')); if ($__ogImage === '') { $__ogImage = trim((string) ($__seo['og_image'] ?? '')); } if ($__ogImage !== '' && ! \Illuminate\Support\Str::startsWith($__ogImage, ['http://', 'https://'])) { $__ogImage = $__base . '/' . ltrim($__ogImage, '/'); } $__keywords = trim($__env->yieldContent('keywords')); if ($__keywords === '') { $__keywords = trim((string) ($__seo['meta_keywords'] ?? '')); } $__ga = trim((string) ($__seo['google_analytics_id'] ?? '')); $__gsc = trim((string) ($__seo['google_site_verification'] ?? '')); $__pixel = trim((string) ($__seo['facebook_pixel_id'] ?? '')); $__tw = trim((string) ($__seo['twitter_handle'] ?? '')); @endphp {{ $__fullTitle }} @if($__desc !== '') @endif @if($__keywords !== '') @endif @if($__robots !== '') @endif @if($__gsc !== '') @endif @if($__canonical !== '') @endif @if($__desc !== '') @endif @if($__ogImage !== '') @endif @if($__tw !== '') @endif @if($__ga !== '') @endif @if($__pixel !== '') @endif @yield('head') @include('partials.navbar', [ 'site' => $site ?? \App\Support\Content::site(), 'branches' => ($content['branches']['items'] ?? []), 'categories' => $categories ?? \App\Support\Content::categories(), ])
@yield('content')
@include('partials.footer', [ 'site' => $site ?? \App\Support\Content::site(), 'footer' => ($content['footer'] ?? []), ]) @include('partials.whatsapp', ['site' => $site ?? \App\Support\Content::site()]) @stack('scripts')