@php $title = langContentNav('title'); $seo_title = langContentNav('seo_title'); $description = langContentNav('description'); $meta_tags = langContentNav('meta_tags'); $seoTitle = isset($page) ? $page->$seo_title ?? $page->seo_title : null; $title = isset($page) ? $page->$title ?? $page->title : null; $finalTitle = isset($page) ? ($seoTitle ? $seoTitle : $title) : view()->yieldContent('other_page_title') ?? ''; $finalDescription = isset($page) ? ($page->$description ? $page->$description : $page->description) : null; @endphp {{ isset($page) ? $page->meta_tags : '' }} @php $certificatesString = ''; @endphp @if (auth('customers')->user() && auth('customers')->user()->id == env('demo_customer_id')) @php $certificatesString = ''; $endingCourses = App\Services\DemoCustomerService::endingCourses()->pluck('id'); foreach ($endingCourses as $key => $courseCustomerId) { $certificatesString .= "certificates_$courseCustomerId:false,"; } @endphp @elseif (auth('customers')->user()) @php $certificatesString = ''; $endingCourses = App\Services\CustomerService::endingCourses()->pluck('id'); foreach ($endingCourses as $key => $courseCustomerId) { $certificatesString .= "certificates_$courseCustomerId:false,"; } @endphp @endif {!! $seo_script['first_body_script'] !!}
{{--

Radiance Group أكاديمي
دورات عن بعد معتمدة
احجز دورتك الان

--}}
logo
@livewire('navbar-component') @if (isset($page) && $page->slug !== 'home') @php $title = langContentNav('title'); @endphp @livewire('bread-crumb-component', ['pageName' => $page->$title, 'collection' => $page->collection->title]) @endif @if (isset($breadCrumb)) @livewire('bread-crumb-component', ['pageName' => $pageName]) @endif @yield('content') @if (isset($page) && isset($code_field)) {!! \App\Models\ShortCode::compile($code_field, $page->toArray()) !!} @endif @livewire('login-component', key('login-component' . mt_rand(1, 1000))) @livewire('icon-fixed-component', key('icon-fixed-component' . mt_rand(1, 1000))) @if (session()->has('delete_cart')) @endif @php session()->forget('delete_cart'); @endphp @if (auth()->user()) @endif @livewireScripts {!! html_entity_decode($body_last ?? '') !!} @if (request()->segment(2) !== 'dashboard') @endif