ldc-wenn-dann-mit-respekt/resources/views/vendor/errors/404.blade.php
Jérémy Munsch 568ebb9f2d
404 PAGE
- Add second layout as minimal for front (we have 2 to maintain)
- set links as optional  (Do not throw 404 from layout)
- Keep 404 as standard as possible
2023-06-05 09:38:33 +02:00

26 lines
1 KiB
PHP

@php $nonce = $nonce ?? uniqid(); @endphp
@extends('fo.layout-minimal')
@section('title', __('Not Found'))
@section('code', '404')
@section('message', __('Not Found'))
@section('submessage', __('We could not find the page'))
@section('image')
<img src="{{ Vite::asset('resources/assets/images/Icons/404-grafik.svg') }}" class="inline max-w-sm w-full px-4" alt="{{ config('app.name') }}">
@endsection
@section('content')
<div class="mx-auto max-w-7xl py-6 px-4 sm:px-8 mb-24 mt-32 text-center pt-16 pb-16">
@yield('image')
<h1 class="font-scarletwood text-hellgruen text-[100px] leading-[100px] mt-8">@yield('code', __('Oh no'))</h1>
<p class="font-scarletwood text-hellgruen">@yield('message')</p>
<p class="font-scarletwood text-hellgruen">@yield('submessage')</p>
<a href="{{ app('router')->has('home') ? route('home') : url('/') }}" class="button brown inline-flex items-center px-4 my-2 mt-12 mr-6 text-sm text-white">
<span>{{ __('Go to page :page', [
'page' => __('home')
]) }}</span>
</a>
</div>
@endsection