{{-- --}} {{-- Old code --}} {{-- @php $startDateTime1 = \Carbon\Carbon::create(2024, 12, 11, 18, 0, 0); $endDateTime1 = \Carbon\Carbon::create(2024, 12, 22, 23, 59, 59); @endphp @php $startDateTime2 = \Carbon\Carbon::create(2025, 3, 30, 11, 0, 0); $endDateTime2 = \Carbon\Carbon::create(2025, 4, 2, 23, 59, 59); @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 ((strpos($lastSegment, 'all-laptop') !== false && count(request()->all()) == 0)) @if (\Carbon\Carbon::now()->between($startDateTime1, $endDateTime1)) @include('new_design.12_modal.12modal') @endif @endif --}} {{-- @if (request()->is('/')) @if (\Carbon\Carbon::now()->between($startDateTime2, $endDateTime2)) @include('new_design.12_modal.12modal') @endif @endif --}} {{-- @include('new_design.12_modal.12modal') --}}