ldc-groupe/resources/views/front/pages/error.blade.php

16 lines
434 B
PHP

@extends('front.layouts.layout')
@section('title', $status)
@section('description', trans("errors.$status.description"))
@section('content')
@if ($status === 404)
<x-front.page-404 />
@else
<h1>{{ sprintf('%s - %s', $status, trans("errors.$status.title")) }}</h1>
<p>{{ trans("errors.$status.description") }}</p>
<a href="/">{{ trans('front.back_to_homepage') }}</a>
@endif
@endsection