@extends('layouts.app') @php $title = 'Discover Products - ' . config('app.name'); @endphp @section('content')

Discover the best tech from Europe

Find amazing products built by European makers and companies

Clear
@if(request()->hasAny(['search', 'category', 'date_range', 'sort']))
Active filters: @if(request('search')) Search: "{{ request('search') }}" × @endif @if(request('category')) {{ $categories->find(request('category'))->name ?? 'Unknown' }} × @endif @if(request('date_range')) {{ ucfirst(request('date_range')) }} × @endif @if(request('sort') && request('sort') !== 'newest') {{ ucfirst(request('sort')) }} × @endif
@endif
@if($products->total() > 0)

Showing {{ $products->firstItem() }} to {{ $products->lastItem() }} of {{ $products->total() }} products

@endif
@forelse($products as $product) @include('components.product.card', ['product' => $product]) @empty

No products found

@if(request()->hasAny(['search', 'category', 'date_range'])) Try adjusting your search or filters to find what you're looking for. @else Be the first to submit a product! @endif

@auth Submit a Product @endauth
@endforelse
@if($products->hasPages())
{{ $products->links() }}
@endif
@endsection