File size: 2,689 Bytes
5f32fbd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | @extends('panel.layout.app', ['disable_tblr' => true])
@section('content')
<header class="fixed inset-x-0 top-0 flex justify-center border-b bg-background/10 px-4 py-6 backdrop-blur-md">
<figure>
@if (isset($setting->logo_dashboard))
<img
class="max-h-14 w-auto dark:hidden"
src="{{ custom_theme_url($setting->logo_dashboard_path, true) }}"
@if (isset($setting->logo_dashboard_2x_path)) srcset="/{{ $setting->logo_dashboard_2x_path }} 2x" @endif
alt="{{ $setting->site_name }}"
>
<img
class="hidden max-h-14 w-auto dark:block"
src="{{ custom_theme_url($setting->logo_dashboard_dark_path, true) }}"
@if (isset($setting->logo_dashboard_dark_2x_path)) srcset="/{{ $setting->logo_dashboard_dark_2x_path }} 2x" @endif
alt="{{ $setting->site_name }}"
>
@else
<img
class="max-h-14 w-auto dark:hidden"
src="{{ custom_theme_url($setting->logo_path, true) }}"
@if (isset($setting->logo_2x_path)) srcset="/{{ $setting->logo_2x_path }} 2x" @endif
alt="{{ $setting->site_name }}"
>
<img
class="hidden max-h-14 w-auto dark:block"
src="{{ custom_theme_url($setting->logo_dark_path, true) }}"
@if (isset($setting->logo_dark_2x_path)) srcset="/{{ $setting->logo_dark_2x_path }} 2x" @endif
alt="{{ $setting->site_name }}"
>
@endif
</figure>
</header>
<div class="flex min-h-screen flex-col items-center justify-center py-12">
<div class="mx-auto w-full pt-20 text-center lg:w-5/12">
<h1 class="text-[40vw] leading-none opacity-10 sm:text-[212px]">
@yield('error_code', '404')
</h1>
<h3 class="text-4xl font-bold">
@yield('error_title', __('Looks like you’re lost.'))
</h3>
<p class="mb-14 text-sm font-medium opacity-90">
@yield('error_subtitle', __('We can’t seem to find the page you’re looking for.'))
</p>
<div class="mx-auto sm:w-8/12">
<x-button
class="w-full"
size="lg"
href="{{ route('index') }}"
>
{{ __('Take me back to the homepage') }}
</x-button>
</div>
</div>
</div>
@endsection
|