mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
- Add try-catch block to handle null response from API - Log errors and return appropriate HTTP responses - Update error message in 503.blade.php to show exception message if available
17 lines
724 B
PHP
17 lines
724 B
PHP
@extends('layouts.app')
|
|
|
|
@section('title', 'Heimerdinger • 503 Unavailable')
|
|
@section('description', 'Explore League of Legends champions, skins, and game assets on Heimerdinger.')
|
|
|
|
@section('content')
|
|
|
|
<div class="flex items-center justify-center h-screen">
|
|
<div class="text-center">
|
|
<h1 class="font-bold text-orange-400 text-8xl">503</h1>
|
|
<h2 class="text-3xl font-bold text-white">Unavailable</h2>
|
|
<p class="mb-8 text-stone-300">{{ $exception->getMessage() ?? 'The page you are looking for is unavailable or under maintenance.' }}</p>
|
|
<a href="/" class="px-4 py-2 mt-4 text-white bg-orange-400 rounded-md hover:bg-orange-500">Go back to the homepage</a>
|
|
</div>
|
|
</div>
|
|
@endsection
|