@can('view_products')
@php $isProducts = request()->routeIs('products.*'); @endphp
$isProducts,
'text-stone-400 hover:bg-stone-900/60 hover:text-white' => ! $isProducts])>
$isProducts, 'text-stone-500 group-hover:text-brand-400' => ! $isProducts])/>
{{ __('Products') }}
@endcan
@can('view_categories')
@php $isCategories = request()->routeIs('categories.*'); @endphp
$isCategories,
'text-stone-400 hover:bg-stone-900/60 hover:text-white' => ! $isCategories])>
$isCategories, 'text-stone-500 group-hover:text-brand-400' => ! $isCategories])/>
{{ __('Categories') }}
@endcan
@can('view_attributes')
@php $isAttributes = request()->routeIs('attributes.*'); @endphp
$isAttributes,
'text-stone-400 hover:bg-stone-900/60 hover:text-white' => ! $isAttributes])>
$isAttributes, 'text-stone-500 group-hover:text-brand-400' => ! $isAttributes])/>
{{ __('Attributes') }}
@endcan
@can('view_hsn_codes')
@php $isHsnCodes = request()->routeIs('hsn-codes.*'); @endphp
$isHsnCodes,
'text-stone-400 hover:bg-stone-900/60 hover:text-white' => ! $isHsnCodes])>
$isHsnCodes, 'text-stone-500 group-hover:text-brand-400' => ! $isHsnCodes])/>
{{ __('HSN Codes') }}
@endcan
@can('view_customization_plans')
@php $isCustomizationPlans = request()->routeIs('customization-plans.*'); @endphp
$isCustomizationPlans,
'text-stone-400 hover:bg-stone-900/60 hover:text-white' => ! $isCustomizationPlans])>
$isCustomizationPlans, 'text-stone-500 group-hover:text-brand-400' => ! $isCustomizationPlans])/>
{{ __('Customization Plans') }}
@endcan
@can('view_addons')
@php $isAddons = request()->routeIs('addons.*'); @endphp
$isAddons,
'text-stone-400 hover:bg-stone-900/60 hover:text-white' => ! $isAddons])>
$isAddons, 'text-stone-500 group-hover:text-brand-400' => ! $isAddons])/>
{{ __('Addons') }}
@endcan