From 946bcf408b9d6aa8034b78b26580dab76ea2b17b Mon Sep 17 00:00:00 2001 From: vgreb Date: Wed, 26 Aug 2026 19:28:24 +0200 Subject: [PATCH] Refonte visuelle de la page 404 not found --- assets/icons/mingcute/compass-fill.svg | 1 + .../TwigBundle/Exception/error404.html.twig | 39 ++++++++++++++----- 2 files changed, 30 insertions(+), 10 deletions(-) create mode 100644 assets/icons/mingcute/compass-fill.svg diff --git a/assets/icons/mingcute/compass-fill.svg b/assets/icons/mingcute/compass-fill.svg new file mode 100644 index 000000000..d32c4b722 --- /dev/null +++ b/assets/icons/mingcute/compass-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/bundles/TwigBundle/Exception/error404.html.twig b/templates/bundles/TwigBundle/Exception/error404.html.twig index 4c03b2a65..b337681c6 100644 --- a/templates/bundles/TwigBundle/Exception/error404.html.twig +++ b/templates/bundles/TwigBundle/Exception/error404.html.twig @@ -1,18 +1,37 @@ -{% extends 'site/base.html.twig' %} +{% extends 'layouts/site.html.twig' %} -{% block title %}Page 404{% endblock %} +{% block title %}Page introuvable - AFUP{% endblock %} -{% set header = "" %} -{% set footer = "" %} +{% block metas %} + +{% endblock %} {% block content %} -
-
-

Page 404 ;-(

+
+
+ + + -

- Vous pouvez retourner à l'accueil du site. +

+ +

+ Cette page n'existe pas, ou n'existe plus. +

+ +

+ L'adresse comporte peut-être une faute de frappe, ou la page a été déplacée depuis le lien + que vous avez suivi.

+ +
+ + Retour à l'accueil + + + Consulter le plan du site + +
-{% endblock %} \ No newline at end of file +{% endblock %}