mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 05:44:45 +02:00

* add custom error pages * move icon in front of header text * show exception message if user is root admin * add missing page for very important error: 418 * Update resources/views/errors/layout.blade.php * Update resources/views/errors/layout.blade.php * add dark mode to error pages --------- Co-authored-by: Lance Pioch <lancepioch@gmail.com>
8 lines
214 B
PHP
8 lines
214 B
PHP
@props([
|
|
'code' => '500',
|
|
'title' => 'Server Error',
|
|
'subtitle' => fn () => auth()->user()?->isRootAdmin() ? $exception->getMessage() : 'Something went wrong.',
|
|
'icon' => 'tabler-bug'
|
|
])
|
|
|
|
@extends('errors::layout') |