@extends('layouts.app') @section('title', 'Broken Links') @section('content')

Broken Links Monitor

Track and fix broken links across all your websites

Total Sites
{{ $stats['total_sites'] }}
Broken Links
{{ $stats['total_broken_links'] }}
Sites with Issues
{{ $stats['sites_with_broken_links'] }}
Sites Clean
{{ $stats['sites_clean'] }}
Broken Links by Site
@if($sites->isNotEmpty())
@foreach($sites as $site) @endforeach
Website Broken Links Last Scan Status Actions
{{ $site->name }}
{{ $site->url }}
@if($site->broken_links_count > 0) {{ $site->broken_links_count }} broken @else No issues @endif @if($site->brokenLinks->isNotEmpty()) {{ $site->brokenLinks->first()->created_at->diffForHumans() }} @else Never scanned @endif @if($site->broken_links_count === 0) Healthy @elseif($site->broken_links_count < 5) Minor Issues @else Major Issues @endif View Details
@else
No Sites to Monitor

Add sites to start monitoring for broken links.

Add Site
@endif
@if($recentBrokenLinks->isNotEmpty())
Recently Detected Broken Links
@foreach($recentBrokenLinks as $link) @endforeach
Detected Site Broken URL Found On Status Code
{{ $link->created_at->format('M d, H:i') }} {{ $link->site->name }} {{ Str::limit($link->url ?? 'N/A', 50) }} {{ Str::limit($link->found_on ?? 'N/A', 40) }} {{ $link->status_code ?? '404' }}
@endif
@endsection