@extends('layouts.app') @section('title', $category->name) @section('meta_description', Str::limit($category->description ?? '', 160)) @section('meta_keywords', $category->name) @section('content') {{-- HERO SECTION --}}

{{ $category->name }}

{{-- PRODUCTS SECTION --}}
@forelse($category->products ?? [] as $product) @empty
No products found

This category is currently empty.

@endforelse

{{-- DESCRIPTION SECTION --}}

Description

{!! nl2br(e($category->description ?? 'No description available')) !!}

@endsection