@extends('layouts.shell') @section('title', 'Event categories') @section('subtitle', 'All Categories page, home chips, and category banners.') @section('actions') Add category @endsection @section('content')
| Image | Category | Active | Show on Home | Home preview | Order | |
|---|---|---|---|---|---|---|
|
@if ($category->thumbnailThumbUrl() ?: $category->thumbnailUrl())
|
{{ $category->name }}
{{ $category->short_description }}
@if ($category->is_sports)
Sports — opens the existing tournament flow
@else
{{ $category->events_count }} events
@endif
|
{{ $category->is_active ? 'Active' : 'Inactive' }} | {{ $category->show_on_home ? 'Yes' : 'No' }} |
{{ $category->show_event_preview ? 'Yes' : 'No' }}
@if ($category->home_section_title)
{{ $category->home_section_title }}
@endif
|
{{ $category->sort_order }} | Edit @unless ($category->is_sports) @endunless |
| No categories yet. | ||||||