Add custom error pages, pixel images, etc (also improve computers)
This commit is contained in:
parent
c622761799
commit
725712aa35
33 changed files with 385 additions and 59 deletions
21
resources/views/errors/minimal.blade.php
Normal file
21
resources/views/errors/minimal.blade.php
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
@extends('layouts.minimal')
|
||||
@section('content')
|
||||
<h1>Error @yield('code') | <strong>@yield('message')</strong></h1>
|
||||
<hr align="left">
|
||||
<p>Here, have a cat...</p>
|
||||
<img src="https://http.cat/@yield('code')" width="500"><br><br>
|
||||
<p>If you believe this is a server error, contact the <a href="mailto:webmaster@diskfloppy.me">webmaster</a></p>
|
||||
<br>
|
||||
<h4>Diagnostic Info</h4>
|
||||
<table><tr><td>
|
||||
<code>
|
||||
Server: {{ gethostname() }}<br>
|
||||
Your IP: {{ Request::ip() }}<br>
|
||||
Root: {!! url('') !!}<br>
|
||||
Path: /{{ Request::path() }}/<br>
|
||||
Epoch: {{ now()->timestamp }}<br>
|
||||
Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0 </code>
|
||||
</td></tr></table>
|
||||
<hr align="left">
|
||||
<p>© floppydisk 2021-2024</p>
|
||||
@endsection
|
||||
Loading…
Add table
Add a link
Reference in a new issue