@if(isVisibleSeoContent()) @endif @php $startDateTime1 = \Carbon\Carbon::create(2024, 07, 06, 10, 0, 0); $endDateTime1 = \Carbon\Carbon::create(2024, 07, 10, 23, 59, 59); @endphp @php // $startDateTime2 = \Carbon\Carbon::create(2024, 06, 25, 20, 0, 0); // $endDateTime2 = \Carbon\Carbon::create(2024, 06, 30, 10, 0, 0); @endphp @php $urlSegments = explode('/', url()->current()); $lastSegment = end($urlSegments); @endphp @if (( $lastSegment == 'www.ryans.com' || (strpos($lastSegment, 'all-laptop') !== false) && count(request()->all()) == 0 ) ) @if(\Auth::guard('customer')->check()) @if(isset(\Auth::guard('customer')->user()->is_customer) && \Auth::guard('customer')->user()->is_customer != 'salesman') @if (\Carbon\Carbon::now()->between($startDateTime1, $endDateTime1)) @include('new_design.12_modal.12modal') @endif {{-- @if (\Carbon\Carbon::now()->between($startDateTime2, $endDateTime2)) @include('new_design.12_modal.12modal2') @endif --}} @endif @else @if (\Carbon\Carbon::now()->between($startDateTime1, $endDateTime1)) @include('new_design.12_modal.12modal') @endif {{-- @if (\Carbon\Carbon::now()->between($startDateTime2, $endDateTime2)) @include('new_design.12_modal.12modal2') @endif --}} @endif @endif {{-- @include('new_design.12_modal.12modal') --}} @include('sweetalert::alert', ['cdn' => "https://cdn.jsdelivr.net/npm/sweetalert2@9"])