This repository has been archived by the owner on May 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
108 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import '../scss/error.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
body{ | ||
.http-status{ | ||
font-size: 80px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{% extends 'base.html.twig' %} | ||
|
||
{% block title %}Error {{ status_code }}{% endblock %} | ||
|
||
{% block stylesheets %} | ||
{{ encore_entry_link_tags('error') }} | ||
{% endblock %} | ||
|
||
{% block body %} | ||
<div class="container-fluid"> | ||
<div class="row vh-100 d-flex align-items-center justify-content-center"> | ||
<div class="col-md-8"> | ||
<div class="row justify-content-center lm-logo"> | ||
<div class="text-center"> | ||
<img src="{{ asset('build/youngfood.svg') }}" alt="LOGO YoungFood" class="mx-auto"> | ||
</div> | ||
</div> | ||
<div class="row justify-content-center"> | ||
<h1 class="mb-4 http-status">{{ status_code }}</h1> | ||
</div> | ||
<div class="row justify-content-center"> | ||
<div class="text-center"> | ||
<h2 class="mb-4">Une erreur est survenue !</h2> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} | ||
|
||
{% block javascripts %} | ||
{{ encore_entry_script_tags('error') }} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{% extends 'base.html.twig' %} | ||
|
||
{% block title %}Error 403{% endblock %} | ||
|
||
{% block stylesheets %} | ||
{{ encore_entry_link_tags('error') }} | ||
{% endblock %} | ||
|
||
{% block body %} | ||
<div class="container-fluid"> | ||
<div class="row vh-100 d-flex align-items-center justify-content-center"> | ||
<div class="col-md-8"> | ||
<div class="row justify-content-center lm-logo"> | ||
<div class="text-center"> | ||
<img src="{{ asset('build/youngfood.svg') }}" alt="LOGO YoungFood" class="mx-auto"> | ||
</div> | ||
</div> | ||
<div class="row justify-content-center"> | ||
<h1 class="mb-4 http-status"><span class="inner-green">4</span>0<span class="inner-green">3</span></h1> | ||
</div> | ||
<div class="row justify-content-center"> | ||
<div class="text-center"> | ||
<h2 class="mb-4">Vous n'avez pas les droits !</h2> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} | ||
|
||
{% block javascripts %} | ||
{{ encore_entry_script_tags('error') }} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{% extends 'base.html.twig' %} | ||
|
||
{% block title %}Error 404{% endblock %} | ||
|
||
{% block stylesheets %} | ||
{{ encore_entry_link_tags('error') }} | ||
{% endblock %} | ||
|
||
{% block body %} | ||
<div class="container-fluid"> | ||
<div class="row vh-100 d-flex align-items-center justify-content-center"> | ||
<div class="col-md-8"> | ||
<div class="row justify-content-center lm-logo"> | ||
<div class="text-center"> | ||
<img src="{{ asset('build/youngfood.svg') }}" alt="LOGO YoungFood" class="mx-auto"> | ||
</div> | ||
</div> | ||
<div class="row justify-content-center"> | ||
<h1 class="mb-4 http-status"><span class="inner-green">4</span>0<span class="inner-green">4</span></h1> | ||
</div> | ||
<div class="row justify-content-center"> | ||
<div class="text-center"> | ||
<h2 class="mb-4">Une erreur est survenue !</h2> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} | ||
|
||
{% block javascripts %} | ||
{{ encore_entry_script_tags('error') }} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters