@php $c = $category ?? (object) []; $isAllCategory = collection_is_all($c); @endphp @if($isAllCategory)

All is used for the products listing banner and the Sofas menu image. It is not shown on the home page.

@endif
@if($isAllCategory) @endif
@if(! $isAllCategory)
@if(!empty($c->image))
category
@endif
@endif
@if(!empty($c->menu_image))
menu image
@endif
@if(!empty($c->banner_desktop))
desktop banner
@endif
@if(!empty($c->banner_mobile))
mobile banner
@endif
status ?? 1) === '1')>