mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
feat: Add custom error pages
fixes #189 https://github.com/rico-vz/HeimerdingerLoL/issues/189 - Created custom error pages with specific messages and designs for HTTP status codes. - Each page includes a title, description, appropriate message content, and a link to return to the homepage.
This commit is contained in:
16
resources/views/errors/500.blade.php
Normal file
16
resources/views/errors/500.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', 'Heimerdinger • 500')
|
||||
@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">500</h1>
|
||||
<h2 class="text-3xl font-bold text-white">Internal Server Error</h2>
|
||||
<p class="mb-8 text-stone-300">An unexpected error occurred on the server.</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
|
||||
Reference in New Issue
Block a user