@extends('admin.layouts.app') @section('title', 'Services') @section('page_title', 'Services') @section('content')

Content · Catalog

Services

Manage service pages, SEO, and audit scores in one place.

@can('viewAny', \Apex\Modules\Services\Models\ServiceCategory::class) Categories @endcan @can('create', \Apex\Modules\Services\Models\Service::class) + New service @endcan
@forelse ($items as $item) @php $score = $item->seoAudit?->score; $scoreClass = is_null($score) ? 'is-muted' : ($score >= 80 ? 'is-good' : ($score >= 60 ? 'is-mid' : 'is-low')); @endphp @empty @endforelse
Service Category Status SEO score Actions
@if($item->featuredImage) @else {{ strtoupper(substr($item->title, 0, 1)) }} @endif

{{ $item->title }}

/{{ $item->slug }}

{{ $item->category?->name ?? '—' }} {{ ucfirst($item->status) }} {{ is_null($score) ? '—' : $score.'/100' }}
@can('update', $item) Edit Audit @endcan @if($item->status === 'published') View @endif @can('delete', $item)
@csrf @method('DELETE')
@endcan
No services yet. Create your first service page.
{{ $items->links() }}
@endsection