@if(count($sliders) > 0)
@php
$sImg = $sliders->first()->image ?? '';
if (str_starts_with($sImg, 'http')) {
$hoverSrc = $sImg;
} elseif (str_starts_with($sImg, 'assets/')) {
$hoverSrc = asset($sImg);
} else {
$hoverSrc = asset('assets/front/img/user/items/slider-images/' . $sImg);
}
@endphp
@else
@endif
{{ $keywords['No products found'] ?? __('No products found') }}