@extends('layouts.app') @section('content') @php $modelTypeAccent = [ 'anatomy' => 'rose', 'cellular' => 'emerald', 'equipment' => 'sky', 'person' => 'amber', 'place' => 'indigo', 'historical' => 'fuchsia', ]; $hasFilters = ! empty($search) || ! empty($system) || ! empty($species); @endphp

Model Library

{{ $models->total() }} {{ \Illuminate\Support\Str::plural('model', $models->total()) }} available across {{ count($systems) }} body {{ \Illuminate\Support\Str::plural('system', count($systems)) }}.

@if($hasFilters) Clear filters @endif
@if($hasFilters)
Active: @if($search) Title: {{ $search }} @endif @if($system) System: {{ $system }} @endif @if($species) Species: {{ $species }} @endif
@endif
@forelse($models as $model) @php $accent = $modelTypeAccent[$model->model_type] ?? 'sky'; @endphp @if($model->thumbnail_url)
@else @endif
{{ ucfirst($model->model_type) }}

{{ $model->title }}

{{ $model->body_system }} · {{ $model->programme }} · {{ $model->species }}

{{ $model->estimated_minutes }} min View →
@empty

No models match your filters.

Try clearing a filter or searching with a different keyword.

@if($hasFilters) Clear all filters → @endif
@endforelse
{{ $models->links() }}
@endsection