{# # ============================================================================ # PAGE: ERROR 404 - Page Not Found # ============================================================================ # # Page d'erreur 404 personnalisee avec un message amical et des bulles # decoratives rappelant l'univers Bubul. # # Symfony fournit automatiquement les variables: # - status_code : 404 # - status_text : "Not Found" # # ============================================================================ # COMPOSITION # ============================================================================ # # - _atoms/logo/logo-with-text.html.twig # - _atoms/icon/icon.html.twig # - _atoms/button/button.html.twig # # ============================================================================ #} {% extends 'base.html.twig' %} {% block title %}Page introuvable - Bubul{% endblock %} {% block meta_description %}La page que vous recherchez n'existe pas ou a ete deplacee.{% endblock %} {# Une page d'erreur republie l'URL demandee dans canonical/og:url/twitter:url (base.html.twig). Sous /p/, cette URL PORTE LE JETON de partage : la laisser heriter du « index, follow » par defaut de base.html.twig reviendrait a inviter les moteurs a indexer un lien prive. L'en-tete X-Robots-Tag pose par PublicShareResponseListener ne couvre que le corps du dispositif ; ce bloc couvre TOUTES les URL reflechies, quelle que soit la route. #} {% block meta_robots %}noindex, nofollow{% endblock %} {% block show_sidebar %}{{ app.user ? 'true' : 'false' }}{% endblock %} {% block body %}
{# ================================================================ Decorative floating bubbles (brand touch) ================================================================ #} {% if not app.user %} {% endif %} {# Logo (non-authenticated users only) #} {% if not app.user %}
{% include '_atoms/logo/logo-with-text.html.twig' with { size: 'lg', showBadge: false } only %}
{% endif %} {# Card #}
{# Error code in primary blue #}
404
{# Title #}

Page introuvable

{# Description #}

Oups ! La page que vous recherchez semble avoir disparu dans une bulle. Elle a peut-etre ete deplacee ou n'existe plus.

{# Actions #}
{% if app.user %} {% include '_atoms/button/button.html.twig' with { label: 'Retour au tableau de bord', href: path('app_dashboard'), variant: 'primary', size: 'lg', icon: 'home-smile', iconPosition: 'left', width: 'full' } only %} {% include '_atoms/button/button.html.twig' with { label: 'Page precedente', href: 'javascript:history.back()', variant: 'ghost', size: 'md', icon: 'arrow-left', iconPosition: 'left', width: 'full' } only %} {% else %} {% include '_atoms/button/button.html.twig' with { label: 'Retour a l\'accueil', href: path('app_landing'), variant: 'primary', size: 'lg', icon: 'home', iconPosition: 'left', width: 'full' } only %} {% include '_atoms/button/button.html.twig' with { label: 'Page precedente', href: 'javascript:history.back()', variant: 'ghost', size: 'md', icon: 'arrow-left', iconPosition: 'left', width: 'full' } only %} {% endif %}
{# Footer hint #}

Erreur 404 · Page introuvable

{% endblock %}