@extends('layouts.app') @section('content') @vite('resources/js/pusher.js')
@forelse ($products as $items)
{{$items->first()->product->name}}
@forelse ($items->sortBy('name', SORT_NATURAL | SORT_FLAG_CASE) as $item) @if (!$loop->first)
@endif
@if ($item->used_by) @include('home.usedItem') @else @include('home.unusedItem') @endif
@empty @endforelse
@empty

@lang('home.no_messages') @lang('home.share_item')

@endforelse
@endsection