@extends('layouts.app') @section('title', 'All Collections') @section('content')

All Collections

@if (count($collections))
@foreach ($collections as $i => $col) @if ($col['thumb']){{ $col['name'] }}@else@endif {{ $col['count'] ? $col['count'] . ' ' . \Illuminate\Support\Str::plural('piece', $col['count']) : 'Coming soon' }} {{ $col['name'] }} @if ($col['text']){{ \Illuminate\Support\Str::limit($col['text'], 90) }}@endif Explore @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['count'] ? $cat['count'] . ' ' . \Illuminate\Support\Str::plural('design', $cat['count']) : 'Explore' }} {{ $cat['name'] }} Explore @endforeach
@endif
@endsection