@extends('layouts.app') @section('content')

{{ $category->icon ?? '' }} {{ $category->name }}

@if($category->description)

{{ $category->description }}

@endif
@if($category->children->count())
@foreach($category->children as $child)

{{ $child->name }}

@endforeach
@endif

Listings in {{ $category->name }}

@forelse($listings as $listing)

{{ $listing->title }}

{{ $listing->price ? number_format($listing->price, 0).' '.$listing->currency : 'Free' }}

View →
@empty

No listings in this category yet.

@endforelse
{{ $listings->links() }}
@endsection