@extends('layouts.public')
@section('title', 'Categories')
@section('content')
Categories
@if ($error)
{{ $error }}
@else
@forelse ($categories as $c)
-
{{ $c['name'] ?? $c['title'] ?? $c['category_name'] ?? json_encode($c) }}
@empty
- No categories returned.
@endforelse
@endif
@endsection