@extends('layouts.app') @section('title', 'Site Health') @section('nav_website', 'bg-teal-50 text-teal-700 font-semibold') @section('page_title', 'Website Health') @section('page_subtitle', 'A quick overview of what is set up and what needs attention') @section('content') @php $levelClasses = [ 'red' => 'bg-red-50 border-red-200 text-red-700', 'amber' => 'bg-amber-50 border-amber-200 text-amber-700', 'teal' => 'bg-teal-50 border-teal-200 text-teal-700', 'gray' => 'bg-gray-50 border-gray-200 text-gray-600', ]; @endphp
Back to Website CMS {{-- Attention --}} @if(count($attention))
@foreach($attention as $a) {{ $a['text'] }} @endforeach
@else
Nothing needs attention right now.
@endif
{{-- Setup checklist --}}

Setup Checklist

{{ $checklistDone }}/{{ count($checklist) }}
    @foreach($checklist as $c)
  • @if($c['ok']) {{ $c['label'] }} @else {{ $c['label'] }} Set up @endif
  • @endforeach
{{-- Content library --}}

Content Library

@foreach($library as $item) {{ $item['label'] }} {{ $item['count'] }} @endforeach
Newsletter subscribers {{ $activeSubscribers }}
{{-- Room photo coverage --}} @if(count($typesWithoutPhotos))

Room Types Missing Photos ({{ count($typesWithoutPhotos) }})

These types fall back to a placeholder on the public site.

@foreach($typesWithoutPhotos as $t) {{ $t }} @endforeach
@endif {{-- Recent edits --}}

Recent Content Edits

@if($recentEdits->isEmpty())

No website edits logged yet.

@else @endif
@endsection