@extends('mail.layout') @section('content') @if($down)

{{ $website->name }} is DOWN

{{ $website->url }} failed {{ $website->uptime_consecutive_failures }} consecutive checks.

Reason: {{ $incident->reason }}

Started: {{ $incident->started_at->format('d M Y H:i:s') }}

Suggested first checks: hosting/server status, DNS, SSL certificate, PHP-FPM / web server logs, and storage/logs/laravel.log for fatal errors.

@else

{{ $website->name }} is back UP

{{ $website->url }} responded normally.

@if($incident)

Downtime: {{ $incident->durationMinutes() }} minutes (from {{ $incident->started_at->format('d M H:i') }}). Cause recorded: {{ $incident->reason }}

@endif @endif

Uptime history

@endsection