@extends('layouts.app') @section('title', 'All Collections') @section('content') @php $arrow = ''; @endphp

All collections

@if (count($collections))
@foreach ($collections as $i => $col) @if ($col['thumb']){{ $col['name'] }}@else@endif {{ $col['name'] }}({{ $col['count'] }} {{ $col['count'] === 1 ? 'item' : 'items' }}) @if ($col['text']){{ \Illuminate\Support\Str::limit($col['text'], 90) }}@endif @endforeach
@else

No collections available yet.

@endif @if (count($categories))

Shop by category

@foreach ($categories as $cat) @if ($cat['image']){{ $cat['name'] }}@else@endif {{ $cat['name'] }}({{ $cat['count'] }} {{ $cat['count'] === 1 ? 'item' : 'items' }}) @endforeach
@endif
@endsection