@extends('layouts.admin.master') @section('head') @section('title')Bargain Book Hut — Collections@endsection @endsection @section('body')
{{-- TOP BAR --}}
Admin › Catalogue › Collections

Collections 🏷️ Curated

Manage collections used to group and merchandise products in the catalogue.

{{-- ── STATS ── --}}
Total Collections
{{ $tags->total() }}
Active
{{ $activeCount }}
Inactive
{{ $inactiveCount }}
{{-- ── ADD COLLECTION CARD ── --}}

➕ Add New Collection

@include('UI.error')
Press Enter or click Submit to add
JPG/PNG/WEBP, max 2MB
JPG/PNG/WEBP, max 2MB
{{-- ── COLLECTIONS TABLE CARD ── --}}
{{-- Search --}}
🔍
{{-- Status --}} {{-- Sort --}} @if(request()->hasAny(['search','sort']) || request('status','1') !== '1') ✕ Clear @endif {{ $tags->total() }} {{ $tags->total() == 1 ? 'collection' : 'collections' }}
@forelse($tags as $tag) {{-- S/N --}} {{-- COLLECTION NAME + IMAGES --}} {{-- ACTIONS --}} @empty @endforelse
# Collection Actions Status
{{ $loop->iteration }}
{{-- Desktop image --}} {{-- Mobile banner --}} 🏷️ {{ $tag->content ?? $tag->name }}
Desktop image
Mobile banner
status ?? 1) == 1 ? 'checked' : '' }} onchange="updateTagStatus({{ $tag->id }}, this.checked ? 1 : 0)">
🏷️

No collections yet. Add your first collection above.

@if($tags->hasPages())
{{ $tags->links() }}
@endif
{{-- ── CONFIRM DELETE MODAL ── --}} {{-- Toast --}}
✅ Done
@section('script') @endsection @endsection