mirror of
https://github.com/Aviortheking/CA_LARAVEL.git
synced 2025-06-12 17:49:19 +00:00
Ajout des pages d'erreurs
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
22
resources/views/errors/404.blade.php
Normal file
22
resources/views/errors/404.blade.php
Normal file
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Erreur</title>
|
||||
<!-- Fonts -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700&display=swap" rel="stylesheet">
|
||||
<!-- Styles -->
|
||||
<link rel="stylesheet" href="{{ asset('css/style.css') }}">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
@include('header')
|
||||
</header>
|
||||
|
||||
<h1>Page non trouvé !</h1>
|
||||
</body>
|
||||
|
||||
</html>
|
24
resources/views/errors/500.blade.php
Normal file
24
resources/views/errors/500.blade.php
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Erreur</title>
|
||||
<!-- Fonts -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700&display=swap" rel="stylesheet">
|
||||
<!-- Styles -->
|
||||
<link rel="stylesheet" href="{{ asset('css/style.css') }}">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
@include('header')
|
||||
</header>
|
||||
|
||||
<h1>Une erreur est arrivée !</h1>
|
||||
|
||||
<h3>{{ $exception->getMessage() }}</h3>
|
||||
</body>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user