{{ $slot }} @php $currentUrl = url()->current(); $rootUrl = url('/'); $isRoot = ($currentUrl == $rootUrl); $isIntegerPath = preg_match('/^\d+$/', request()->path()); $showHeroScript = $isRoot || $isIntegerPath; @endphp @if ($showHeroScript) @endif @if (request()->is('listings')) @endif