diff options
author | Frankie B <git@diskfloppy.me> | 2024-01-12 18:57:10 +0000 |
---|---|---|
committer | Frankie B <git@diskfloppy.me> | 2024-01-12 18:57:33 +0000 |
commit | 725712aa35a989f1c2f179e210b8fa1c310e39e9 (patch) | |
tree | 4ba81858541a5db1e16839dd780af06ec0e5872d /resources/views/errors/layout.blade.php | |
parent | c622761799635392cc35a46795955c9a0be12fc1 (diff) |
Add custom error pages, pixel images, etc (also improve computers)
Diffstat (limited to 'resources/views/errors/layout.blade.php')
-rw-r--r-- | resources/views/errors/layout.blade.php | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/resources/views/errors/layout.blade.php b/resources/views/errors/layout.blade.php new file mode 100644 index 0000000..019c2cd --- /dev/null +++ b/resources/views/errors/layout.blade.php @@ -0,0 +1,53 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <title>@yield('title')</title> + + <!-- Styles --> + <style> + html, body { + background-color: #fff; + color: #636b6f; + font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-weight: 100; + height: 100vh; + margin: 0; + } + + .full-height { + height: 100vh; + } + + .flex-center { + align-items: center; + display: flex; + justify-content: center; + } + + .position-ref { + position: relative; + } + + .content { + text-align: center; + } + + .title { + font-size: 36px; + padding: 20px; + } + </style> + </head> + <body> + <div class="flex-center position-ref full-height"> + <div class="content"> + <div class="title"> + @yield('message') + </div> + </div> + </div> + </body> +</html> |