diff --git a/web/app/Exceptions/Handler.php b/web/app/Exceptions/Handler.php index 63f0dc3..9de6cdd 100644 --- a/web/app/Exceptions/Handler.php +++ b/web/app/Exceptions/Handler.php @@ -36,7 +36,11 @@ class Handler extends ExceptionHandler public function register() { $this->renderable(function (NotFoundHttpException $e, $request) { - return response()->view('main', [], 404); + return response()->view('errors.404', [], 404); + }); + + $this->renderable(function (\ErrorException $e, $request) { + return response()->view('errors.500', ['stack' => $e->getTraceAsString()], 500); }); } } diff --git a/web/public/images/backgrounds/About.png b/web/public/images/backgrounds/About.png new file mode 100644 index 0000000..793b841 Binary files /dev/null and b/web/public/images/backgrounds/About.png differ diff --git a/web/resources/sass/Graphictoria.scss b/web/resources/sass/Graphictoria.scss index 6d56206..2eb1620 100644 --- a/web/resources/sass/Graphictoria.scss +++ b/web/resources/sass/Graphictoria.scss @@ -185,6 +185,24 @@ html { display: flex; } +.graphictoria-home-about { + background-image: url("/Images/Backgrounds/About.png"); + background-size: cover; + background-repeat: no-repeat; + background-position: center; + min-height: 500px; +} + +.graphictoria-home-about-card { + color: #fff; + background: #000000ad; + border-radius: 5px; + padding: 20px; + max-width: 600px; + border: solid tint-color(#000000ad, 10%); + border-width: 0 0 2px; +} + .graphictoria-nojs { background-image: url("/Images/Backgrounds/NoJs.png"); background-size: cover; diff --git a/web/resources/views/errors/403.blade.php b/web/resources/views/errors/403.blade.php deleted file mode 100644 index a7f81b1..0000000 --- a/web/resources/views/errors/403.blade.php +++ /dev/null @@ -1,5 +0,0 @@ -@extends('layouts.app') - -@section('content') -
+ STACK TRACE
{{ str_repeat('-', 15) }}
{{ $stack }}
+
+